Template:Char

From Edge of Darkness Wiki

Char
Jump to: navigation, search
Line 68: Line 68:
|Yes=height: 200px; |}}" >
|Yes=height: 200px; |}}" >
<tr style="vertical-align: top;">
<tr style="vertical-align: top;">
-
<td style="width: 10%; {{#switch: {{{pic2|}}}
+
<td style="">{{#switch: {{#external_value: {{{threadid|}}}venue}}  
-
|Yes= width: auto !important;
+
-
|}}">{{#switch: {{#external_value: {{{threadid|}}}venue}}  
+
|Vampire={{#switch: {{#external_value: {{{threadid|}}}mask}}
|Vampire={{#switch: {{#external_value: {{{threadid|}}}mask}}
|Yes={{#set:Blood Potency=Obfuscated}}
|Yes={{#set:Blood Potency=Obfuscated}}
Line 179: Line 177:
</tr>
</tr>
<tr>
<tr>
-
<td style="width: 10%; {{#switch: {{{pic2|}}}
+
<td style="">
-
|Yes= width: auto !important;
+
-
|}}">
+
</td>
</td>
<td colspan="2" style="width: 100%; background: linear-gradient(to right, rgba(255,0,0,0), rgba(0,0,0,.9), rgba(255,0,0,0));">
<td colspan="2" style="width: 100%; background: linear-gradient(to right, rgba(255,0,0,0), rgba(0,0,0,.9), rgba(255,0,0,0));">

Revision as of 16:43, 26 January 2017

[edit] [purge] Template documentation

This is the new character template that pulls information from the character database rather than being inputted manually or scraping minisheets.

It requires the character sheet number, and support flags for Avatar (Face Claim), Quote and pic2 (for Werewolves and Changelings). Three optional 'boxes' can be displayed. It should be used at the very top of the page in the following format:

{{Char
|threadid = 23
|Avatar = Gavin Rossdale
|pic2 = No
|box1 = foo
|box2 = bar
|box3 = foobar
|Quote = Lorna, smile upon your least favorite but best looking son tonight...
}}

Pages using this template should 'close' the page with the appropriate venue footer.

Example of options:

Template Char 1.jpg

Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox