Template:Char
From Edge of Darkness Wiki
Char
| Line 42: | Line 42: | ||
|Player=User:{{#external_value:{{{threadid|}}}mainname}} | |Player=User:{{#external_value:{{{threadid|}}}mainname}} | ||
|{{#external_value:{{{threadid|}}}familylabel}}={{#external_value:{{{threadid|}}}family}} | |{{#external_value:{{{threadid|}}}familylabel}}={{#external_value:{{{threadid|}}}family}} | ||
| - | }}[[Category:{{#external_value:{{{threadid|}}}mainname}}]]{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Sacramento End={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastpost }}}} }} | }}{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Posted={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastpost }}}} }}|}}{{#if: {{#external_value: {{{threadid|}}}lastvisit }} |{{#set:Online={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastvisit }}}} }}|}}{{#if: {{#external_value: {{{threadid|}}}joindate }} |{{#set:Sacramento Start={{#time: Y-m-d|@{{#external_value:{{{threadid|}}}joindate}}}} }}|}}<div style="position: absolute; right: 0px; top: -25px;"> | + | }}[[Category:{{#external_value:{{{threadid|}}}mainname}}]]{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Sacramento End={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastpost }}}} }} | }}{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Posted={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastpost }}}} }}|}}{{#if: {{#external_value: {{{threadid|}}}lastvisit }} |{{#set:Online={{#time: Y-m-d|@{{#external_value: {{{threadid|}}}lastvisit }}}} }}|}}{{#if: {{#external_value: {{{threadid|}}}joindate }} |{{#set:Sacramento Start={{#time: Y-m-d|@{{#external_value:{{{threadid|}}}joindate}}}} }}|}}{{#switch: {{#external_value: {{{threadid|}}}venue}} |
| + | |Vampire={{#switch: {{#external_value: {{{threadid|}}}mask}} | ||
| + | |Yes={{#set:Blood Potency=Obfuscated}} | ||
| + | |No={{#set:Blood Potency={{#external_value: {{{threadid|}}}adv}}}} | ||
| + | }} | ||
| + | | | ||
| + | }}<div style="position: absolute; right: 0px; top: -25px;"> | ||
{{#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 src="http://nwod.org/forum/</html>{{{{{{threadid|}}}rankimage}}}<html>" /></a></html></div> }} | {{#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 src="http://nwod.org/forum/</html>{{{{{{threadid|}}}rankimage}}}<html>" /></a></html></div> }} | ||
</div><div class="{{#external_value: {{{threadid|}}}venue}}page chartempwrapper {{#external_value: {{{threadid|}}}venue}}back" style="min-width: 600px;"> | </div><div class="{{#external_value: {{{threadid|}}}venue}}page chartempwrapper {{#external_value: {{{threadid|}}}venue}}back" style="min-width: 600px;"> | ||
| Line 164: | Line 170: | ||
| | | | ||
}} | }} | ||
| - | <div style="padding-top:10px;" > | + | <div style="padding-top:10px;" ></includeonly><noinclude>{{documentation}}[[Category:Player Use Templates]]</noinclude> |
Revision as of 17:04, 24 January 2017
[edit] []
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.
- Template:Changeling Character
- Template:Mage Character
- Template:Vampire Character
- Template:Werewolf Character
Example of options:
| The above documentation is transcluded from Template:Char/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|
