Jump to content

Template:Infobox football biography and Template:Infobox football biography/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
>Goszei
only trigger when not embed
 
>Bearcat
no redlinked categories; only categories that actually exist are permitted
 
Line 2: Line 2:
| child      = {{Yesno|{{{embed|no}}}}}
| child      = {{Yesno|{{{embed|no}}}}}
| bodyclass  = vcard
| bodyclass  = vcard
| bodystyle  = line-height: 1.2em; max-width: 420px !important;
| bodystyle  = line-height: 1.2em;


| title      = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{#if:{{{header-color|}}}|<hr style="color: #202122;background-color: {{{header-color|transparent}}}; height: 3px;" />|}}<div style="text-align: center;">{{#if:{{{embed-header|}}}|{{{embed-header}}}|Association football career}}</div>|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| title      = {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{#if:{{{header-color|}}}|<hr style="background-color: {{{header-color|transparent}}}; height: 3px;" />|}}<div style="text-align: center;">{{#if:{{{embed-header|}}}|{{{embed-header}}}|Association football career}}</div>|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| titleclass  = fn
| titleclass  = fn
| titlestyle  = line-height: 1.2em; {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||font-size: 125%}}
| titlestyle  = line-height: 1.2em;


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{upright|}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{upright|}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
Line 12: Line 12:
| captionstyle= padding:0.2em 0 0 0;
| captionstyle= padding:0.2em 0 0 0;


| headerstyle = color: #202122;background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|#b0c4de}}; line-height: 1.5em
| headerstyle = background-color: {{#ifeq:{{Yesno|{{{embed|no}}}}}|yes|{{{header-color|transparent}}}|#b0c4de}}; line-height: 1.5em
| labelstyle  = white-space: nowrap; vertical-align: baseline; text-align: left
| labelstyle  = white-space: nowrap; vertical-align: baseline; text-align: left
| datastyle  = white-space: nowrap; vertical-align: baseline;
| datastyle  = white-space: nowrap; vertical-align: baseline;
Line 563: Line 563:
-->{{#if:{{{height|}}}|{{#ifeq:MATCH|{{#invoke:string|replace|{{#invoke:person height|main|{{{height|}}}|enforce=m|ri=cmin}}|.*[4-6]&nbsp;ft .*%d[01]?[&<].*nbsp;in %([12]%.%d%d&nbsp;m%).*|MATCH|plain=false}}||{{#ifeq:MATCH|{{#invoke:string|replace|{{#invoke:person height|main|{{{height|}}}|enforce=m|ri=cmin}}|.*[12]%.%d%d&nbsp;m %([4-6]&nbsp;ft .*%d[01]?[&<].*nbsp;in%).*|MATCH|plain=false}}||{{main other|[[Category:Pages using infobox football biography with height issues]]}}
-->{{#if:{{{height|}}}|{{#ifeq:MATCH|{{#invoke:string|replace|{{#invoke:person height|main|{{{height|}}}|enforce=m|ri=cmin}}|.*[4-6]&nbsp;ft .*%d[01]?[&<].*nbsp;in %([12]%.%d%d&nbsp;m%).*|MATCH|plain=false}}||{{#ifeq:MATCH|{{#invoke:string|replace|{{#invoke:person height|main|{{{height|}}}|enforce=m|ri=cmin}}|.*[12]%.%d%d&nbsp;m %([4-6]&nbsp;ft .*%d[01]?[&<].*nbsp;in%).*|MATCH|plain=false}}||{{main other|[[Category:Pages using infobox football biography with height issues]]}}
}}}}}}<!--
}}}}}}<!--
-->{{#if:{{{birth_date|}}}||{{#if:{{{position|}}}||}}}}<!--
-->{{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}} }} }}<!--
-->{{#ifeq:{{Yesno|{{{embed|no}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}} }} }}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox football biography with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox football biography]] with unknown parameter "_VALUE_"| alt | birth_date | birth_name | birth_place | caption | club-update | clubnumber | currentclub | death_date | death_place | embed | embed-header | full_name | fullname | header-color | height | image | image_size | medaltemplates | medaltemplates-expand | module | name | nationalteam-update | nocat_wdimage | ntupdate | pcupdate | position | upright
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox football biography with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox football biography]] with unknown parameter "_VALUE_"| alt | birth_date | birth_name | birth_place | caption | club-update | clubnumber | currentclub | death_date | death_place | embed | embed-header | full_name | fullname | header-color | height | image | image_size | medaltemplates | medaltemplates-expand | module | name | nationalteam-update | nocat_wdimage | ntupdate | pcupdate | position | upright