Template:Char

From Edge of Darkness Wiki

Char
Jump to: navigation, search
m
 
(35 intermediate revisions not shown)
Line 2: Line 2:
|from=characters LEFT JOIN user u1 ON u1.userid = characters.char_userid LEFT JOIN user u2 ON u2.userid = characters.userid LEFT JOIN userfield uf1 ON uf1.userid = u1.userid LEFT JOIN userfield uf2 ON uf2.userid = u2.userid LEFT JOIN customavatar ON customavatar.userid = u1.userid LEFT JOIN customprofilepic ON customprofilepic.userid = u1.userid
|from=characters LEFT JOIN user u1 ON u1.userid = characters.char_userid LEFT JOIN user u2 ON u2.userid = characters.userid LEFT JOIN userfield uf1 ON uf1.userid = u1.userid LEFT JOIN userfield uf2 ON uf2.userid = u2.userid LEFT JOIN customavatar ON customavatar.userid = u1.userid LEFT JOIN customprofilepic ON customprofilepic.userid = u1.userid
|where=characters.threadid='{{{threadid|}}}'
|where=characters.threadid='{{{threadid|}}}'
-
|data={{{threadid|}}}troupe=COALESCE(uf1.field263, uf2.field263), {{{threadid|}}}threadid=characters.threadid, {{{threadid|}}}usertitle=COALESCE(u1.usertitle, u2.usertitle),
+
|data={{{threadid|}}}troupe=COALESCE(uf1.field263, uf2.field263),  
 +
{{{threadid|}}}threadid=characters.threadid,  
 +
{{{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=COALESCE(uf1.field168, uf2.field168),  
+
{{{threadid|}}}cunning=characters.statusf,  
-
{{{threadid|}}}glory=COALESCE(uf1.field169, uf2.field169),  
+
{{{threadid|}}}glory=characters.statuso,  
-
{{{threadid|}}}honor=COALESCE(uf1.field170, uf2.field170),  
+
{{{threadid|}}}honor=characters.rhonor,  
-
{{{threadid|}}}purity=COALESCE(uf1.field171, uf2.field171),  
+
{{{threadid|}}}purity=characters.rpurity,  
-
{{{threadid|}}}wisdom=COALESCE(uf1.field172, uf2.field172),
+
{{{threadid|}}}wisdom=characters.rwisdom,
-
{{{threadid|}}}statusvenue=COALESCE(uf1.field165, uf2.field165),  
+
{{{threadid|}}}statusvenue=characters.statusv,  
-
{{{threadid|}}}statusorganization=COALESCE(uf1.field166, uf2.field166),  
+
{{{threadid|}}}statusorganization=characters.statuso,  
-
{{{threadid|}}}statusfamily=COALESCE(uf1.field167, uf2.field167),  
+
{{{threadid|}}}statusfamily=characters.statusf,  
-
{{{threadid|}}}lastpostid=COALESCE(u1.lastpostid, u2.lastpostid), {{{threadid|}}}usergroupid=COALESCE(u1.usergroupid, u2.usergroupid), {{{threadid|}}}posts=COALESCE(u1.posts, u2.posts),{{{threadid|}}}venue=Venue,  
+
{{{threadid|}}}lastpostid=COALESCE(u1.lastpostid, u2.lastpostid),  
 +
{{{threadid|}}}usergroupid=COALESCE(u1.usergroupid, u2.usergroupid),  
 +
{{{threadid|}}}posts=COALESCE(u1.posts, u2.posts),
 +
{{{threadid|}}}venue=Venue,  
{{{threadid|}}}family=IF(Family IS NULL OR Family = '', 'None', Family),
{{{threadid|}}}family=IF(Family IS NULL OR Family = '', 'None', Family),
{{{threadid|}}}organization=IF(Organization IS NULL OR Organization = '', 'None', Organization),
{{{threadid|}}}organization=IF(Organization IS NULL OR Organization = '', 'None', Organization),
{{{threadid|}}}dualkith=IF(DualKith IS NULL OR DualKith = '', 'None', DualKith),
{{{threadid|}}}dualkith=IF(DualKith IS NULL OR DualKith = '', 'None', DualKith),
{{{threadid|}}}kith=Kith,
{{{threadid|}}}kith=Kith,
-
{{{threadid|}}}presence=Presence, {{{threadid|}}}adv=Power, {{{threadid|}}}username=characters.char_name, {{{threadid|}}}mainname=characters.username, {{{threadid|}}}mainid=characters.userid,  
+
{{{threadid|}}}presence=Presence,  
 +
{{{threadid|}}}adv=Power,  
 +
{{{threadid|}}}faceclaim=faceclaim,
 +
{{{threadid|}}}username=characters.char_name,  
 +
{{{threadid|}}}mainname=characters.username,  
 +
{{{threadid|}}}mainid=characters.userid,  
{{{threadid|}}}forumid=IF(char_userid IS NULL OR char_userid = '', '0', char_userid),
{{{threadid|}}}forumid=IF(char_userid IS NULL OR char_userid = '', '0', char_userid),
{{{threadid|}}}lastpost=COALESCE(u1.lastpost, u2.lastpost),  
{{{threadid|}}}lastpost=COALESCE(u1.lastpost, u2.lastpost),  
{{{threadid|}}}joindate=COALESCE(u1.joindate, u2.joindate),
{{{threadid|}}}joindate=COALESCE(u1.joindate, u2.joindate),
-
{{{threadid|}}}avatar=customavatar.visible, {{{threadid|}}}ppic=customprofilepic.visible, {{{threadid|}}}refinement=Refinement, {{{threadid|}}}oneaccount=(CASE WHEN characters.userid = characters.char_userid THEN 'Yes' ELSE 'No' END), {{{threadid|}}}status=(CASE Status WHEN 'Active' THEN 'Active' WHEN 'Deceased' THEN 'Deceased' ELSE 'Inactive' END), {{{threadid|}}}troupelabel=(CASE Venue WHEN 'Changeling' THEN 'Motley' WHEN 'Mage' THEN 'Cabal' WHEN 'Vampire' THEN 'Coterie' WHEN 'Werewolf' THEN 'Pack' WHEN 'Hunter' THEN 'Cell' ELSE NULL END), {{{threadid|}}}citylabel=(CASE Venue WHEN 'Changeling' THEN 'Freehold' WHEN 'Mage' THEN 'Consilium' WHEN 'Vampire' THEN 'Domain'  ELSE 'City' END), {{{threadid|}}}refinementlabel=(CASE Venue WHEN 'Changeling' THEN 'Entitlement' WHEN 'Mage' THEN 'Legacy' WHEN 'Vampire' THEN 'Bloodline' WHEN 'Werewolf' THEN 'Lodge' ELSE 'Refinement' END), {{{threadid|}}}organizationlabel=(CASE Venue WHEN 'Changeling' THEN 'Court' WHEN 'Mage' THEN 'Order' WHEN 'Vampire' THEN 'Covenant' WHEN 'Werewolf' THEN 'Tribe' WHEN 'Hunter' THEN 'Conspiracy' ELSE 'Org.' END), {{{threadid|}}}familylabel=(CASE Venue WHEN 'Changeling' THEN 'Seeming' WHEN 'Mage' THEN 'Path' WHEN 'Vampire' THEN 'Clan' WHEN 'Werewolf' THEN 'Auspice' WHEN 'Hunter' THEN 'Compact' ELSE 'Family' END), {{{threadid|}}}powerlabel=(CASE Venue WHEN 'Changeling' THEN 'Wyrd' WHEN 'Mage' THEN 'Gnosis' WHEN 'Vampire' THEN 'Blood Potency' WHEN 'Werewolf' THEN 'Primal Urge' ELSE NULL END)
+
{{{threadid|}}}avatar=customavatar.visible, {{{threadid|}}}ppic=customprofilepic.visible, {{{threadid|}}}refinement=Refinement, {{{threadid|}}}oneaccount=(CASE WHEN characters.userid = characters.char_userid THEN 'Yes' ELSE 'No' END), {{{threadid|}}}status=(CASE Status WHEN 'Active' THEN 'Active' WHEN 'Deceased' THEN 'Deceased' ELSE 'Inactive' END), {{{threadid|}}}troupelabel=(CASE Venue WHEN 'Changeling' THEN 'Motley' WHEN 'Mage' THEN 'Cabal' WHEN 'Vampire' THEN 'Coterie' WHEN 'Werewolf' THEN 'Pack' WHEN 'Hunter' THEN 'Cell' ELSE NULL END), {{{threadid|}}}citylabel=(CASE Venue WHEN 'Changeling' THEN 'Freehold' WHEN 'Mage' THEN 'Consilium' WHEN 'Vampire' THEN 'Domain'  ELSE 'City' END), {{{threadid|}}}refinementlabel=(CASE Venue WHEN 'Changeling' THEN 'Entitlement' WHEN 'Mage' THEN 'Legacy' WHEN 'Vampire' THEN 'Bloodline' WHEN 'Werewolf' THEN 'Lodge' ELSE 'Refinement' END), {{{threadid|}}}organizationlabel=(CASE Venue WHEN 'Changeling' THEN 'Court' WHEN 'Mage' THEN 'Order' WHEN 'Vampire' THEN 'Covenant' WHEN 'Ghoul' THEN 'Covenant' WHEN 'Werewolf' THEN 'Tribe' WHEN 'Hunter' THEN 'Conspiracy' ELSE 'Org.' END), {{{threadid|}}}familylabel=(CASE Venue WHEN 'Changeling' THEN 'Seeming' WHEN 'Mage' THEN 'Path' WHEN 'Vampire' THEN 'Clan' WHEN 'Ghoul' THEN 'Clan' WHEN 'Werewolf' THEN 'Auspice' WHEN 'Hunter' THEN 'Compact' ELSE 'Family' END), {{{threadid|}}}powerlabel=(CASE Venue WHEN 'Changeling' THEN 'Wyrd' WHEN 'Mage' THEN 'Gnosis' WHEN 'Vampire' THEN 'Blood Potency' WHEN 'Werewolf' THEN 'Primal Urge' ELSE NULL END)
}}<!-- DB FOR AWARDS -->{{#get_db_data:db=nwod
}}<!-- DB FOR AWARDS -->{{#get_db_data:db=nwod
|from=rank_user JOIN rank ON rank.rank_id = rank_user.rank_id
|from=rank_user JOIN rank ON rank.rank_id = rank_user.rank_id
Line 35: Line 46:
|Presence={{#external_value:{{{threadid|}}}presence}}
|Presence={{#external_value:{{{threadid|}}}presence}}
|Character Name={{#external_value: {{{threadid|}}}username}}
|Character Name={{#external_value: {{{threadid|}}}username}}
-
|Avatar={{#if: {{{Avatar|}}}|{{{Avatar|}}}|Unknown}}
+
|Avatar={{#external_value:{{{threadid|}}}faceclaim}}
|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 45: Line 57:
|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}}
-
}}{{#if: {{#external_value: {{{threadid|}}}troupe }} |{{#set: {{#external_value:{{{threadid|}}}troupelabel}}={{#external_value:{{{threadid|}}}troupe}} }} | }}{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Sacramento End={{#time: M-d-Y|@{{#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}}}}  }}|}}{{#if: {{#external_value: {{{threadid|}}}joindate }} |{{#set:Tenure={{#expr: {{#expr: {{#external_value: {{{threadid|}}}lastpost }}-{{#external_value: {{{threadid|}}}joindate }} }} / 31556926 round 1 }} }} | }}<div class="chartempquotestatus" style="" >[[Template:Char|<span title="View this template">v</span>]]&nbsp;·&nbsp;[[Template_talk:Char|<span title="Talk page">t</span>]]&nbsp;·&nbsp;[{{fullurl:{{transclude|Template:Char}}|action=edit}} <span style="text-decoration: none" title="Edit this template">e</span>]</div><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> }}
+
}}{{#if: {{#external_value: {{{threadid|}}}troupe }} |{{#set: {{#external_value:{{{threadid|}}}troupelabel}}={{#external_value:{{{threadid|}}}troupe}} }} | }}{{#if: {{#external_value: {{{threadid|}}}lastpost }} |{{#set:Sacramento End={{#time: M-d-Y|@{{#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}}}}  }}|}}{{#if: {{#external_value: {{{threadid|}}}joindate }} |{{#set:Tenure={{#expr: {{#expr: {{#external_value: {{{threadid|}}}lastpost }}-{{#external_value: {{{threadid|}}}joindate }} }} / 31556926 round 1 }} }} | }}<div class="{{#external_value: {{{threadid|}}}venue}}page chartempwrapper {{#external_value: {{{threadid|}}}venue}}back" style="min-width: 600px; position: relative; margin-top: -73px; border-top-right-radius: 0px !important; border-top-left-radius: 0px !important;">
-
</div><div class="{{#external_value: {{{threadid|}}}venue}}page chartempwrapper {{#external_value: {{{threadid|}}}venue}}back" style="min-width: 600px;">
+
{{#switch:{{{pic2|}}}
{{#switch:{{{pic2|}}}
-
|Yes=<div style="float: left;"><div style="height: 200px; overflow: hidden;">[[Image:{{#external_value: {{{threadid|}}}username}}_2.jpg|x200px|Click here to upload portrait.]]</div></div> |}}
+
|Yes=<div style="float: left;"><div style="height: 200px; overflow: hidden;">[[Image:{{#external_value: {{{threadid|}}}username}}_2.jpg|x200px|Click here to upload portrait.]]</div></div> |}}<div class="chartempquotestatus" style="float: right; right: 240px !important;" >[[Template:Char|<span title="View this template">v</span>]]&nbsp;·&nbsp;[[Template_talk:Char|<span title="Talk page">t</span>]]&nbsp;·&nbsp;[{{fullurl:{{transclude|Template:Char}}|action=edit}} <span style="text-decoration: none" title="Edit this template">e</span>]</div>
<div style="float: right; width: 200px; margin-right: 3px; margin-left: 20px;" id="newcharsidebar" >
<div style="float: right; width: 200px; margin-right: 3px; margin-left: 20px;" id="newcharsidebar" >
<div style="height: 200px; overflow: hidden;">[[Image:{{#external_value: {{{threadid|}}}username}}.jpg|200px|Click here to upload portrait.]]</div>
<div style="height: 200px; overflow: hidden;">[[Image:{{#external_value: {{{threadid|}}}username}}.jpg|200px|Click here to upload portrait.]]</div>
Line 61: 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; float: right;"><html>
+
</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>|}}
<div style="clear: both;"></div>
<div style="clear: both;"></div>
</div>
</div>
-
<table class="charnewtable{{#external_value: {{{threadid|}}}venue}}" style="width: auto !important; {{#switch:{{{pic2|}}}
+
<table class="charnewtable{{#external_value: {{{threadid|}}}venue}}" cellspacing="0" style="width: auto !important; {{#switch:{{{pic2|}}}
|Yes=height: 200px; |}}" >
|Yes=height: 200px; |}}" >
-
<tr style="vertical-align: top;">
+
<tr style="vertical-align: middle;">
-
<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}}
-
|#default={{#set:Blood Potency={{#external_value: {{{threadid|}}}adv}}}}<div><html><img src="http://nwod.org/forum/images/icons/fuel/blank-</html>{{#external_value: {{{threadid|}}}adv}}<html>.png" title="Blood Potency" /></html></div>
+
|#default={{#set:Blood Potency={{#external_value: {{{threadid|}}}adv}}}}<div style="position: absolute; left: 15px; top: 10px;" ><html><img src="http://nwod.org/forum/images/icons/fuel/blank-</html>{{#external_value: {{{threadid|}}}adv}}<html>.png" title="Blood Potency" /></html></div>
}}|}}
}}|}}
</td>
</td>
-
<td style="width: 100%; background: linear-gradient(to right, rgba(255,0,0,0), rgba(0,0,0,.9), rgba(255,0,0,0));">
+
<td class="Magefont" style="padding: 0px 10px; width: 100%; background: linear-gradient(to right, rgba(255,0,0,0), rgba(0,0,0,.9), rgba(255,0,0,0));">
-
<div class="center {{#external_value: {{{threadid|}}}venue}}font {{#external_value: {{{threadid|}}}venue}}color font200" style="padding-top: 5px;" >{{#external_value: {{{threadid|}}}username}}</div>
+
<div class="center {{#external_value: {{{threadid|}}}venue}}color font200" style="padding-top: 5px;" >{{#external_value: {{{threadid|}}}username}}</div>
{{#if:{{{Quote|}}}
{{#if:{{{Quote|}}}
-
|<div class="center {{#external_value: {{{threadid|}}}venue}}font font150 italic">{{{Quote|}}}</div>
+
|<div class="center font150 italic" style="">{{{Quote|}}}</div>
-
|<div class="center {{#external_value: {{{threadid|}}}venue}}font font150 italic">{{#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>
{{#switch: {{#external_value: {{{threadid|}}}venue}}
{{#switch: {{#external_value: {{{threadid|}}}venue}}
|Ensorcelled=
|Ensorcelled=
|Geist=
|Geist=
|Ghoul=
|Ghoul=
-
|Hunter=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: 10px;" id="basicinfo" >
+
|Hunter=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: -1px;" id="basicinfo" >
<tr style="font-size: 30px;">
<tr style="font-size: 30px;">
<td>
<td>
Line 102: Line 116:
|Sleepwalker=
|Sleepwalker=
|Wolf-Blooded=
|Wolf-Blooded=
-
|Werewolf=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: 10px;" id="basicinfo" >
+
|Werewolf=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: -1px;" id="basicinfo" >
<tr style="font-size: 30px;">
<tr style="font-size: 30px;">
<td>
<td>
Line 121: Line 135:
</tr>
</tr>
<tr style="text-transform: uppercase; font-weight: bold;">
<tr style="text-transform: uppercase; font-weight: bold;">
-
<td>Cunning</td>
+
<td>[[Cunning]]</td>
-
<td>Glory</td>
+
<td>[[Glory]]</td>
-
<td>Honor</td>
+
<td>[[Honor]]</td>
-
<td>Purity</td>
+
<td>[[Purity]]</td>
-
<td>Wisdom</td>
+
<td>[[Wisdom Renown|Wisdom]]</td>
</tr>
</tr>
<tr>
<tr>
Line 141: Line 155:
</tr>
</tr>
</table>
</table>
-
|#default=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: 10px;" id="basicinfo" >
+
|#default=<table style="width: 100%; table-layout: fixed; text-align: center; margin-top: -1px;" id="basicinfo" >
<tr style="font-size: 30px;">
<tr style="font-size: 30px;">
<td>
<td>
Line 171: Line 185:
<td>[[{{#external_value: {{{threadid|}}}citylabel}}]]</td>
<td>[[{{#external_value: {{{threadid|}}}citylabel}}]]</td>
<td>[[{{#external_value: {{{threadid|}}}family}}]]</td>
<td>[[{{#external_value: {{{threadid|}}}family}}]]</td>
-
<td style="white-space: nowrap;">[[{{#external_value: {{{threadid|}}}organization}}]]</td>
+
<td style="white-space: nowrap;">{{#switch: {{#external_value: {{{threadid|}}}organization}}
 +
|Adamantine Arrow=[[Adamantine Arrow|Arrow]]
 +
|Carthian Movement=[[Carthian Movement|CARTHIAN]]
 +
|Circle of the Crone=[[Circle of the Crone|CRONE]]
 +
|Guardians of the Veil=[[Guardians of the Veil|Guardian]]
 +
|#default=[[{{#external_value: {{{threadid|}}}organization}}]]
 +
}}
 +
</td>
</tr>
</tr>
</table>
</table>
Line 181: Line 202:
</table>{{#ifexpr: {{#if: {{{box1|}}} |1|0 }} + {{#if: {{{box2|}}} |1|0 }} + {{#if: {{{box3|}}} |1|0 }} > 0
</table>{{#ifexpr: {{#if: {{{box1|}}} |1|0 }} + {{#if: {{{box2|}}} |1|0 }} + {{#if: {{{box3|}}} |1|0 }} > 0
|<div style="width: calc(100% - 223px); padding-top: 5px;" ><table cellpadding="0" cellspacing="0" style="height: 100%; width: 100%; table-layout: fixed; text-align: center;"><tr>
|<div style="width: calc(100% - 223px); padding-top: 5px;" ><table cellpadding="0" cellspacing="0" style="height: 100%; width: 100%; table-layout: fixed; text-align: center;"><tr>
-
{{#if: {{{box1|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 0px; margin-right: 4px;">{{{box1|}}}</div></td>|}}
+
{{#if: {{{box1|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 10px; margin-right: 4px;">{{{box1|}}}</div></td>|}}
-
{{#if: {{{box2|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 0px; margin-right: 2px; margin-left: 2px;">{{{box2|}}}</div></td>|}}
+
{{#if: {{{box2|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 10px; margin-right: 2px; margin-left: 2px;">{{{box2|}}}</div></td>|}}
-
{{#if: {{{box3|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 0px; margin-left: 4px;">{{{box3|}}}</div></td>|}}
+
{{#if: {{{box3|}}} |<td><div style="height: 100%; background: rgba(0,0,0,.5); padding: 5px 10px; margin-left: 4px;">{{{box3|}}}</div></td>|}}
</tr></table></div>
</tr></table></div>
|
|
}}<div style="padding-top:10px;" ></includeonly><noinclude>{{documentation}}[[Category:Player Use Templates]]</noinclude>
}}<div style="padding-top:10px;" ></includeonly><noinclude>{{documentation}}[[Category:Player Use Templates]]</noinclude>

Latest revision as of 14:43, 12 July 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