Difference between revisions of "Template:Character"

From NorCon MUSH
Line 1: Line 1:
 
<includeonly>{|style="float:right; width:250px; background-color: #FFFFFF;margin:0 0 1em 1em; text-align:left;" class="table table-striped"  
 
<includeonly>{|style="float:right; width:250px; background-color: #FFFFFF;margin:0 0 1em 1em; text-align:left;" class="table table-striped"  
 
|-
 
|-
|colspan=2 style="text-align:center;" | {{#ifeq: {{{picture|}}} | | | {{{image|[[Image:{{{picture}}}|{{{frame}}}|250px]]}}} {{#set:Picture=File:{{{picture}}}}} {{#set:PB Display=[[{{BASEPAGENAME}}]]<br>'' {{{pb|}}} ''}}}}
+
|colspan=2 style="text-align:center;" | {{#ifeq: {{{picture|}}} | | | {{{image|[[Image:{{{picture}}}|{{{frame}}}|250px]]}}} {{#set:Picture=File:{{{picture}}}}} {{#set:PB Display=[[{{BASEPAGENAME}}]]<br>'' {{{playedby|}}} ''}}}}
 
|-
 
|-
 
!colspan=2 style="text-align:center; font-size: larger;" | {{#ifeq: {{{name}}} | | {{BASEPAGENAME}} | '''{{BASEPAGENAME}}''' {{#set:Character={{BASEPAGENAME}}}} }}
 
!colspan=2 style="text-align:center; font-size: larger;" | {{#ifeq: {{{name}}} | | {{BASEPAGENAME}} | '''{{BASEPAGENAME}}''' {{#set:Character={{BASEPAGENAME}}}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{rank | }}} | | | {{!}}'''Rank''' {{!}}{{!}} [[Rank::{{{rank}}}]] }}
+
{{#ifeq: {{{Has rank | }}} | | | {{!}}'''Rank''' {{!}}{{!}} [[Rank::{{{Has rank}}}]] }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{home | }}} | | | {{!}}'''Location''' {{!}}{{!}} [[Where::{{{home}}} ]]}}
+
{{#ifeq: {{{where| }}} | | | {{!}}'''Location''' {{!}}{{!}} [[Where::{{{where}}} ]]}}
 
|-valign="top"
 
|-valign="top"
 
{{#ifeq: {{Pair}} | | {{#ifeq: {{{dragon|}}} | | | {{!}}'''Dragon'''  {{!}}{{!}}{{{color}}} {{{dragon}}} {{#set:Dragon={{{color}}} {{{dragon}}} }} }} | {{!}}'''Dragon''' {{!}}{{!}} {{Pair}} {{#set:Dragon={{Pair}}}} }}
 
{{#ifeq: {{Pair}} | | {{#ifeq: {{{dragon|}}} | | | {{!}}'''Dragon'''  {{!}}{{!}}{{{color}}} {{{dragon}}} {{#set:Dragon={{{color}}} {{{dragon}}} }} }} | {{!}}'''Dragon''' {{!}}{{!}} {{Pair}} {{#set:Dragon={{Pair}}}} }}
Line 23: Line 23:
 
{{#ifeq: {{{friends | }}} | | | {{!}}'''Other Ties''' {{!}}{{!}} {{{friends}}} }}
 
{{#ifeq: {{{friends | }}} | | | {{!}}'''Other Ties''' {{!}}{{!}} {{{friends}}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{pb | }}} | | | {{!}}'''Played By''' {{!}}{{!}} {{{pb}}} {{#set:PB={{{pb}}}}} }}
+
{{#ifeq: {{{playedby | }}} | | | {{!}}'''Played By''' {{!}}{{!}} {{{playedby}}} {{#set:PB={{{playedby}}}}} }}
 
|-valign="top"
 
|-valign="top"
 
{{#ifeq: {{{cb| }}} | | | {{!}}'''Created By''' {{!}}{{!}} {{{cb}}} {{#set:CB={{{cb}}}}} }}
 
{{#ifeq: {{{cb| }}} | | | {{!}}'''Created By''' {{!}}{{!}} {{{cb}}} {{#set:CB={{{cb}}}}} }}

Revision as of 21:00, 7 March 2015