Template:User/PC
From Edge of Darkness Wiki
User/PC
| Line 9: | Line 9: | ||
| Werewolf = #473224 | | Werewolf = #473224 | ||
|dimgrey}}; position: relative;"><div style="margin-top: -60px;">[[File:{{{1}}}.jpg|210px|link={{{1}}}|{{{1}}}]]</div></div> | |dimgrey}}; position: relative;"><div style="margin-top: -60px;">[[File:{{{1}}}.jpg|210px|link={{{1}}}|{{{1}}}]]</div></div> | ||
| - | <div style="margin-top: -64px; | + | <div style="margin-top: -64px; z-index: 2; position: relative;"> |
| - | + | ||
| - | + | ||
{| cellspacing="" style="width: 100%; background: rgba(0,0,0,.5); text-align: center; white-space:nowrap;" | {| cellspacing="" style="width: 100%; background: rgba(0,0,0,.5); text-align: center; white-space:nowrap;" | ||
| style="width: 100%;" | [[{{{1}}}]]<br />({{{3}}}) | | style="width: 100%;" | [[{{{1}}}]]<br />({{{3}}}) | ||
| - | | style="" | <div style="height: | + | | style="" | <div style="height: 59px; width: 59px; overflow: hidden; border: 1px solid {{#switch:{{{2}}} |
| Changeling = #006400 | | Changeling = #006400 | ||
| Geist = #26466D | | Geist = #26466D | ||
| Line 22: | Line 20: | ||
| Vampire = #600000 | | Vampire = #600000 | ||
| Werewolf = #473224 | | Werewolf = #473224 | ||
| - | |dimgrey}}; ">[[File:{{{1}}}.jpg | + | |dimgrey}}; ">[[File:{{{1}}}.jpg|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:07, 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 + |