Difference between revisions of "Template:ProfileLogic"

From NorCon MUSH
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<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}}} {{#ifeq: {{{14}}} | | | {{#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''' {{!}}{{!}} {{{8}}} {{#ifeq:{{{12}}} | | | ({{{12}}})}}}}
+
{{#ifeq: {{{8}}} | | | {{!}}'''Home''' {{!}}{{!}} [[{{{8}}}]] {{#set:Where={{{8}}} }} {{#ifeq:{{{12}}} | | | ({{{12}}})}}}}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{{10}}} | | | {{!}}'''Birthplace''' {{!}}{{!}} {{{10}}} }}
+
{{#ifeq: {{{7}}} | | | {{!}}'''Birthplace''' {{!}}{{!}} {{{7}}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{#external_value:dragon}} | | | {{!}}'''Dragon''' {{!}}{{!}} {{#ifeq: {{#external_value:hname}} | | [[Dragon:{{#external_value:dragon}}{{!}}{{#external_value:color}} {{#external_value:dragon}}]] {{#set:dragon= [[:Dragon:{{#external_value:dragon}}{{!}}{{#external_value:color}} {{#external_value:dragon}}]]}}| [[Dragon:{{#external_value:dragon}}{{!}}{{#external_value:hname}} {{#external_value:dragon}}]]{{#set:dragon= [[:Dragon:{{#external_value:dragon}}{{!}}{{#external_value:hname}} {{#external_value:dragon}}]]}}}} {{#set:DragonCreate=Dragon:{{#external_value:dragon}}}}}}
+
{{#ifeq: {{{13}}} | | | {{!}}'''Dragon''' {{!}}{{!}} {{#ifeq: {{{15}}} | | [[Dragon:{{{13}}}{{!}}{{{16}}} {{{13}}}]] | [[Dragon:{{{13}}}{{!}}{{{15}}} {{{13}}}]] }} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{#external_value:craft}} | | | {{!}}'''Craft''' {{!}}{{!}} [[Craft::{{#external_value:craft}}]] {{#ifeq: {{#external_value:craftspeciality}} | | | ({{#external_value:craftspeciality}})}}}}
+
{{#ifeq: {{{6}}} | | | {{!}}'''Craft''' {{!}}{{!}} {{{6}}} {{#ifeq: {{{10}}} | | | ({{{10}}})}} }}
 
|-valign="top"
 
|-valign="top"
{{#ifeq: {{#external_value:pb}} | | | {{!}}'''Played-By''' {{!}}{{!}} [[PB::{{#external_value:pb}}]] }}
+
{{#ifeq: {{{4}}} | | | {{!}}'''Played-By''' {{!}}{{!}} {{{4}}} }} {{#set:PB Display=[[{{BASEPAGENAME}}]]<br>'' {{{4}}} ''}}</includeonly>
|-valign="top"
+
{{#ifeq: {{{mother|}}} | | | {{!}}'''Mother''' {{!}}{{!}} {{{mother}}} }}
+
|-valign="top"
+
{{#ifeq: {{{father|}}} | | | {{!}}'''Father''' {{!}}{{!}} {{{father}}} }}
+
|-valign="top"
+
{{#ifeq: {{{siblings|}}} | | | {{!}}'''Siblings''' {{!}}{{!}} {{{siblings}}} }}
+
|-valign="top"
+
{{#ifeq: {{{children|}}} | | | {{!}}'''Children''' {{!}}{{!}} {{{children}}} }}
+
|-valign="top"
+
{{#ifeq: {{{friends|}}} | | | {{!}}'''Other Ties''' {{!}}{{!}} {{{friends}}} }}
+
|-valign="top"
+
{{#ifeq: {{{livejournal|}}} | | | {{!}}'''Livejournal''' {{!}}{{!}} {{{livejournal}}} }}
+

Latest revision as of 08:41, 27 January 2016