Template:User/PC

From Edge of Darkness Wiki

User/PC
Jump to: navigation, search
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
{{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin: 1px; width: 100%; position: relative;">
+
{{clear}}<div class="wikipediauserbox" style="float:{{{float|left}}}; margin-bottom: 10px; width: 100%; position: relative;">
<div style="overflow: hidden; height: 60px; border: 1px solid {{#switch:{{{2}}}
<div style="overflow: hidden; height: 60px; border: 1px solid {{#switch:{{{2}}}
| Changeling    = #006400
| Changeling    = #006400
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: -63px; z-index: 2; position: relative;">
+
<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;"
{| 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: 1px 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

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