Template:Char

From Edge of Darkness Wiki

Char
Jump to: navigation, search
Line 78: Line 78:
{{#if:{{{Quote|}}}
{{#if:{{{Quote|}}}
|<div class="center font150 italic" style="max-height: 45px; overflow: hidden;">{{{Quote|}}}</div>
|<div class="center font150 italic" style="max-height: 45px; overflow: hidden;">{{{Quote|}}}</div>
-
|<div class="center font150" style="max-height: 45px; overflow: hidden;">{{#external_value: {{{threadid|}}}usertitle}}</div>
+
|<div class="center font150" style="">{{#external_value: {{{threadid|}}}usertitle}}</div>
}}
}}
 +
<div style="text-align: center;">{{#for_external_table: <div style="display: inline; padding-left: 3px;" ><html><a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}forumid }}<html>&tab=myranks" title="</html>{{{{{{threadid|}}}rankname}}}<html>"><img class="char_rankimage" src="http://nwod.org/forum/</html>{{{{{{threadid|}}}rankimage}}}<html>" /></a></html></div> }}
 +
</div>
{{#switch: {{#external_value: {{{threadid|}}}venue}}
{{#switch: {{#external_value: {{{threadid|}}}venue}}
|Ensorcelled=
|Ensorcelled=
Line 181: Line 183:
</td>
</td>
<td style="width: 200px;">
<td style="width: 200px;">
-
</td>
 
-
</tr>
 
-
<tr>
 
-
<td style="">
 
-
</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));">
 
-
<div style="text-align: center;">{{#for_external_table: <div style="display: inline; padding-left: 3px;" ><html><a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}forumid }}<html>&tab=myranks" title="</html>{{{{{{threadid|}}}rankname}}}<html>"><img class="char_rankimage" src="http://nwod.org/forum/</html>{{{{{{threadid|}}}rankimage}}}<html>" /></a></html></div> }}
 
-
</div>
 
</td>
</td>
</tr>
</tr>

Revision as of 17:04, 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