Template:Infobox sport wrestler and Template:Infobox checkers biography: Difference between pages
>Zyxw (pass parameter to {{Infobox sportsperson}} which can prevent {{Wikidata image}} from adding an article to Category:No local image but image on Wikidata) |
>Frietjes (fix for case where there is more than one image) |
||
Line 1: | Line 1: | ||
{{Infobox | |||
| | | bodyclass = vcard | ||
| | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| image | | aboveclass = fn | ||
| | |||
| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| | | caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} | ||
| | |||
| | | label1 = Full name | ||
| | | data1 = {{{full_name|{{{birth_name|{{{birthname|}}}}}}}}} | ||
| label2 = Country | |||
| | | class2 = adr | ||
| | | data2 = {{{country|}}} | ||
| | | label3 = Born | ||
| | | data3 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}} | ||
| label4 = Died | |||
| | | data4 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} | ||
| | | label5 = Title | ||
| | | class5 = note | ||
| data5 = {{{title|}}} | |||
| label6 = [[World Checkers/Draughts Championship|World Champion]] | |||
| class6 = note | |||
| data6 = {{{worldchampion|}}} | |||
| label7 = [[World Checkers/Draughts Championship|Women's World Champion]] | |||
| class7 = note | |||
| data7 = {{{womensworldchampion|}}} | |||
| label8 = [http://www.usacheckers.com/worldchampionshipresults.php Ranking] | |||
| data8 = {{{ranking|}}} | |||
}}<noinclude> | |||
| | {{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> | ||
| | |||
| | |||
| | |||
}} | |||
{{ | |||
<!-- | |||
</noinclude> |
Latest revision as of 18:54, 26 September 2016
Lua error in Module:Wikidata at line 880: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Blank syntax
{{Infobox checkers biography | name = | image = | caption = | birthname = | nickname = | country = | birth_date = | birth_place = | death_date = | death_place = | title = | worldchampion = | womensworldchampion = | ranking = }}
Example checkers
Marion Tinsley | |
---|---|
Full name | Marion Franklin Tinsley |
Country | United States |
Born | Ironton, Ohio, USA | February 3, 1927
Title | Grandmaster |
World Champion | 1955-1958 |
Ranking | No. 1 (September 1960 ) |
{{Infobox checkers biography | name = Marion Tinsley | image = Marion Tinsley.jpg | caption = | birthname = Marion Franklin Tinsley | country = United States | birth_date = {{birth date|1927|2|3|mf=yes}} | birth_place = [[Ironton, Ohio]], USA | death_date = | death_place = | title = [[Grandmaster (checkers)|Grandmaster]] | worldchampion = 1955-1958 | womensworldchampion = | ranking = No. 1 (September 1960 ) }}
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.