Template:User/PC
From Edge of Darkness Wiki
User/PC
| (17 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | {{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin: | + | {{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin-bottom: 10px; width: 100%; position: relative;"> |
| - | {| cellspacing="" style="width: 100%; background: | + | <div style="overflow: hidden; height: 60px; border: 1px solid {{#switch:{{{2}}} |
| + | | Changeling = #006400 | ||
| + | | Geist = #26466D | ||
| + | | Hunter = #2F4F4F | ||
| + | | Mage = #05c1ea | ||
| + | | Promethean = #7A7ACC | ||
| + | | Vampire = #600000 | ||
| + | | Werewolf = #473224 | ||
| + | |dimgrey}}; position: relative;"><div style="margin-top: -60px;">[[File:{{{1}}}.jpg|210px|link={{{1}}}|{{{1}}}]]</div></div> | ||
| + | <div style="margin-top: -61px; | ||
| + | z-index: 2; | ||
| + | position: relative; | ||
| + | height: 60px; | ||
| + | overflow: hidden; | ||
| + | width: 200px; | ||
| + | margin-left: 1px;"> | ||
| + | {| cellspacing="0" 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: 61px; width: 60px; margin-right: -1px; margin-top: -1px; overflow: hidden; border-left: 1px solid {{#switch:{{{2}}} |
| Changeling = #006400 | | Changeling = #006400 | ||
| Geist = #26466D | | Geist = #26466D | ||
| Line 10: | Line 26: | ||
| Vampire = #600000 | | Vampire = #600000 | ||
| Werewolf = #473224 | | Werewolf = #473224 | ||
| - | |dimgrey}} | + | |dimgrey}}; ">[[File:{{{1}}}.jpg|60px|link={{{1}}}|{{{1}}}]]</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> | ||
Latest revision as of 03:21, 30 January 2017
[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 + |