Template:User/PC
From Edge of Darkness Wiki
User/PC
| Line 14: | Line 14: | ||
{| cellspacing="" style="width: 100%; background: transparent; text-align: center; white-space:nowrap;" | {| cellspacing="" style="width: 100%; background: transparent; text-align: center; white-space:nowrap;" | ||
| style="width: 100%;" | [[{{{1}}}]]<br />({{{3}}}) | | style="width: 100%;" | [[{{{1}}}]]<br />({{{3}}}) | ||
| - | | style="" | <div style="height: 60px; width: 60px; overflow: hidden; border: | + | | style="" | <div style="height: 60px; width: 60px; overflow: hidden; border: 1px solid {{#switch:{{{2}}} |
| Changeling = #006400 | | Changeling = #006400 | ||
| Geist = #26466D | | Geist = #26466D | ||
| Line 22: | Line 22: | ||
| Vampire = #600000 | | Vampire = #600000 | ||
| Werewolf = #473224 | | Werewolf = #473224 | ||
| - | |dimgrey}} | + | |dimgrey}}; ">[[File:{{{1}}}.jpg|right|60px|link={{{1}}}|{{{1}}}]]</div> |
|} | |} | ||
</div>{{#set:Has Character={{{1}}}}}</div> | </div>{{#set:Has Character={{{1}}}}}</div> | ||
<noinclude>{{documentation}}[[Category:Player Use Templates|{{PAGENAME}}]]</noinclude> | <noinclude>{{documentation}}[[Category:Player Use Templates|{{PAGENAME}}]]</noinclude> | ||
Revision as of 02:01, 30 January 2017
| [[{{{1}}}]] ({{{3}}}) |
[edit] []
Template documentation
This template will be used to format the character list results in Template:User.
{{User/PC|Ishani Naetesh|Vampire}}
In the base format, this produces:
However, this allows us to create formatted results with queries:
{{#ask: [[Player::Frost]]
| link=none
| format=template
| template=User/PC
}}
Which will display:
| The above documentation is transcluded from Template:User/PC/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|
Facts about User/PCRDF feed
| Has Character | warning.png"{{{1}}}" cannot be used as a page name in this wiki. , and Ishani Naetesh + |