Difference between revisions of "Template:Infobox rugby league biography/PERSONAL/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(if "retired=yes" and only "temp" parameter defined, don't display header since nothing is displayed; see Template:Infobox rugby league biography/testcases)
imported>Zyxw
(display header if only death_place defined, removed unneeded <noinclude>)
 
Line 1: Line 1:
 
<noinclude>{| class="infobox"
 
<noinclude>{| class="infobox"
 
</noinclude>{{!}}-
 
</noinclude>{{!}}-
{{#if:{{{fullname<includeonly>|</includeonly>}}}{{{nickname|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{#ifeq:{{{retired|<noinclude>-</noinclude>}}}|yes||{{{temp|}}}}}|
+
{{#if: {{{fullname<includeonly>|</includeonly>}}} {{{nickname|}}} {{{birth_date|}}} {{{birth_place|}}} {{{death_date|}}} {{{death_place|}}} {{#ifeq:{{{retired|}}}|yes||{{{temp|}}}}} |
 
! style="background: #b0c4de; text-align: center" colspan=7 {{!}} Personal information
 
! style="background: #b0c4de; text-align: center" colspan=7 {{!}} Personal information
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{fullname<includeonly>|</includeonly>}}}|
+
{{#if: {{{fullname<includeonly>|</includeonly>}}} |
 
{{!}}{{nowrap|'''Full name'''}}
 
{{!}}{{nowrap|'''Full name'''}}
 
{{!}} colspan=6 class="nickname" {{!}} {{{fullname}}}
 
{{!}} colspan=6 class="nickname" {{!}} {{{fullname}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{nickname<includeonly>|</includeonly>}}}|
+
{{#if: {{{nickname<includeonly>|</includeonly>}}} |
 
{{!}} '''Nickname'''
 
{{!}} '''Nickname'''
 
{{!}} colspan=6 class="nickname" {{!}} {{{nickname}}}
 
{{!}} colspan=6 class="nickname" {{!}} {{{nickname}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{birth_date<includeonly>|</includeonly>}}}{{{birth_place|}}}|
+
{{#if: {{{birth_date<includeonly>|</includeonly>}}} {{{birth_place|}}} |
 
{{!}} '''Born'''
 
{{!}} '''Born'''
 
{{!}} colspan=6 {{!}} {{br separated entries|{{{birth_date<includeonly>|</includeonly>}}}|{{{birth_place<includeonly>|</includeonly>}}}}}
 
{{!}} colspan=6 {{!}} {{br separated entries|{{{birth_date<includeonly>|</includeonly>}}}|{{{birth_place<includeonly>|</includeonly>}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{death_date<includeonly>|</includeonly>}}}{{{death_place|}}}|
+
{{#if: {{{death_date<includeonly>|</includeonly>}}} {{{death_place|}}} |
 
{{!}} '''Died'''
 
{{!}} '''Died'''
 
{{!}} colspan=6 {{!}} {{br separated entries|{{{death_date<includeonly>|</includeonly>}}}|{{{death_place<includeonly>|</includeonly>}}}}}  
 
{{!}} colspan=6 {{!}} {{br separated entries|{{{death_date<includeonly>|</includeonly>}}}|{{{death_place<includeonly>|</includeonly>}}}}}  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#ifeq: {{{retired|<noinclude>-</noinclude>}}}|yes||
+
{{#ifeq: {{{retired|}}}|yes||
 
{{#if: {{{death_date|}}}||
 
{{#if: {{{death_date|}}}||
 
<noinclude>{{!}}</noinclude>{{{temp}}}
 
<noinclude>{{!}}</noinclude>{{{temp}}}

Latest revision as of 06:30, 23 January 2017

Personal information
Full name {{{fullname}}}
Nickname {{{nickname}}}
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
{{{temp}}}