Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Appearances: Difference between revisions
Jump to navigation
Jump to search
imported>VilkaTheWolf No edit summary |
imported>VilkaTheWolf No edit summary |
||
| Line 4: | Line 4: | ||
{| id="appearancesTOC" style="padding:5px; border:1px solid #AAAAAA; -moz-border-radius:6px; margin:0 auto 4px auto" | {| id="appearancesTOC" style="padding:5px; border:1px solid #AAAAAA; -moz-border-radius:6px; margin:0 auto 4px auto" | ||
| style="padding:0 1em;{{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}|[[#app_characters{{!}}Characters]]|Characters}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}|[[#app_characters{{!}}Characters]]|Characters}} | ||
| style="padding:0 1em;{{#if:{{{creatures|}}}||color:gray; font-style:italic;}}" | {{#if:{{{creatures|}}}|[[#app_creatures|Creatures]]|Creatures}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{creatures|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{creatures|}}}|1|0}}|[[#app_creatures|Creatures]]|Creatures}} | ||
| style="padding:0 1em;{{#if:{{{events|}}}||color:gray; font-style:italic;}}" | {{#if:{{{events|}}}|[[#app_events|Events]]|Events}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{events|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{events|}}}|1|0}}|[[#app_events|Events]]|Events}} | ||
| style="padding:0 1em;{{#if:{{{locations|}}}||color:gray; font-style:italic;}}" | {{#if:{{{locations|}}}|[[#app_locations|Locations]]|Locations}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{locations|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{locations|}}}|1|0}}|[[#app_locations|Locations]]|Locations}} | ||
|- | |- | ||
| style="padding:0 1em;{{#if:{{{organizations|}}}||color:gray; font-style:italic;}}" | {{#if:{{{organizations|}}}|[[#app_organizations|Organizations and titles]]|Organizations and titles}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{organizations|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{organizations|}}}|1|0}}|[[#app_organizations|Organizations and titles]]|Organizations and titles}} | ||
| style="padding:0 1em;{{#if:{{{species|}}}||color:gray; font-style:italic;}}" | {{#if:{{{species|}}}|[[#app_species|Sapient species]]|Sapient species}} | | style="padding:0 1em;{{#ifexpr:{{#if:{{{species|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{species|}}}|1|0}} or|[[#app_species|Sapient species]]|Sapient species}} | ||
| style="padding:0 1em;{{# | | style="padding:0 1em;{{#ifexpr:{{#if:{{{technology|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{technology|}}}|1|0}}|[[#app_technology|Weapons and technology]]|Weapons and technology}} | ||
| style="padding:0 1em;{{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}}||color:gray; font-style:italic;}}" | {{#ifexpr:{{#if:{{{miscellanea|}}}|1|0}}|[[#app_miscellanea|Miscellanea]]|Miscellanea}} | |||
| style="padding:0 1em;{{#if:{{{miscellanea|}}}||color:gray; font-style:italic;}}" | {{#if:{{{miscellanea|}}}|[[#app_miscellanea|Miscellanea]]|Miscellanea}} | |} | ||
|} | |} | ||
<div class="hidable-content" style="clear:both; text-align:left"> | <div class="hidable-content" style="clear:both; text-align:left"> | ||
| Line 18: | Line 18: | ||
{{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}| | {{#ifexpr:{{#if:{{{characters|}}}|1|0}} or {{#if:{{{dramatis personae|}}}|1|0}} or {{#if:{{{other characters|}}}|1|0}}| | ||
<p name="app_characters" id="app_characters" style="font-weight:bold; font-size:larger">Characters</p> | <p name="app_characters" id="app_characters" style="font-weight:bold; font-size:larger">Characters</p> | ||
|}} | |}}{{#ifexpr:{{#if:{{{characters|}}}|{{#if:{{{dramatis personae|}}}|1|{{#if:{{{other characters|}}}|1|0}}}}|0}}| | ||
{{#ifexpr:{{#if:{{{characters|}}}|{{#if:{{{dramatis personae|}}}|1|{{#if:{{{other 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|}}}| | ||
<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="appearances" | {{{!}} class="appearances" | ||
{{!}} | {{!}} | ||
| Line 80: | Line 78: | ||
{{!}}}|}} | {{!}}}|}} | ||
|} | |} | ||
</includeonly | </includeonly> | ||
==Usage== | ==Usage== | ||
Revision as of 07:28, 2 December 2019
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
{{!}}on a line by itself where you want the column break to be. - For sources with an official "Dramatis personae," use
|dramatis personae=and|other characters=instead of|characters=. You may not use|dramatis personae=or|other characters=if you are already using|characters=.
==Appearances==
{{Appearances
|characters=
|creatures=
|events=
|locations=
|organizations=
|species=
|vehicles=
|technology=
|miscellanea=
}}
==Appearances==
{{Appearances
|dramatis personae=
|other characters=
|creatures=
|events=
|locations=
|organizations=
|species=
|vehicles=
|technology=
|miscellanea=
}}
Appearances
By type
| Characters | Creatures | Events | Locations |
| Organizations and titles | Expression error: Missing operand for or. | Weapons and technology | Miscellanea |
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
{{!}}on a line by itself where you want the column break to be. - For sources with an official "Dramatis personae," use
|dramatis personae=and|other characters=instead of|characters=. You may not use|dramatis personae=or|other characters=if you are already using|characters=.
==Appearances==
{{Appearances
|characters=
|creatures=
|events=
|locations=
|organizations=
|species=
|vehicles=
|technology=
|miscellanea=
}}
==Appearances==
{{Appearances
|dramatis personae=
|other characters=
|creatures=
|events=
|locations=
|organizations=
|species=
|vehicles=
|technology=
|miscellanea=
}}
Appearances
Template loop detected: Template:Appearances</noinclude>