Jump to content

Template:Infobox sportsperson/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Add support for title parameter of Template:Infobox medal templates as already found in Template:Infobox football biography, Template:Infobox tennis biography, Template:Infobox volleyball biography, etc. - uses default if not specified
proposed change
Line 1: Line 1:
{{Infobox
{{ infobox
| bodyclass = vcard
| bodyclass = vcard
| title = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| title = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
Line 137: Line 137:


| header58 = {{Infobox medal templates
| header58 = {{Infobox medal templates
|title = {{#if:{{{medaltemplates-title|}}}|{{{medaltemplates-title}}}}}
|title = {{{medaltemplates-title|}}}
|medals = {{{medaltemplates|}}}
|medals = {{{medaltemplates|}}}
|expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}
|expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}
Line 147: Line 147:
| below = {{#if:{{{updated|}}}|Updated on {{{updated}}}.}}
| below = {{#if:{{{updated|}}}|Updated on {{{updated}}}.}}


}}<includeonly>{{Wikidata image|1={{{image|}}} }}</includeonly><noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].-->
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].-->

Revision as of 17:16, 19 March 2015