Template:App: Difference between revisions

From Equestripedia, the Archives of Equestria!
Content added Content deleted
mNo edit summary
No edit summary
Line 10: Line 10:
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{species|}}}|1|0}} or {{#if:{{{c-species|}}}|1|0}} or {{#if:{{{l-species|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{species|}}}|1|0}} or {{#if:{{{c-species|}}}|1|0}} or {{#if:{{{l-species|}}}|1|0}}|[[#app_species|Species]]|Species}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{species|}}}|1|0}} or {{#if:{{{c-species|}}}|1|0}} or {{#if:{{{l-species|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{species|}}}|1|0}} or {{#if:{{{c-species|}}}|1|0}} or {{#if:{{{l-species|}}}|1|0}}|[[#app_species|Species]]|Species}}
|-
|-
| class = "app-text-occupations" style="padding:0 1em;{{#ifexpr:{{#if:{{{occupations|}}}|1|0}} or {{#if:{{{c-occupations|}}}|1|0}} or {{#if:{{{l-occupations|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{occupations|}}}|1|0}} or {{#if:{{{c-occupations|}}}|1|0}} or {{#if:{{{l-occupations|}}}|1|0}}|[[#app_occupations|Occupations]]|Occupations}}
| class = "app-text-consumables" style="padding:0 1em;{{#ifexpr:{{#if:{{{consumables|}}}|1|0}} or {{#if:{{{c-consumables|}}}|1|0}} or {{#if:{{{l-consumables|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{consumables|}}}|1|0}} or {{#if:{{{c-consumables|}}}|1|0}} or {{#if:{{{l-consumables|}}}|1|0}}|[[#app_consumables|Consumables]]|Occupations}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}|[[#app_abilities|Abilities]]|Abilities}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}|[[#app_abilities|Abilities]]|Abilities}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{vehicles|}}}|1|0}} or {{#if:{{{c-vehicles|}}}|1|0}} or {{#if:{{{l-vehicles|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{vehicles|}}}|1|0}} or {{#if:{{{c-vehicles|}}}|1|0}} or {{#if:{{{l-vehicles|}}}|1|0}}|[[#app_vehicles|Vehicles]]|Vehicles}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{vehicles|}}}|1|0}} or {{#if:{{{c-vehicles|}}}|1|0}} or {{#if:{{{l-vehicles|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{vehicles|}}}|1|0}} or {{#if:{{{c-vehicles|}}}|1|0}} or {{#if:{{{l-vehicles|}}}|1|0}}|[[#app_vehicles|Vehicles]]|Vehicles}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{organizations|}}}|1|0}} or {{#if:{{{c-organizations|}}}|1|0}} or {{#if:{{{l-organizations|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{organizations|}}}|1|0}} or {{#if:{{{c-organizations|}}}|1|0}} or {{#if:{{{l-organizations|}}}|1|0}}|[[#app_organizations|Organizations]]|Organizations}}
| class = "app-text" style="padding:0 1em;{{#ifexpr:{{#if:{{{organizations|}}}|1|0}} or {{#if:{{{c-organizations|}}}|1|0}} or {{#if:{{{l-organizations|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{organizations|}}}|1|0}} or {{#if:{{{c-organizations|}}}|1|0}} or {{#if:{{{l-organizations|}}}|1|0}}|[[#app_organizations|Organizations and consumables]]|Organizations}}
| class = "app-text-misc" style="padding:0 1em;{{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}} or {{#if:{{{c-miscellanea|}}}|1|0}} or {{#if:{{{l-miscellanea|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}} or {{#if:{{{c-miscellanea|}}}|1|0}} or {{#if:{{{l-miscellanea|}}}|1|0}}|[[#app_miscellanea|Miscellanea]]|Miscellanea}}
| class = "app-text-misc" style="padding:0 1em;{{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}} or {{#if:{{{c-miscellanea|}}}|1|0}} or {{#if:{{{l-miscellanea|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}} or {{#if:{{{c-miscellanea|}}}|1|0}} or {{#if:{{{l-miscellanea|}}}|1|0}}|[[#app_miscellanea|Miscellanea]]|Miscellanea}}
|}
|}
Line 133: Line 133:
{{{l-species|}}}
{{{l-species|}}}
{{!}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{occupations|}}}|1|0}} or {{#if:{{{c-occupations|}}}|1|0}} or {{#if:{{{l-occupations|}}}|1|0}}|
|}}}}{{#ifexpr:{{#if:{{{consumables|}}}|1|0}} or {{#if:{{{c-consumables|}}}|1|0}} or {{#if:{{{l-consumables|}}}|1|0}}|
<p name="app_occupations" id="app_occupations">{{H3|Occupations}}</p>
<p name="app_consumables" id="app_consumables">{{H3|Occupations}}</p>
|}}{{#ifexpr:{{#if:{{{occupations|}}}|{{#if:{{{c-occupations|}}}|1|{{#if:{{{l-occupations|}}}|1|0}}}}|0}}|
|}}{{#ifexpr:{{#if:{{{consumables|}}}|{{#if:{{{c-consumables|}}}|1|{{#if:{{{l-consumables|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|occupations=</nowiki></code> field if you use <code><nowiki>|c-occupations=</nowiki></code> or <code><nowiki>|l-occupations=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{occupations|}}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|consumables=</nowiki></code> field if you use <code><nowiki>|c-consumables=</nowiki></code> or <code><nowiki>|l-consumables=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{consumables|}}}|
{{{!}} class="app-body"
{{{!}} class="app-body"
{{!}}
{{!}}
{{{occupations|}}}
{{{consumables|}}}
{{!}}}
{{!}}}
|{{#if:{{{c-occupations|}}}|
|{{#if:{{{c-consumables|}}}|
<p name="app_canon_occupations" id="app_canon_occupations" style="font-weight:bold">Canon occupations and titles</p>
<p name="app_canon_consumables" id="app_canon_consumables" style="font-weight:bold">Canon consumables and titles</p>
{{{!}} class="app-body"
{{{!}} class="app-body"
{{!}}
{{!}}
{{{c-occupations|}}}
{{{c-consumables|}}}
{{!}}}
{{!}}}
|}}{{#if:{{{l-occupations|}}}|
|}}{{#if:{{{l-consumables|}}}|
<p name="app_legends_objects" id="app_legends_occupations" style="font-weight:bold">Legends occupations and titles</p>
<p name="app_legends_objects" id="app_legends_consumables" style="font-weight:bold">Legends consumables and titles</p>
{{{!}} class="app-body"
{{{!}} class="app-body"
{{!}}
{{!}}
{{{l-occupations|}}}
{{{l-consumables|}}}
{{!}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}|
|}}}}{{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}|
Line 253: Line 253:
|events =
|events =
|species =
|species =
|occupations =
|consumables =
|abilities =
|abilities =
|vehicles =
|vehicles =
Line 269: Line 269:
|events=
|events=
|species=
|species=
|consumables=
|occupations=
|abilities=
|abilities=
|vehicles=
|vehicles=
Line 338: Line 338:
** [[Phoenix]]
** [[Phoenix]]


|occupations =
|consumables =
* [[Librarian]]
* [[Librarian]]
* [[Princess]]
* [[Princess]]