Template:Olympics.com profile and Template:Olympics.com profile/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m replace unneeded use of Template:Main other |
m update default archive link |
||
Line 1: | Line 1: | ||
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P5815}} |
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P5815}} |
||
| [https://olympics.com/en/athletes/{{#if: {{{ |
| [https://olympics.com/en/athletes/{{#if: {{{id|{{{1<includeonly>|</includeonly>}}}}}} |
||
| {{{ |
| {{{id|{{{1}}}}}} |
||
| {{First word|{{#property:P5815}}|sep=,}} |
| {{First word|{{#property:P5815}}|sep=,}} |
||
⚫ | |||
}} {{ |
|||
⚫ | |||
| {{{2|{{{name}}}}}} |
| {{{2|{{{name}}}}}} |
||
| {{PAGENAMEBASE}} |
| {{PAGENAMEBASE}} |
||
}}] at [[International Olympic Committee|Olympics.com]] |
}}] at [[International Olympic Committee|Olympics.com]]{{ |
||
#if: {{Both| {{{oc<includeonly>|</includeonly>}}} | {{{org<includeonly>|</includeonly>}}} }} |
|||
⚫ | |||
| <!-- if both oc=n and org=n then no OlympicChannel.com or Olympic.org links --> |
|||
⚫ | |||
| {{#if:{{{oc|}}} |
|||
| <!-- if oc=n then no OlympicChannel.com link --> |
|||
⚫ | |||
⚫ | |||
| https://web.archive.org/web/{{{oc_archive}}}/ |
|||
| https://web.archive.org/web/20201231/ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| {{First word|{{#property:P5815}}|sep=,}} |
| {{First word|{{#property:P5815}}|sep=,}} |
||
⚫ | |||
⚫ | |||
| {{{2|{{{name}}}}}} |
|||
⚫ | |||
| {{PAGENAMEBASE}} |
| {{PAGENAMEBASE}} |
||
}}] at OlympicChannel.com (archived) |
}}] at OlympicChannel.com (archived) |
||
}}{{ |
}}{{#if:{{{org|}}} |
||
| <!-- if oc=n then no Olympic.org link --> |
|||
#if: {{{org_archive|}}} |
|||
| <li>[ |
| <li>[{{#if: {{{org_archive|}}} |
||
| https://web.archive.org/web/{{{org_archive}}}/ |
|||
⚫ | |||
| https://web.archive.org/web/20201231/ |
|||
}}https://www.olympic.org/{{ |
|||
⚫ | |||
| {{{org_id|{{{id|{{{1}}}}}}}}} |
| {{{org_id|{{{id|{{{1}}}}}}}}} |
||
| {{First word|{{#property:P3171}}|sep=,}} |
| {{First word|{{#property:P3171}}|sep=,}} |
||
}} {{#if: {{{org_name|{{{2|{{{name<includeonly>|</includeonly>}}}}}}}}} |
|||
}} {{ |
|||
⚫ | |||
| {{{org_name|{{{2|{{{name}}}}}}}}} |
| {{{org_name|{{{2|{{{name}}}}}}}}} |
||
| {{PAGENAMEBASE}} |
| {{PAGENAMEBASE}} |
||
}}] at Olympic.org (archived) |
}}] at Olympic.org (archived){{ |
||
#if: {{Both| {{{id|{{{1|}}}}}} | {{{org_id|}}} }} |
#if: {{Both| {{{id|{{{1|}}}}}} | {{{org_id|}}} }} |
||
| {{ |
| {{Main other|[[Category:Olympics.com template with different ID for Olympic.org]]}} |
||
| {{ |
| {{Main other|[[Category:Olympics.com template with same ID for Olympic.org]]}} |
||
⚫ | |||
}} |
}} |
||
}}<includeonly>{{EditAtWikidata|pid=P5815|{{{1|{{{id|}}}}}}}}</includeonly> |
|||
}} |
|||
| <span class="error">{{[[Template:Olympics.com profile|Olympics.com profile]]}} template missing ID and not present in Wikidata.</span>{{preview warning|1= |
| <span class="error">{{[[Template:Olympics.com profile|Olympics.com profile]]}} template missing ID and not present in Wikidata.</span>{{preview warning|1=to find the ID, see the [https://olympics.com/en/athletes/ Olympics.com search page] or this [https://www.google.com/search?q={{urlencode:{{PAGENAMEBASE}}}}+site%3Aolympics.com%2Fen%2Fathletes%2F Google search]}} |
||
#if: {{Both | {{#property:P3171}} | {{{org_archive|}}} }} |
|||
| <li>[https://web.archive.org/web/{{{org_archive}}}/https://www.olympic.org/{{First word|{{#property:P3171}}|sep=,}} {{PAGENAMEBASE}}] at Olympic.org (archived)<includeonly>{{EditAtWikidata|pid=P3171}}</includeonly> |
|||
}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Olympics.com template missing ID and not in Wikidata]]}} |
|||
}}<noinclude> |
|||
}}{{#invoke:Check for unknown parameters|check|unknown={{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Pages using Olympics.com template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using {{[[Template:Olympics.com profile|Olympics.com profile]]}} template with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | id | name | oc_name | oc_archive | org_id | org_name | org_archive }}<noinclude> |
|||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata --> |
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata --> |
||
</noinclude> |
</noinclude> |