Template:Char
From Edge of Darkness Wiki
Char
m |
|||
(9 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
|data={{{threadid|}}}troupe=COALESCE(uf1.field263, uf2.field263), | |data={{{threadid|}}}troupe=COALESCE(uf1.field263, uf2.field263), | ||
{{{threadid|}}}threadid=characters.threadid, | {{{threadid|}}}threadid=characters.threadid, | ||
- | {{{threadid|}}}usertitle=COALESCE(u1.usertitle, u2.usertitle), | + | {{{threadid|}}}usertitle=COALESCE(u1.usertitle, u2.usertitle), |
+ | {{{threadid|}}}orgtitle=COALESCE(uf1.field298, uf2.field298), | ||
{{{threadid|}}}mask=COALESCE(uf1.field173, uf2.field173), | {{{threadid|}}}mask=COALESCE(uf1.field173, uf2.field173), | ||
- | {{{threadid|}}}cunning= | + | {{{threadid|}}}cunning=characters.statusf, |
- | {{{threadid|}}}glory= | + | {{{threadid|}}}glory=characters.statuso, |
- | {{{threadid|}}}honor= | + | {{{threadid|}}}honor=characters.rhonor, |
- | {{{threadid|}}}purity= | + | {{{threadid|}}}purity=characters.rpurity, |
- | {{{threadid|}}}wisdom= | + | {{{threadid|}}}wisdom=characters.rwisdom, |
- | {{{threadid|}}}statusvenue= | + | {{{threadid|}}}statusvenue=characters.statusv, |
- | {{{threadid|}}}statusorganization= | + | {{{threadid|}}}statusorganization=characters.statuso, |
- | {{{threadid|}}}statusfamily= | + | {{{threadid|}}}statusfamily=characters.statusf, |
{{{threadid|}}}lastpostid=COALESCE(u1.lastpostid, u2.lastpostid), | {{{threadid|}}}lastpostid=COALESCE(u1.lastpostid, u2.lastpostid), | ||
{{{threadid|}}}usergroupid=COALESCE(u1.usergroupid, u2.usergroupid), | {{{threadid|}}}usergroupid=COALESCE(u1.usergroupid, u2.usergroupid), | ||
Line 48: | Line 49: | ||
|PC or NPC=PC | |PC or NPC=PC | ||
|Lived In=Sacramento | |Lived In=Sacramento | ||
+ | |Secondary Picture={{{pic2|}}} | ||
|Character Status={{#external_value:{{{threadid|}}}status}} | |Character Status={{#external_value:{{{threadid|}}}status}} | ||
|Presence={{#external_value:{{{threadid|}}}presence}} | |Presence={{#external_value:{{{threadid|}}}presence}} | ||
Line 70: | Line 72: | ||
</div>|<div style="height: 30px; width: 200px; float: right; background: rgba(0,0,0,.5); text-align: center;"> | </div>|<div style="height: 30px; width: 200px; float: right; background: rgba(0,0,0,.5); text-align: center;"> | ||
<html><a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}mainid }}<html>"></html>Created By {{#external_value: {{{threadid|}}}mainname }}<html></a></html> | <html><a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}mainid }}<html>"></html>Created By {{#external_value: {{{threadid|}}}mainname }}<html></a></html> | ||
- | </div>}}{{TOC left}}{{#if: {{#external_value: {{{threadid|}}}ppic }} |<div style="width: 200px; margin-top: -20px | + | </div>}}{{TOC left}}{{#if: {{#external_value: {{{threadid|}}}ppic }} |<div style="width: 200px; float: right; margin-top: -20px;"><html> |
<a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}forumid }}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{#external_value: {{{threadid|}}}forumid }}<html>&type=profile" title="View Forum Profile Page" alt="View Forum Profile Page" style="width: 200px;" /></a> | <a href="http://nwod.org/forum/member.php?</html>{{#external_value: {{{threadid|}}}forumid }}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{#external_value: {{{threadid|}}}forumid }}<html>&type=profile" title="View Forum Profile Page" alt="View Forum Profile Page" style="width: 200px;" /></a> | ||
</html></div>|}} | </html></div>|}} | ||
Line 88: | Line 90: | ||
{{#if:{{{Quote|}}} | {{#if:{{{Quote|}}} | ||
|<div class="center font150 italic" style="">{{{Quote|}}}</div> | |<div class="center font150 italic" style="">{{{Quote|}}}</div> | ||
- | |<div class="center font150" style="">{{#external_value: {{{threadid|}}}usertitle}}</div> | + | |{{#if:{{#external_value: {{{threadid|}}}orgtitle}} |
+ | |<div class="center font150 italic" style="">{{#external_value: {{{threadid|}}}orgtitle}}</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 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> }} |
Latest revision as of 14:43, 12 July 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:
|