Jump to content

Template:World Athletics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fix for id beginning with zero
Fix date
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1146}}
{{Template for discussion/dated|action=|page=IAAF name|link=Wikipedia:Templates for discussion/Log/2019 October 8#Template:IAAF name|type=inline|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1146}}


| [{{#ifeq:{{str left|{{{1|{{{id}}}}}}|1}}|0|https://www.iaaf.org/athletes/_/|https://www.iaaf.org/athletes/biographies/athcode=}}{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1146}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[International Association of Athletics Federations|IAAF]]<includeonly>{{EditAtWikidata|pid=P1146|{{{1|{{{id|}}}}}}}}{{Main other|{{#if:{{{1|{{{id|}}}}}}|{{#if:{{#property:P1146}}|{{#ifeq:{{{1|{{{id|}}}}}}|{{#property:P1146}}||[[Category:IAAF ID different in Wikidata]]}}|[[Category:IAAF ID not in Wikidata]]}}}}}}</includeonly>
| [{{#ifeq:{{str left|{{{1|{{{id}}}}}}|1}}|0|https://www.iaaf.org/athletes/_/|https://www.iaaf.org/athletes/biographies/athcode=}}{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1146}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[International Association of Athletics Federations|IAAF]]<includeonly>{{EditAtWikidata|pid=P1146|{{{1|{{{id|}}}}}}}}{{Main other|{{#if:{{{1|{{{id|}}}}}}|{{#if:{{#property:P1146}}|{{#ifeq:{{{1|{{{id|}}}}}}|{{#property:P1146}}||[[Category:IAAF ID different in Wikidata]]}}|[[Category:IAAF ID not in Wikidata]]}}}}}}</includeonly>

Revision as of 00:06, 9 October 2019

{{{name}}} at IAAF