Difference between revisions of "Template:ProfileLogic"

From NorCon MUSH
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexist: Template:{{{9}}}Tabs|{{ {{{9}}}Tabs }}| }}
+
<includeonly>{{#ifexist: Template:{{{9}}}Tabs|{{ {{{9}}}Tabs }}| }}
 
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{9}}}|{{ {{{9}}} }}|<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{9}}}2|{{ {{{9}}}2 }}|<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''{{BASEPAGENAME}}'''
 
!colspan=2 style="text-align:center; padding-top: 5px; padding-bottom: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{9}}}|{{ {{{9}}} }}|<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{9}}}2|{{ {{{9}}}2 }}|<nowiki>#000000</nowiki>}} 2px solid; color:#FFFFFF; text-shadow: 2px 2px #000000;"| '''{{BASEPAGENAME}}'''
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{5}}} | | | {{!}}'''Rank''' {{!}}{{!}} {{{5}}} {{#set:Rank={{{5}}} }} {{#ifeq: {{{14}}} | | | {{#set:Wing={{{14}}} Wing}} {{#ifexist: {{{9}}}:{{{14}}} Wing |  ([[{{{9}}}:{{{14}}} Wing{{!}}{{{14}}} Wing]]) | ({{{14}}} Wing) }} }} {{#ifeq: {{{5}}} | Resident | {{#ifeq: {{{10}}} | | | ({{{10}}}) }} }} }}
+
{{!}}'''Rank''' {{!}}{{!}} [[Rank::{{{5}}}]]  {{#ifeq: {{{14}}} | | | {{#set:Wing={{{14}}} Wing}} {{#ifexist: {{{9}}}:{{{14}}} Wing |  ([[{{{9}}}:{{{14}}} Wing{{!}}{{{14}}} Wing]]) | ({{{14}}} Wing) }} }} {{#ifeq: {{{5}}} | Resident | {{#ifeq: {{{10}}} | | | ({{{10}}}) }} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{8}}} | | | {{!}}'''Home''' {{!}}{{!}} [[Where::{{{8}}}]] {{#ifeq:{{{12}}} | | | ({{{12}}})}}}}
+
{{#ifeq: {{{8}}} | | | {{!}}'''Home''' {{!}}{{!}} [[{{{8}}}]] {{#set:Where={{{8}}} }} {{#ifeq:{{{12}}} | | | ({{{12}}})}}}}
 
|-valign="top"
 
|-valign="top"
 
{{#ifeq: {{{7}}} | | | {{!}}'''Birthplace''' {{!}}{{!}} {{{7}}} }}
 
{{#ifeq: {{{7}}} | | | {{!}}'''Birthplace''' {{!}}{{!}} {{{7}}} }}
Line 12: Line 12:
 
{{#ifeq: {{{6}}} | | | {{!}}'''Craft''' {{!}}{{!}} {{{6}}} {{#ifeq: {{{10}}} | | | ({{{10}}})}} }}
 
{{#ifeq: {{{6}}} | | | {{!}}'''Craft''' {{!}}{{!}} {{{6}}} {{#ifeq: {{{10}}} | | | ({{{10}}})}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{4}}} | | | {{!}}'''Played-By''' {{!}}{{!}} {{{4}}} }}
+
{{#ifeq: {{{4}}} | | | {{!}}'''Played-By''' {{!}}{{!}} {{{4}}} }} {{#set:PB Display=[[{{BASEPAGENAME}}]]<br>'' {{{4}}} ''}}</includeonly>

Latest revision as of 08:41, 27 January 2016