Template:App: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1:
<includeonly>[[Category:Depreciated template - App]]</includeonly>
<includeonly><div style="text-align:center">
{| style="width:50%"
Line 10 ⟶ 11:
| 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-occupationsconsumables" style="padding:0 1em;{{#ifexpr:{{#if:{{{occupationsconsumables|}}}|1|0}} or {{#if:{{{c-occupationsconsumables|}}}|1|0}} or {{#if:{{{l-occupationsconsumables|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{occupationsconsumables|}}}|1|0}} or {{#if:{{{c-occupationsconsumables|}}}|1|0}} or {{#if:{{{l-occupationsconsumables|}}}|1|0}}|[[#app_occupationsapp_consumables|OccupationsConsumables]]|OccupationsConsumables}}
| 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:{{{vehiclestitles|}}}|1|0}} or {{#if:{{{c-vehiclestitles|}}}|1|0}} or {{#if:{{{l-vehiclestitles|}}}|1|0}}||}}" | {{#ifexpr:{{#if:{{{vehiclestitles|}}}|1|0}} or {{#if:{{{c-vehiclestitles|}}}|1|0}} or {{#if:{{{l-vehiclestitles|}}}|1|0}}|[[#app_vehiclesapp_titles|VehiclesTitles]]|VehiclesTitles}}
| 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|OrganizationsGroups]]|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}}
|}
|}
<div class="hidable-content" style="clear:both; text-align:left">
<p name="app_characters" id="app_characters">{{H3|Characters}}</p>
{| id="appearancesSection" style="width:100%" |
{{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}} or {{#if:{{{c-characters|}}}|1|0}} or {{#if:{{{l-characters|}}}|1|0}}|
<p name="app_characters" id="app_characters">'''Characters'''</p>
|}}{{#ifexpr:{{#if:{{{characters|}}}|{{#if:{{{dramatis personae|}}}|1|{{#if:{{{other characters|}}}|1|{{#if:{{{c-characters|}}}|1|{{#if:{{{l-characters|}}}|1|0}}}}}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|characters=</nowiki></code> field if you use <code><nowiki>|dramatis personae=</nowiki></code> or <code><nowiki>|other characters=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{characters|}}}|
{{{!}} class="app-body"
{{!}}
{{{characters|}}}
{{!}}}
|{{#if:{{{c-characters|}}}{{{l-characters|}}}|
{{#if:{{{c-characters|}}}|
<p name="app_canon_characters" id="app_canon_characters" style="font-weight:bold">Canon characters</p>
{{{!}} class="app-body"
{{!}}
{{{c-characters|}}}
{{!}}}
|}}{{#if:{{{l-characters|}}}|
<p name="app_legends_characters" id="app_legends_characters" style="font-weight:bold">Legends characters</p>
{{{!}} class="app-body"
{{!}}
{{{l-characters|}}}
{{!}}}
|}}|{{#if:{{{dramatis personae|}}}|
<p name="app_dramatis_personae" id="app_dramatis_personae" style="font-weight:bold">Dramatis personae</p>
{{{!}} class="app-body"
{{!}}
{{{dramatis personae|}}}
{{!}}}
|}}
{{#if:{{{other characters|}}}|
<p name="app_other_characters" id="app_other_characters" style="font-weight:bold">Other characters</p>
{{{!}} class="app-body"
{{!}}
{{{other characters|}}}
{{!}}}
|}}}}}}{{#ifexpr:{{#if:{{{places|}}}|1|0}} or {{#if:{{{c-places|}}}|1|0}} or {{#if:{{{l-places|}}}|1|0}}|
<p name="app_places" id="app_places">'''Places'''</p>
|}}{{#ifexpr:{{#if:{{{places|}}}|{{#if:{{{c-places|}}}|1|{{#if:{{{l-places|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|places=</nowiki></code> field if you use <code><nowiki>|c-places=</nowiki></code> or <code><nowiki>|l-places=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{places|}}}|
{{{!}} class="app-body"
{{!}}
{{{places|}}}
{{!}}}
|{{#if:{{{c-places|}}}|
<p name="app_canon_places" id="app_canon_places" style="font-weight:bold">Canon places</p>
{{{!}} class="app-body"
{{!}}
{{{c-places|}}}
{{!}}}
|}}{{#if:{{{l-places|}}}|
<p name="app_legends_places" id="app_legends_places" style="font-weight:bold">Legends places</p>
{{{!}} class="app-body"
{{!}}
{{{l-places|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{objects|}}}|1|0}} or {{#if:{{{c-objects|}}}|1|0}} or {{#if:{{{l-objects|}}}|1|0}}|
<p name="app_objects" id="app_objects">'''Objects'''</p>
|}}{{#ifexpr:{{#if:{{{objects|}}}|{{#if:{{{c-objects|}}}|1|{{#if:{{{l-objects|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|objects=</nowiki></code> field if you use <code><nowiki>|c-objects=</nowiki></code> or <code><nowiki>|l-objects=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{objects|}}}|
{{{!}} class="app-body"
{{!}}
{{{objects|}}}
{{!}}}
|{{#if:{{{c-objects|}}}|
<p name="app_canon_objects" id="app_canon_objects" style="font-weight:bold">Canon objects</p>
{{{!}} class="app-body"
{{!}}
{{{c-objects|}}}
{{!}}}
|}}{{#if:{{{l-objects|}}}|
<p name="app_legends_objects" id="app_legends_objects" style="font-weight:bold">Legends objects</p>
{{{!}} class="app-body"
{{!}}
{{{l-objects|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{events|}}}|1|0}} or {{#if:{{{c-events|}}}|1|0}} or {{#if:{{{l-events|}}}|1|0}}|
<p name="app_events" id="app_events">'''Events'''</p>
|}}{{#ifexpr:{{#if:{{{events|}}}|{{#if:{{{c-events|}}}|1|{{#if:{{{l-events|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|events=</nowiki></code> field if you use <code><nowiki>|c-events=</nowiki></code> or <code><nowiki>|l-events=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{events|}}}|
{{{!}} class="app-body"
{{!}}
{{{events|}}}
{{!}}}
|{{#if:{{{c-events|}}}|
<p name="app_canon_events" id="app_canon_events" style="font-weight:bold">Canon events</p>
{{{!}} class="app-body"
{{!}}
{{{c-events|}}}
{{!}}}
|}}{{#if:{{{l-events|}}}|
<p name="app_legends_events" id="app_legends_events" style="font-weight:bold">Legends events</p>
{{{!}} class="app-body"
{{!}}
{{{l-events|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{species|}}}|1|0}} or {{#if:{{{c-species|}}}|1|0}} or {{#if:{{{l-species|}}}|1|0}}|
<p name="app_species" id="app_species">'''Species'''</p>
|}}{{#ifexpr:{{#if:{{{species|}}}|{{#if:{{{c-species|}}}|1|{{#if:{{{l-species|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|species=</nowiki></code> field if you use <code><nowiki>|c-species=</nowiki></code> or <code><nowiki>|l-species=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{species|}}}|
{{{!}} class="app-body"
{{!}}
{{{species|}}}
{{!}}}
|{{#if:{{{c-species|}}}|
<p name="app_canon_species" id="app_canon_species" style="font-weight:bold">Canon species</p>
{{{!}} class="app-body"
{{!}}
{{{c-species|}}}
{{!}}}
|}}{{#if:{{{l-species|}}}|
<p name="app_legends_species" id="app_legends_species" style="font-weight:bold">Legends species</p>
{{{!}} class="app-body"
{{!}}
{{{l-species|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{consumables|}}}|1|0}} or {{#if:{{{c-consumables|}}}|1|0}} or {{#if:{{{l-consumables|}}}|1|0}}|
<p name="app_consumables" id="app_consumables">'''Consumables'''</p>
|}}{{#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>|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"
{{!}}
{{{consumables|}}}
{{!}}}
|{{#if:{{{c-consumables|}}}|
<p name="app_canon_consumables" id="app_canon_consumables" style="font-weight:bold">Canon consumables and titles</p>
{{{!}} class="app-body"
{{!}}
{{{c-consumables|}}}
{{!}}}
|}}{{#if:{{{l-consumables|}}}|
<p name="app_legends_objects" id="app_legends_consumables" style="font-weight:bold">Legends consumables and titles</p>
{{{!}} class="app-body"
{{!}}
{{{l-consumables|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{abilities|}}}|1|0}} or {{#if:{{{c-abilities|}}}|1|0}} or {{#if:{{{l-abilities|}}}|1|0}}|
<p name="app_abilities" id="app_abilities">'''Abilities'''</p>
|}}{{#ifexpr:{{#if:{{{abilities|}}}|{{#if:{{{c-abilities|}}}|1|{{#if:{{{l-abilities|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|abilities=</nowiki></code> field if you use <code><nowiki>|c-abilities=</nowiki></code> or <code><nowiki>|l-abilities=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{abilities|}}}|
{{{!}} class="app-body"
{{!}}
{{{abilities|}}}
{{!}}}
|{{#if:{{{c-abilities|}}}|
<p name="app_canon_abilities" id="app_canon_abilities" style="font-weight:bold">Canon abilities</p>
{{{!}} class="app-body"
{{!}}
{{{c-abilities|}}}
{{!}}}
|}}{{#if:{{{l-abilities|}}}|
<p name="app_legends_abilities" id="app_legends_abilities" style="font-weight:bold">Legends abilities</p>
{{{!}} class="app-body"
{{!}}
{{{l-abilities|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{titles|}}}|1|0}} or {{#if:{{{c-titles|}}}|1|0}} or {{#if:{{{l-titles|}}}|1|0}}|
<p name="app_titles" id="app_titles">'''Titles'''</p>
|}}{{#ifexpr:{{#if:{{{titles|}}}|{{#if:{{{c-titles|}}}|1|{{#if:{{{l-titles|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|titles=</nowiki></code> field if you use <code><nowiki>|c-titles=</nowiki></code> or <code><nowiki>|l-titles=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{titles|}}}|
{{{!}} class="app-body"
{{!}}
{{{titles|}}}
{{!}}}
|{{#if:{{{c-titles|}}}|
<p name="app_canon_titles" id="app_canon_titles" style="font-weight:bold">Canon titles</p>
{{{!}} class="app-body"
{{!}}
{{{c-titles|}}}
{{!}}}
|}}{{#if:{{{l-titles|}}}|
<p name="app_legends_titles" id="app_legends_titles" style="font-weight:bold">Legends titles</p>
{{{!}} class="app-body"
{{!}}
{{{l-titles|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{organizations|}}}|1|0}} or {{#if:{{{c-organizations|}}}|1|0}} or {{#if:{{{l-organizations|}}}|1|0}}|
<p name="app_organizations" id="app_organizations">'''Organizations'''</p>
|}}{{#ifexpr:{{#if:{{{organizations|}}}|{{#if:{{{c-organizations|}}}|1|{{#if:{{{l-organizations|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|organizations=</nowiki></code> field if you use <code><nowiki>|c-organizations=</nowiki></code> or <code><nowiki>|l-organizations=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{organizations|}}}|
{{{!}} class="app-body"
{{!}}
{{{organizations|}}}
{{!}}}
|{{#if:{{{c-organizations|}}}|
<p name="app_canon_organizations" id="app_canon_organizations" style="font-weight:bold">Canon organizations</p>
{{{!}} class="app-body"
{{!}}
{{{c-organizations|}}}
{{!}}}
|}}{{#if:{{{l-organizations|}}}|
<p name="app_legends_organizations" id="app_legends_organizations" style="font-weight:bold">Legends organizations</p>
{{{!}} class="app-body"
{{!}}
{{{l-organizations|}}}
{{!}}}
|}}}}{{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}} or {{#if:{{{c-miscellanea|}}}|1|0}} or {{#if:{{{l-miscellanea|}}}|1|0}}|
<p name="app_miscellanea" id="app_miscellanea">'''Miscellanea'''</p>
|}}{{#ifexpr:{{#if:{{{miscellanea|}}}|{{#if:{{{c-miscellanea|}}}|1|{{#if:{{{l-miscellanea|}}}|1|0}}}}|0}}|
<p style="color:#900">'''Warning''': This template is being incorrectly used. You may not use the <code><nowiki>|miscellanea=</nowiki></code> field if you use <code><nowiki>|c-miscellanea=</nowiki></code> or <code><nowiki>|l-miscellanea=</nowiki></code>. Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page] and correct the template's usage.</p>|}}{{#if:{{{miscellanea|}}}|
{{{!}} class="app-body"
{{!}}
{{{miscellanea|}}}
{{!}}}
|{{#if:{{{c-miscellanea|}}}|
<p name="app_canon_miscellanea" id="app_canon_miscellanea" style="font-weight:bold">Canon miscellanea</p>
{{{!}} class="app-body"
{{!}}
{{{c-miscellanea|}}}
{{!}}}
|}}{{#if:{{{l-miscellanea|}}}|
<p name="app_legends_miscellanea" id="app_legends_miscellanea" style="font-weight:bold">Legends miscellanea</p>
{{{!}} class="app-body"
{{!}}
{{{l-miscellanea|}}}
{{!}}}
|}}}}
|}
</div></div>{{PreloadCat}}</includeonly><noinclude>{{Eras|sprot}}
This template is based off the same template on Wookiepedia.
 
==Usage==
*It is recommended that you leave a space between the parameters, to allow for better legibility of long lists and distinguishing between different sections.
*To add multiple columns to a section, add <code><nowiki>{{!}}</nowiki></code> on a line by itself where you want the column break to be.
*For sources with an official "Dramatis personae," use <code><nowiki>|dramatis personae=</nowiki></code> and <code><nowiki>|other characters=</nowiki></code> instead of <code><nowiki>|characters=</nowiki></code>. You may not use <code><nowiki>|dramatis personae=</nowiki></code> or <code><nowiki>|other characters=</nowiki></code> if you are already using <code><nowiki>|characters=</nowiki></code>.
 
*'''All fields now have canon-legends functionality. For sources that exist in both Legends and canon, use the parameters "l-fieldname" and "c-fieldname" to separate the appearances from the two continuities.'''
 
<pre style="width:45%; float:left">
==Appearances==
{{App
|characters =
|places =
|objects =
|events =
|species =
|consumables =
|abilities =
|titles =
|organizations =
|miscellanea =
}}
</pre>
<pre style="width:45%; float:right">
==Appearances==
{{App
|dramatis personae=
|other characters=
|places=
|objects=
|events=
|species=
|consumables=
|abilities=
|titles=
|organizations=
|miscellanea=
}}
</pre>
{{Clear}}
 
==Appearances==
{{App
|characters =
* {{FIM|Twilight Sparkle}}
* {{FIM|Spike}}
* [[Sunset Shimmer]]
* [[Scribble Dee]]
* [[Brawly Beats]]
* [[Micro Chips]]
* [[Godzilla]]
* [[Optimus Prime]]
* {{FIM|Daring Do}}
|places =
* [[Equestria]]
** [[Ponyville]]
*** [[Marigold Lake]]
*** [[Quill's & Sofa]]
*** [[Carousel Boutique]]
*** [[Sugarcube Corner]]
*** [[Golden Oak Library]]
** [[Sire's Hollow]]
*** [[Glimmer residence]]
* [[Dragon Lands]]
** [[Flamecano]]
 
|objects =
{{Blue|Magical objects}}
* [[Bloodstone Scepter]]
* [[Elements of Harmony]]
* [[Geodes]]
 
{{Blue|Generic objects}}
* [[Rock]]
* [[Letter]]
* [[Quill]]
 
{{Blue|Consumables}}
* [[Cheeseburger]]
* [[New! Colt]]
* [[Honey Dew]]
 
|events =
* [[Changeling wars]]
** [[Invasion of Canterlot]]
** [[Sacking of Wuvy-Dovey Smoochy Land]]
** [[Invasion of Ponyville]]
** [[Battle of The Secretariat Comet]]
 
|species =
* {{FIM|Pony}}
** {{FIM|Earth Pony}}
** {{FIM|Unicorn}}
** {{FIM|Pegasus}}
** {{FIM|Alicorn}}
* {{FIM|Dragon}}
* [[Bird]]
** [[Owl]]
** [[Blue Jay]]
** [[Phoenix]]
 
|consumables =
* [[Librarian]]
* [[Princess]]
* [[Band mate]]
* [[Guitarist]]
* [[Singer]]
* [[Cellist]]
* [[Actor]]
* [[Comedian]]
 
|abilities =
* [[Magic]]
** [[Pony magic]]
*** [[Unicorn magic]]
**** [[Forcefield]]
**** [[Teleportation]]
** [[Pegasus magic]]
*** [[Flight]]
 
|organizations =
* [[Mane Six]]
* [[Background Six]]
* [[Young Six]]
* [[The Rainbooms]]
* [[The Rainboms But Better]]
 
|titles =
* ''[[Lux Deluxe]]''
 
|miscellanea =
* [[Country]]
* [[Flower]]
* [[Star]]
}}
[[Category:Appearance templates]]</noinclude>