Difference between revisions of "Template:Infobox curler/Wikidata"

From blackwiki
Jump to navigation Jump to search
imported>RexxS
(supply gender from Wikidata if parameter not already present)
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB)
 
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|bodyclass    = biography vcard
 
|bodyclass    = biography vcard
|above        = <includeonly>{{{name|{{PAGENAME}}}}}</includeonly>
+
|above        = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
 
|aboveclass  = fn
 
|aboveclass  = fn
  

Latest revision as of 18:36, 27 November 2016

Curler
Template documentation[view] [edit] [history] [purge]

Usage

Usage is the same as documented at Template:Infobox curler/doc except:

  • If the |gender= parameter is omitted, its value is fetched from Wikidata.
  • Supplying any value, including blank, to |gender= will use that value and no call will be made to Wikidata.

(At present only 'male', 'm', 'female', 'f' will produce any display or metadata.)