Difference between revisions of "Template:MedalSport"
Jump to navigation
Jump to search
imported>Zyxw (add hidden tracking categories - tested with /sandbox) |
imported>Zyxw m (add "vertical-align:middle;" to match output of {{Medal|Sport}}) |
||
Line 2: | Line 2: | ||
</noinclude> | </noinclude> | ||
|- | |- | ||
− | ! colspan="3" style="text-align:center; background-color:#eeeeee;" | {{{1}}}{{Main other | {{#ifeq: {{#property:P21}} | male | {{#ifeq: {{str left|{{{1}}}|5}} | Women | [[Category:Articles about men with MedalSport template for women's sport]]}}}}{{#ifeq: {{#property:P21}} | female | {{#ifeq: {{str left|{{{1}}}|3}} | Men | [[Category:Articles about women with MedalSport template for men's sport]]}}}}}}<noinclude> | + | ! colspan="3" style="text-align:center;vertical-align:middle;background-color:#eeeeee;" | {{{1}}}{{Main other | {{#ifeq: {{#property:P21}} | male | {{#ifeq: {{str left|{{{1}}}|5}} | Women | [[Category:Articles about men with MedalSport template for women's sport]]}}}}{{#ifeq: {{#property:P21}} | female | {{#ifeq: {{str left|{{{1}}}|3}} | Men | [[Category:Articles about women with MedalSport template for men's sport]]}}}}}}<noinclude> |
|} | |} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:08, 10 December 2016
{{{1}}} |
---|
Template:Medal templates documentation
Tracking categories
- Articles using MedalSport where Wikidata property sex or gender (P21) may be incorrect
- Category:Articles about men with MedalSport template for women's sport (0)
- Category:Articles about women with MedalSport template for men's sport (0)
The above documentation is transcluded from Template:MedalSport/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |