Jump to content

Template:ProCyclingStats and Template:ProCyclingStats/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m add preview only message if no ID in template or Wikidata
 
update tracking categories
 
Line 1: Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1663}}
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1663}}


| [https://www.procyclingstats.com/rider/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1663}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at ''ProCyclingStats''{{#if: {{{access-date|{{{accessdate|}}}}}} |. Retrieved {{{access-date|{{{accessdate}}}}}}.}}<includeonly>{{EditAtWikidata|pid=P1663|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P1663|value={{{1|{{{id|}}}}}}|category=ProCyclingStats template with ID|namespaces=0|nocatsame=1}}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{1|{{{id|}}}}}}
| [https://www.procyclingstats.com/rider/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1663}}|sep=,}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at ''ProCyclingStats''{{#if: {{{accessdate|}}} |. Retrieved {{{accessdate}}}.}}<includeonly>{{EditAtWikidata|pid=P1663|{{{1|{{{id|}}}}}}}}</includeonly>{{WikidataCheck|property=P1663|value={{{1|{{{id|}}}}}}|category=ProCyclingStats template with ID|namespaces=0}}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{{1|{{{id|}}}}}}
| {{#if: {{Isnumeric|{{{1|{{{id}}}}}}}}||{{#ifeq:{{{1|{{{id}}}}}}|{{#invoke:string|match|{{{1|{{{id}}}}}}|[a-z-]+%d*}}||[[Category:ProCyclingStats template using ID not matching pattern]]}}}}
| {{#if: {{Isnumeric|{{{1|{{{id}}}}}}}}||{{#ifeq:{{{1|{{{id}}}}}}|{{#invoke:string|match|{{{1|{{{id}}}}}}|[a-z-]+%d*}}||[[Category:ProCyclingStats template using ID not matching pattern]]}}}}
| [[Category:ProCyclingStats template using Wikidata]]
}}}}
}}}}


| <span class="error">&#123;&#123;[[Template:ProCyclingStats|ProCyclingStats]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{preview warning|1=to find the ID, see the [https://www.procyclingstats.com/ ProCyclingStats] website or try this [https://www.google.com/search?q={{urlencode:{{Remove accents|{{PAGENAMEBASE}}}}}}+site%3Awww.procyclingstats.com%2Frider%2F Google search]}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:ProCyclingStats template missing ID and not in Wikidata]]}}
| <span class="error">&#123;&#123;[[Template:ProCyclingStats|ProCyclingStats]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:ProCyclingStats template missing ID and not in Wikidata]]}}


}}<noinclude>
}}<noinclude>