Template:Character
From Edge of Darkness Wiki
Character
| Line 1: | Line 1: | ||
| - | <includeonly>[[Category:{{{Player Name|}}}]]<!-- DB FOR USER INFO AND CHARACTER VARIABLES -->{{#if: {{{minisheet|}}}|{{#switch: {{{minisheet|}}} | + | <includeonly>[[Category:{{{Player Name|}}}]]<!-- DB FOR USER INFO AND CHARACTER VARIABLES -->{{#if: {{{forumid|}}}||{{#get_db_data:db=nwod|from=user JOIN userfield ON (userfield.userid = user.userid)|where=user.username LIKE '{{{Player Name|}}}'|data={{{forumid|}}}noinfouserid=user.userid,{{{forumid|}}}noinfousername=user.username}}}}{{#if: {{{minisheet|}}}|{{#switch: {{{minisheet|}}} |
|1={{#get_db_data:db=nwod | |1={{#get_db_data:db=nwod | ||
|from=user JOIN userfield ON (userfield.userid = user.userid) | |from=user JOIN userfield ON (userfield.userid = user.userid) | ||
| Line 76: | Line 76: | ||
|126 = {{#set:Character Status = Inactive}} | |126 = {{#set:Character Status = Inactive}} | ||
|{{#if: {{{Status|}}}|{{#set:Character Status = {{{Status|}}}}}|{{#set:Character Status = Active}} }} }} | |{{#if: {{{Status|}}}|{{#set:Character Status = {{{Status|}}}}}|{{#set:Character Status = Active}} }} }} | ||
| - | }}{{#if: {{#external_value: {{{forumid|}}}oneaccount }} |{{#switch: {{#external_value: {{{forumid|}}}oneaccount }} | + | }}{{#if: {{{forumid|}}}|{{#if: {{#external_value: {{{forumid|}}}oneaccount }} |{{#switch: {{#external_value: {{{forumid|}}}oneaccount }} |
|Yes={{#set:Player=User:{{#external_value: {{{forumid|}}}username}}|PlayerID={{#external_value: {{{forumid|}}}userid}} }} | |Yes={{#set:Player=User:{{#external_value: {{{forumid|}}}username}}|PlayerID={{#external_value: {{{forumid|}}}userid}} }} | ||
|No={{#set:Player=User:{{#external_value: {{{forumid|}}}mainname}}|PlayerID={{#external_value: {{{forumid|}}}mainid}} }} | |No={{#set:Player=User:{{#external_value: {{{forumid|}}}mainname}}|PlayerID={{#external_value: {{{forumid|}}}mainid}} }} | ||
|{{#set:Player=User:{{{Player Name|}}}|PlayerID={{{forumid|}}} }} | |{{#set:Player=User:{{{Player Name|}}}|PlayerID={{{forumid|}}} }} | ||
| - | }}|{{#set:Player=User:{{{Player Name|}}}|PlayerID={{{forumid|}}} }}}}<!-- PLAYER TOP ICON -->{{#if: {{{forumid|}}} |<div style="z-index: 2; border: 0px solid dimgrey; border-radius: 50%; height: 70px; width: 70px; overflow:hidden; display:none; right: 90px;" class="metadata topicon nopopups" ><html><a href="http://nwod.org/forum/member.php?</html>{{{forumid|}}}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{{forumid|}}}<html>.jpg" title="View Forum Profile Page" alt="View Forum Profile Page" style="min-height: 70px; width: 70px;" /></a></html></div>|<div style="right: 0px; z-index: 2; border: 0px solid dimgrey; border-radius: 50%; height: 70px; width: 70px; overflow:hidden; display:none; " class="metadata topicon nopopups" ><html><a href="http://nwod.org/forum/member.php?username=</html>{{{Player Name|}}}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{{forumid|}}}<html>.jpg" title="View Forum Profile Page" alt="View Forum Profile Page" style="min-height: 70px; width: 70px;" /></a></html></div>}}{{#switch:{{#external_value: {{{forumid|}}}oneaccount }}|No={{#show: {{PAGENAME}} |?PlayerID= |?Player# |format=template |template=PlayerAvatar }}|}}<!-- BEGIN VENUES --><div class="{{#show: {{PAGENAME}} |?Venue# }}page chartempwrapper {{#show: {{PAGENAME}} |?Venue# }}back" style="min-width: 850px;"> | + | }}|{{#set:Player=User:{{{Player Name|}}}|PlayerID={{{forumid|}}} }}}}|PlayerID={{#external_value: {{{forumid|}}}noinfouserid}} }}<!-- PLAYER TOP ICON -->{{#if: {{{forumid|}}} |<div style="z-index: 2; border: 0px solid dimgrey; border-radius: 50%; height: 70px; width: 70px; overflow:hidden; display:none; right: 90px;" class="metadata topicon nopopups" ><html><a href="http://nwod.org/forum/member.php?</html>{{{forumid|}}}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{{forumid|}}}<html>.jpg" title="View Forum Profile Page" alt="View Forum Profile Page" style="min-height: 70px; width: 70px;" /></a></html></div>|<div style="right: 0px; z-index: 2; border: 0px solid dimgrey; border-radius: 50%; height: 70px; width: 70px; overflow:hidden; display:none; " class="metadata topicon nopopups" ><html><a href="http://nwod.org/forum/member.php?username=</html>{{{Player Name|}}}<html>"><img src="http://nwod.org/forum/image.php?u=</html>{{{forumid|}}}<html>.jpg" title="View Forum Profile Page" alt="View Forum Profile Page" style="min-height: 70px; width: 70px;" /></a></html></div>}}{{#switch:{{#external_value: {{{forumid|}}}oneaccount }}|No={{#show: {{PAGENAME}} |?PlayerID= |?Player# |format=template |template=PlayerAvatar }}|}}<!-- BEGIN VENUES --><div class="{{#show: {{PAGENAME}} |?Venue# }}page chartempwrapper {{#show: {{PAGENAME}} |?Venue# }}back" style="min-width: 850px;"> |
<div class="grade05 chartempheader" > | <div class="grade05 chartempheader" > | ||
{{#switch: {{#show: {{PAGENAME}} |?Venue# }} | {{#switch: {{#show: {{PAGENAME}} |?Venue# }} | ||
Revision as of 17:58, 1 January 2017
[create]
Template documentation
| Editors can experiment in this template's sandbox (create). Subpages of this template: |