Difference between pages "Template:BoxRec" and "Template:BoxRec/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Zyxw
m (update link text since site now also displays amateur boxer's records, see example in documentation)
 
imported>Zyxw
(update WikidataCheck to ignore any leading zeros in ID number from template)
 
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1967}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P1967}}
  
| [http://boxrec.com/en/boxer/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1967}}|sep=,}} }} Boxing record for {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] from [[BoxRec]]<includeonly>{{EditAtWikidata|pid=P1967|{{{1|{{{id|}}}}}}}}</includeonly> {{#if: {{{archive|}}} | ([https://web.archive.org/web/{{{archive}}}/http://boxrec.com/boxer/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1967}}|sep=,}} }} archive])}}{{WikidataCheck |property=P1967 |value={{#invoke:String|replace|source= {{{1|{{{id|}}}}}} |pattern= ^0* |plain= false }} |category=BoxRec template with ID |namespaces=0 |nocatsame=1}}
+
| [http://boxrec.com/en/boxer/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1967}}|sep=,}} }} Professional boxing record for {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] from [[BoxRec]]<includeonly>{{EditAtWikidata|pid=P1967|{{{1|{{{id|}}}}}}}}</includeonly> {{#if: {{{archive|}}} | ([https://web.archive.org/web/{{{archive}}}/http://boxrec.com/boxer/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P1967}}|sep=,}} }} archive])}}{{WikidataCheck |property=P1967 |value={{#invoke:String|replace|source= {{{1|{{{id|}}}}}} |pattern= ^0* |plain= false }} |category=BoxRec template with ID |namespaces=0 |nocatsame=1}}
  
 
| <span class="error">&#123;&#123;[[Template:BoxRec|BoxRec]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:BoxRec template missing ID and not in Wikidata]]}}
 
| <span class="error">&#123;&#123;[[Template:BoxRec|BoxRec]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:BoxRec template missing ID and not in Wikidata]]}}