Difference between revisions of "Template:FACR player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m (}})
imported>Zyxw
(add links to tracking categories)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Uses Wikidata|P3050}}
 
{{Uses Wikidata|P3050}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
{{Tracks Wikidata|P3050}}
  
 
== Usage ==
 
== Usage ==
  
 
=== No parameters ===  
 
=== No parameters ===  
 
 
Use:  
 
Use:  
  
:<code><nowiki>{{CMFS player}}</nowiki></code>  
+
: <code><nowiki>{{CMFS player}}</nowiki></code>  
  
 
and the template will pull the ID from [[Wikidata]] (if present there) and extract the link text from the page name, minus any parenthetical disambiguation.  
 
and the template will pull the ID from [[Wikidata]] (if present there) and extract the link text from the page name, minus any parenthetical disambiguation.  
  
 
=== With parameters ===
 
=== With parameters ===
 
 
<code><nowiki>{{CMFS player|id|name}}</nowiki></code>
 
<code><nowiki>{{CMFS player|id|name}}</nowiki></code>
 
* eg: <code><nowiki>{{CMFS player|PekhartTomas|Tomáš Pekhart}}</nowiki></code>  
 
* eg: <code><nowiki>{{CMFS player|PekhartTomas|Tomáš Pekhart}}</nowiki></code>  
 
* or <code><nowiki>{{CMFS player|PekhartTomas}}</nowiki></code>  
 
* or <code><nowiki>{{CMFS player|PekhartTomas}}</nowiki></code>  
 +
 +
==Tracking categories==
 +
* [[:Category:CMFS player ID not in Wikidata]] ({{PAGESINCAT:CMFS player ID not in Wikidata}} pages)
 +
* [[:Category:CMFS player ID different from Wikidata]] ({{PAGESINCAT:CMFS player ID different from Wikidata}} pages)
 +
* [[:Category:CMFS player ID same as Wikidata]] ({{PAGESINCAT:CMFS player ID same as Wikidata}} pages)
 +
* [[:Category:CMFS player template with no id set]] (exists in template, not created)
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Association football external link templates]]
 
[[Category:Association football external link templates]]
[[Category:People and person external link templates|{{PAGENAME}}]]
+
[[Category:People and person external link templates]]
 +
[[Category:Templates that add a tracking category]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:37, 20 October 2016

Template:Uses Wikidata Template:Tracks Wikidata

Usage

No parameters

Use:

{{CMFS player}}

and the template will pull the ID from Wikidata (if present there) and extract the link text from the page name, minus any parenthetical disambiguation.

With parameters

{{CMFS player|id|name}}

  • eg: {{CMFS player|PekhartTomas|Tomáš Pekhart}}
  • or {{CMFS player|PekhartTomas}}

Tracking categories