[go: nahoru, domu]

Template:USOPC profile/sandbox: Difference between revisions

Content deleted Content added
copy of current template
Use Wikidata property P4063 if no ID in template. Add edit link if using Wikidata. Display message if no ID and no Wikidata.
Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P4063}}
{{#if:{{{accessdate|}}} |{{cite web |url= http://www.teamusa.org/{{#if:{{{3|{{{sport|}}}}}}|{{Trim|{{{3|{{{sport}}}}}}}}/|}}Athletes/{{Trim|{{{1|{{{id}}}}}}}} |title= {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}} |website= TeamUSA.org |publisher= [[United States Olympic Committee]] |accessdate= {{{accessdate}}} }} |[http://www.teamusa.org/{{#if:{{{3|{{{sport|}}}}}}|{{Trim|{{{3|{{{sport}}}}}}}}/|}}Athletes/{{Trim|{{{1|{{{id}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at [[United States Olympic Committee|TeamUSA.org]] }}<noinclude>
|{{#if:{{{accessdate|}}}
{{Documentation}}
{{#if:{{{accessdate|}}} |{{cite web |url= http://www.teamusa.org/{{#if:{{{3|{{{sport|}}}}}}|{{Trim|{{{3|{{{sport}}}}}}}}/|}}Athletes/{{Trim|{{{1|{{{id<includeonly>|{{#property:P4063}}</includeonly>}}}}}}}} |title= {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}} |website= TeamUSA.org |publisher= [[United States Olympic Committee]] |accessdate= {{{accessdate}}} }} |[http://www.teamusa.org/{{#if:{{{3|{{{sport|}}}}}}|{{Trim|{{{3|{{{sport}}}}}}}}/|}}Athletes/{{Trim|{{{1|{{{id}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at [[United States Olympic Committee|TeamUSA.org]] }}<noinclude>
<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
|[http://www.teamusa.org/{{#if:{{{3|{{{sport|}}}}}}|{{Trim|{{{3|{{{sport}}}}}}}}/|}}Athletes/{{Trim|{{{1|{{{id<includeonly>|{{#property:P4063}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at the [[United States Olympic Committee]]<includeonly>{{EditAtWikidata|pid=P4063|{{{1|{{{id|}}}}}}}}</includeonly>
}}
|<span class="error">&#123;&#123;[[Template:USOC profile|USOC profile]]&#125;&#125; template missing ID and not present in Wikidata.</span>
}}<noinclude>
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
</noinclude>