Template:Character
From Edge of Darkness Wiki
Character
m |
m |
||
| Line 2: | Line 2: | ||
|Player={{#set:forumname={{{Player Name|}}}}}{{#if: {{{forumid|}}}|{{#set:forumid={{{forumid|}}}}}|}} | |Player={{#set:forumname={{{Player Name|}}}}}{{#if: {{{forumid|}}}|{{#set:forumid={{{forumid|}}}}}|}} | ||
|{{#set:forumname={{PAGENAME}}}}{{#if: {{{forumid|}}}|{{#set:Character forumid={{{forumid|}}}}}|}} | |{{#set:forumname={{PAGENAME}}}}{{#if: {{{forumid|}}}|{{#set:Character forumid={{{forumid|}}}}}|}} | ||
| - | }}}}{{#if: {{{forumname|}}}|{{#set:forumname={{{forumname|} | + | }}}}{{#if: {{{forumname|}}}|{{#set:forumname={{{forumname|}}}}}|}}{{#if: {{{Departed|}}}|{{#set:Sacramento End={{{Departed|}}}}}|}}{{#switch:{{{Player Name|}}} |
|NPC= | |NPC= | ||
|{{#ask: [[User:{{{Player Name|}}}]] |?forumid= |?forumname= |format=template |template=PlayerAvatar }} | |{{#ask: [[User:{{{Player Name|}}}]] |?forumid= |?forumname= |format=template |template=PlayerAvatar }} | ||
| Line 8: | Line 8: | ||
|from=user | |from=user | ||
|where=userid='{{{forumid|}}}' | |where=userid='{{{forumid|}}}' | ||
| - | |data={{ | + | |data={{{forumid|}}}forumid=userid,{{{forumid|}}}posts=posts,{{{forumid|}}}lastactivity=lastpost |
| - | }}{{# | + | }}{{#switch: {{{minisheet|}}} |
| - | + | |1={{#get_db_data:db=nwod | |
| - | + | |from=userfield | |
| - | + | |where=userid='{{{forumid|}}}' |data={{{forumid|}}}venue=field101,{{{forumid|}}}family=field211,{{{forumid|}}}organization=field212,{{{forumid|}}}statusvenue=field165,{{{forumid|}}}statusorganization=field166,{{{forumid|}}}statusfamily=field167,{{{forumid|}}}presence=field132}}{{#set:Minisheet{{{minisheet|}}}={{PAGENAME}}}} | |
| - | | | + | |2={{#get_db_data:db=nwod |
| - | |from= | + | |from=userfield |
| - | |where=userid='{{{forumid|}}}' | + | |where=userid='{{{forumid|}}}' |data={{{forumid|}}}venue=field102,{{{forumid|}}}family=field238,{{{forumid|}}}organization=field241,{{{forumid|}}}statusvenue=field244,{{{forumid|}}}statusorganization=field251,{{{forumid|}}}statusfamily=field248,{{{forumid|}}}presence=field181}}{{#set:Minisheet{{{minisheet|}}}={{PAGENAME}}}} |
| - | |data={{ | + | |3={{#get_db_data:db=nwod |
| - | }}{{ | + | |from=userfield |
| - | + | |where=userid='{{{forumid|}}}' |data={{{forumid|}}}venue=field103,{{{forumid|}}}family=field239,{{{forumid|}}}organization=field242,{{{forumid|}}}statusvenue=field245,{{{forumid|}}}statusorganization=field252,{{{forumid|}}}statusfamily=field249,{{{forumid|}}}presence=field236}}{{#set:Minisheet{{{minisheet|}}}={{PAGENAME}}}} | |
| - | + | |4={{#get_db_data:db=nwod | |
| - | + | |from=userfield | |
| - | | | + | |where=userid='{{{forumid|}}}' |data={{{forumid|}}}venue=field104,{{{forumid|}}}family=field240,{{{forumid|}}}organization=field243,{{{forumid|}}}statusvenue=field247,{{{forumid|}}}statusorganization=field253,{{{forumid|}}}statusfamily=field250,{{{forumid|}}}presence=field237}}{{#set:Minisheet{{{minisheet|}}}={{PAGENAME}}}} |
| - | |from=userfield | + | }}{{#set:Character forumid={{#external_value:{{{forumid|}}}forumid}}}}{{#set:Last Activity={{#time: M d Y |@{{#external_value: {{{forumid|}}}lastactivity }}}}}}{{#set:Post Count={{#external_value:{{{forumid|}}}posts}}}}{{#set:Venue={{#external_value:{{{forumid|}}}venue}}}}{{#set:Character Type={{#external_value:{{{forumid|}}}venue}}}}{{#set:Presence={{#external_value:{{{forumid|}}}presence}}}}{{#switch: {{#external_value:{{{forumid|}}}venue}} |
| - | |where=userid='{{ | + | |Changeling = {{#set:Seeming={{#external_value:{{{forumid|}}}family}}}} |
| - | |data={{ | + | {{#set:Court={{#external_value:{{{forumid|}}}organization}}}} |
| - | |Changeling = {{#set:Seeming={{#external_value:{{ | + | {{#set:Freehold Status={{#external_value:{{{forumid|}}}statusvenue}}}} |
| - | {{#set:Court={{#external_value:{{ | + | {{#set:Mantle={{#external_value:{{{forumid|}}}statusorganization}}}} |
| - | {{#set:Freehold Status={{#external_value:{{ | + | |Mage = {{#set:Path={{#external_value:{{{forumid|}}}family}}}} |
| - | {{#set:Mantle={{#external_value:{{ | + | {{#set:Order={{#external_value:{{{forumid|}}}organization}}}} |
| - | |Mage = {{#set:Path={{#external_value:{{ | + | {{#set:Consilium Status={{#external_value:{{{forumid|}}}statusvenue}}}} |
| - | {{#set:Order={{#external_value:{{ | + | {{#set:Path Status={{#external_value:{{{forumid|}}}statusfamily}}}} |
| - | {{#set:Consilium Status={{#external_value:{{ | + | {{#set:Order Status={{#external_value:{{{forumid|}}}statusorganization}}}} |
| - | {{#set:Path Status={{#external_value:{{ | + | |Vampire = {{#set:Clan={{#external_value:{{{forumid|}}}family}}}} |
| - | {{#set:Order Status={{#external_value:{{ | + | {{#set:Covenant={{#external_value:{{{forumid|}}}organization}}}} |
| - | |Vampire = {{#set:Clan={{#external_value:{{ | + | {{#set:City Status={{#external_value:{{{forumid|}}}statusvenue}}}} |
| - | {{#set:Covenant={{#external_value:{{ | + | {{#set:Covenant Status={{#external_value:{{{forumid|}}}statusorganization}}}} |
| - | {{#set:City Status={{#external_value:{{ | + | {{#set:Clan Status={{#external_value:{{{forumid|}}}statusfamily}}}} |
| - | {{#set:Covenant Status={{#external_value:{{ | + | |Werewolf = {{#set:Auspice={{#external_value:{{{forumid|}}}family}}}} |
| - | {{#set:Clan Status={{#external_value:{{ | + | {{#set:Tribe={{#external_value:{{{forumid|}}}organization}}}} |
| - | |Werewolf = {{#set:Auspice={{#external_value:{{ | + | |{{#set:venue={{#external_value:{{{forumid|}}}venue}}}} |
| - | {{#set:Tribe={{#external_value:{{ | + | {{#set:family={{#external_value:{{{forumid|}}}family}}}} |
| - | |{{#set:venue={{#external_value:{{ | + | {{#set:org={{#external_value:{{{forumid|}}}organization}}}} |
| - | {{#set:family={{#external_value:{{ | + | {{#set:statusvenue={{#external_value:{{{forumid|}}}statusvenue}}}} |
| - | {{#set:org={{#external_value:{{ | + | {{#set:statusorg={{#external_value:{{{forumid|}}}statusorganization}}}} |
| - | {{#set:statusvenue={{#external_value:{{ | + | {{#set:statusfamily={{#external_value:{{{forumid|}}}statusfamily}}}} |
| - | {{#set:statusorg={{#external_value:{{ | + | |
| - | {{#set:statusfamily={{#external_value:{{ | + | |
}}<!---- END DB GET ---->{{#ifexist:{{#ask: [[Has Minisheet::{{PAGENAME}}]]|link=none}}|{{#set:forumid={{#ask: [[Has Minisheet::{{PAGENAME}}]]|mainlabel=- |?forumid= |link=none}}}}|}}{{#set: Page has default form=Add {{#show: {{PAGENAME}} |?Venue# }} Character|Tenure={{#expr: {{#expr: {{#time: xNU|{{#show: {{PAGENAME}} |?Sacramento End }}|}} - {{#time: xNU|{{#show: {{PAGENAME}} |?Sacramento Start }}|}} }} / 31536000 round 1 }}|Player=User:{{{Player Name|}}}|Character Name={{PAGENAME}}|Character Status={{{Status|}}}|Player=User:{{{Player Name|}}}|Sacramento Start={{{Inception|}}}|Lived In=Sacramento}}{{#if: {{{Venue|}}}|{{#set:Character Type={{{Venue|}}}}}|}}<!-- BEGIN VENUES --><div class="{{#show: {{PAGENAME}} |?Venue# }}page chartempwrapper {{#show: {{PAGENAME}} |?Venue# }}back"> | }}<!---- END DB GET ---->{{#ifexist:{{#ask: [[Has Minisheet::{{PAGENAME}}]]|link=none}}|{{#set:forumid={{#ask: [[Has Minisheet::{{PAGENAME}}]]|mainlabel=- |?forumid= |link=none}}}}|}}{{#set: Page has default form=Add {{#show: {{PAGENAME}} |?Venue# }} Character|Tenure={{#expr: {{#expr: {{#time: xNU|{{#show: {{PAGENAME}} |?Sacramento End }}|}} - {{#time: xNU|{{#show: {{PAGENAME}} |?Sacramento Start }}|}} }} / 31536000 round 1 }}|Player=User:{{{Player Name|}}}|Character Name={{PAGENAME}}|Character Status={{{Status|}}}|Player=User:{{{Player Name|}}}|Sacramento Start={{{Inception|}}}|Lived In=Sacramento}}{{#if: {{{Venue|}}}|{{#set:Character Type={{{Venue|}}}}}|}}<!-- BEGIN VENUES --><div class="{{#show: {{PAGENAME}} |?Venue# }}page chartempwrapper {{#show: {{PAGENAME}} |?Venue# }}back"> | ||
<div class="grade05 chartempheader" > | <div class="grade05 chartempheader" > | ||
| Line 67: | Line 65: | ||
<tr> | <tr> | ||
<td width="50"></td> | <td width="50"></td> | ||
| - | <td width="50" valign="top">{{#set:Freehold Status={{#external_value:{{ | + | <td width="50" valign="top">{{#set:Freehold Status={{#external_value:{{{forumid|}}}statusvenue}}}}{{#switch: {{#external_value:{{{forumid|}}}statusvenue}}|0 = None |{{dot{{#external_value:{{{forumid|}}}statusvenue}}}}}}<br />{{#if:{{#external_value:{{{forumid|}}}statusorganization}}|{{#set:Mantle={{#external_value:{{{forumid|}}}statusorganization}}}}{{#switch: {{#external_value:{{{forumid|}}}statusorganization}}|0 = |{{dot{{#external_value:{{{forumid|}}}statusorganization}}}}}}|}}<br />{{dot{{#external_value:{{{forumid|}}}presence}}}} |
</td> | </td> | ||
<td valign="top">{{nowrap|[[Freehold]]{{#if: {{{Freehold Titles|}}} | <td valign="top">{{nowrap|[[Freehold]]{{#if: {{{Freehold Titles|}}} | ||
| Line 109: | Line 107: | ||
<tr> | <tr> | ||
<td width="50"></td> | <td width="50"></td> | ||
| - | <td width="50" valign="top">{{#set:Consilium Status={{#external_value:{{ | + | <td width="50" valign="top">{{#set:Consilium Status={{#external_value:{{{forumid|}}}statusvenue}}}}{{#switch: {{#external_value:{{{forumid|}}}statusvenue}}|0 = |[[Who%27s_Who:_Mage#Consilium_Status|{{dot{{#external_value:{{{forumid|}}}statusvenue}}}}]]}}<br /> {{#if:{{#external_value:{{{forumid|}}}statusorganization}}|{{#set:Order Status={{#external_value:{{{forumid|}}}statusorganization}}}}{{#switch: {{#external_value:{{{forumid|}}}statusorganization}}|0 = |[[Who%27s_Who:_Mage#The_Orders|{{dot{{#external_value:{{{forumid|}}}statusorganization}}}}]]}}|}}<br />{{#if:{{#external_value:{{{forumid|}}}statusfamily}}|{{#set:Path Status={{#external_value:{{{forumid|}}}statusfamily}}}}{{#switch: {{#external_value:{{{forumid|}}}statusfamily}}|0 = |[[Who%27s_Who:_Mage#The_Paths|{{dot{{#external_value:{{{forumid|}}}statusfamily}}}}]]}}|}}<br />{{dot{{#external_value:{{{forumid|}}}presence}}}} |
</td> | </td> | ||
| - | <td valign="top">{{nowrap|[[Consilium]]{{#if:{{{Consilium Position|}}}| ({{{Consilium Position|}}})|}}<br />[[Order::{{{Order|}}}]] {{#if:{{{{{{Order|}}} Titles|}}}|({{{{{{Order|}}} Titles|}}})|}}<br />[[Path::{{#external_value:{{ | + | <td valign="top">{{nowrap|[[Consilium]]{{#if:{{{Consilium Position|}}}| ({{{Consilium Position|}}})|}}<br />[[Order::{{{Order|}}}]] {{#if:{{{{{{Order|}}} Titles|}}}|({{{{{{Order|}}} Titles|}}})|}}<br />[[Path::{{#external_value:{{{forumid|}}}family}}]] {{#switch:{{{Path Position|}}}|Councilor= (Councilor)|Provost= (Provost)|}}{{#if: {{{Legacy|}}}|{{#switch:{{{Legacy|}}}|None = | ([[Legacy::{{{Legacy|}}}]])}}| }}<br />[[Presence]] {{#if:{{{Presence Description|}}}| ({{{Presence Description|}}})|}} }} |
</td> | </td> | ||
<td width="50"></td> | <td width="50"></td> | ||
| Line 141: | Line 139: | ||
<tr> | <tr> | ||
<td width="30"></td> | <td width="30"></td> | ||
| - | <td width="50" valign="top">{{#if:{{#external_value:{{ | + | <td width="50" valign="top">{{#if:{{#external_value:{{{forumid|}}}statusfamily}}|{{#switch: {{#external_value:{{{forumid|}}}statusfamily}}|0 = |[[Who%27s_Who:_Vampire#The_Clans|{{dot{{#external_value:{{{forumid|}}}statusfamily}}}}]]}}{{#set:Clan Status={{#external_value:{{{forumid|}}}statusfamily}}}}|}}<br />{{#if:{{#external_value:{{{forumid|}}}statusorganization}}|{{#switch: {{#external_value:{{{forumid|}}}statusorganization}}|0 = |[[Who%27s_Who:_Vampire#The_Covenants|{{dot{{#external_value:{{{forumid|}}}statusorganization}}}}]]}}{{#set:Covenant Status={{#external_value:{{{forumid|}}}statusorganization}}}}|}}<br />{{#switch: {{#external_value:{{{forumid|}}}statusvenue}}|0 = |[[Who%27s_Who:_Vampire#Domain_Status|{{dot{{#external_value:{{{forumid|}}}statusvenue}}}}]]}}{{#set:City Status={{#external_value:{{{forumid|}}}statusvenue}}}}<br />{{#switch: {{{Blood Potency|}}}|Obfuscated = [[Obfuscate#Mask_of_Tranquility|Masked]]|{{{Blood Potency|}}}={{dot{{{Blood Potency|}}}}}|Missing!}}{{#set:Blood Potency={{{Blood Potency|}}}}}<br />{{dot{{#external_value:{{{forumid|}}}presence}}}}</td> |
<td valign="top">{{nowrap|{{#if:{{{Bloodline|}}}|[[Bloodline::{{{Bloodline|}}}]] | }}[[Clan::{{{Clan|}}}]]{{#if:{{{Clan Title|}}}| ({{{Clan Title|}}})|}}}}<br />{{nowrap|[[Covenant::{{{Covenant|}}}]] {{#if:{{{{{{Covenant|}}} Title|}}}| ({{{{{{Covenant|}}} Title|}}})|}} }}<br />{{nowrap|[[Domain]] {{#if:{{{Domain Position|}}}| ({{{Domain Position|}}})|}} }}<br />{{nowrap|[[Blood Potency]]}}<br />[[Presence]]{{#if:{{{Presence Description|}}}| ({{{Presence Description|}}})|}}</td> | <td valign="top">{{nowrap|{{#if:{{{Bloodline|}}}|[[Bloodline::{{{Bloodline|}}}]] | }}[[Clan::{{{Clan|}}}]]{{#if:{{{Clan Title|}}}| ({{{Clan Title|}}})|}}}}<br />{{nowrap|[[Covenant::{{{Covenant|}}}]] {{#if:{{{{{{Covenant|}}} Title|}}}| ({{{{{{Covenant|}}} Title|}}})|}} }}<br />{{nowrap|[[Domain]] {{#if:{{{Domain Position|}}}| ({{{Domain Position|}}})|}} }}<br />{{nowrap|[[Blood Potency]]}}<br />[[Presence]]{{#if:{{{Presence Description|}}}| ({{{Presence Description|}}})|}}</td> | ||
<td width="50"></td> | <td width="50"></td> | ||
| Line 162: | Line 160: | ||
<td width="50"></td> | <td width="50"></td> | ||
<td width="100" valign="top">[[Auspice]]:<br />[[Tribe]]:<br />[[Lodge]]:<br />[[Presence]]:<br />Appearance:</td> | <td width="100" valign="top">[[Auspice]]:<br />[[Tribe]]:<br />[[Lodge]]:<br />[[Presence]]:<br />Appearance:</td> | ||
| - | <td valign="top">[[Auspice::{{{Auspice|}}}]]<br />{{nowrap|[[Tribe::{{{Tribe|}}}]]}}<br />{{#if: {{{Lodge|}}}|[[Lodge::{{{Lodge|}}}]]|None }}<br />{{#if:{{#external_value:{{ | + | <td valign="top">[[Auspice::{{{Auspice|}}}]]<br />{{nowrap|[[Tribe::{{{Tribe|}}}]]}}<br />{{#if: {{{Lodge|}}}|[[Lodge::{{{Lodge|}}}]]|None }}<br />{{#if:{{#external_value:{{{forumid|}}}family}}|{{dot{{#external_value:{{{forumid|}}}family}}}} {{#if:{{{Presence Description|}}}|({{{Presence Description|}}})|}}|}}<br />{{#if:{{{Appearance|}}}|{{{Appearance|}}}|See Below}}</td> |
<td width="50">{{#set:Cunning={{{Cunning|}}}|Glory={{{Glory|}}}|Honor={{{Honor|}}}|Purity={{{Purity|}}}|Wisdom={{{Wisdom|}}}|Parent={{{Pack|}}}|Werewolf date={{{Inception|}}}}}</td> | <td width="50">{{#set:Cunning={{{Cunning|}}}|Glory={{{Glory|}}}|Honor={{{Honor|}}}|Purity={{{Purity|}}}|Wisdom={{{Wisdom|}}}|Parent={{{Pack|}}}|Werewolf date={{{Inception|}}}}}</td> | ||
<td width="100" valign="top">[[Cunning]]:<br />[[Glory]]:<br />[[Honor]]:<br />[[Purity]]:<br />[[Wisdom Renown|Wisdom]]:</td> | <td width="100" valign="top">[[Cunning]]:<br />[[Glory]]:<br />[[Honor]]:<br />[[Purity]]:<br />[[Wisdom Renown|Wisdom]]:</td> | ||
| Line 185: | Line 183: | ||
<td width="50"></td> | <td width="50"></td> | ||
<td width="100" valign="top">[[Presence]]<br />Appearance:</td> | <td width="100" valign="top">[[Presence]]<br />Appearance:</td> | ||
| - | <td valign="top"><div style="max-height: 105px; overflow: hidden;">{{dot{{#external_value:{{ | + | <td valign="top"><div style="max-height: 105px; overflow: hidden;">{{dot{{#external_value:{{{forumid|}}}family}}}}{{#if:{{{Presence Description|}}}| ({{{Presence Description|}}})|}}<br />{{{Appearance|}}}</div></td> |
<td width="30"></td> | <td width="30"></td> | ||
</tr> | </tr> | ||
| Line 203: | Line 201: | ||
<td width="50"></td> | <td width="50"></td> | ||
<td width="100" valign="top">[[Presence]]<br />Appearance:</td> | <td width="100" valign="top">[[Presence]]<br />Appearance:</td> | ||
| - | <td valign="top"><div style="max-height: 105px; overflow: hidden;">{{dot{{#external_value:{{ | + | <td valign="top"><div style="max-height: 105px; overflow: hidden;">{{dot{{#external_value:{{{forumid|}}}family}}}}{{#if:{{{Presence Description|}}}| ({{{Presence Description|}}})|}}<br />{{{Appearance|}}}</div></td> |
<td width="30"></td> | <td width="30"></td> | ||
</tr> | </tr> | ||
| Line 212: | Line 210: | ||
<!-- Tenure Line --> | <!-- Tenure Line --> | ||
<div class="tenurebar" >{{nowrap|( {{#if:{{{Inception|}}}|{{{Inception|}}} - |}}{{#if:{{{Departed|}}}|{{{Departed|}}}| Current}} ) }}</div> | <div class="tenurebar" >{{nowrap|( {{#if:{{{Inception|}}}|{{{Inception|}}} - |}}{{#if:{{{Departed|}}}|{{{Departed|}}}| Current}} ) }}</div> | ||
| - | <div class="activitybar" >{{#if:{{#external_value: {{ | + | <div class="activitybar" >{{#if:{{#external_value: {{{forumid|}}}lastactivity }}| |
| - | Online {{#time: d M Y |@{{#external_value: {{ | + | Online {{#time: d M Y |@{{#external_value: {{{forumid|}}}lastactivity }}}} ● {{#external_value: {{{forumid|}}}posts }} Posts |
|}}</div> | |}}</div> | ||
<!-- View/Discuss/Edit Line --> | <!-- View/Discuss/Edit Line --> | ||
Revision as of 21:05, 8 May 2016
[create]
Template documentation
| Editors can experiment in this template's sandbox (create). Subpages of this template: |