Template:User/PC

From Edge of Darkness Wiki

User/PC
Jump to: navigation, search
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
{{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin: 1px; width: 100%; ">
+
{{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin-bottom: 10px; width: 100%; position: relative;">
-
<div>[[File:{{{1}}}.jpg|right|60px|link={{{1}}}|{{{1}}}]]</div>
+
<div style="overflow: hidden; height: 60px; border: 1px solid {{#switch:{{{2}}}
-
{| cellspacing="" style="width: 100%; background: transparent; border-bottom: 1px solid dimgrey; text-align: center; white-space:nowrap;"
+
| 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: 60px; width: 60px; overflow: hidden; border: 2px solid {{#switch:{{{2}}}
+
| 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 11: Line 26:
| Vampire    = #600000
| Vampire    = #600000
| Werewolf    = #473224
| Werewolf    = #473224
-
|dimgrey}}; border-radius: 50%;">[[File:{{{1}}}.jpg|right|60px|link={{{1}}}|{{{1}}}]]</div>
+
|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

[[File:{{{1}}}.jpg|210px|link={{{1}}}|{{{1}}}]]
[[{{{1}}}]]
({{{3}}})
[[File:{{{1}}}.jpg|60px|link={{{1}}}|{{{1}}}]]
[edit] [purge] 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:

Ishani Naetesh
Ishani Naetesh
({{{3}}})
Ishani Naetesh

However, this allows us to create formatted results with queries:

{{#ask: [[Player::Frost]]
| link=none
| format=template
| template=User/PC
}}

Which will display:

Facts about User/PCRDF feed
Has Characterwarning.png"{{{1}}}" cannot be used as a page name in this wiki. , and Ishani Naetesh  +
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox