Difference between revisions of "Template:Infobox sumo wrestler/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata}}
 +
{{Uses Wikidata|P18}}
  
 
== Usage ==
 
== Usage ==
 +
{{Parameter names example | name | native_name | native_name_lang | image | image_size | alt | caption | birth_name | birth_date | birth_place | death_date | death_place | height | weight | blogurl | weburl | heya | university | rank | record | debut | highestrank | retireddate | eldername | yushos | prizes | goldstars | update }}
  
 
You can insert the box into an article by copying the text below and filling in the applicable values.
 
You can insert the box into an article by copying the text below and filling in the applicable values.
 
+
<pre style="overflow:auto;">
<pre>{{Infobox sumo wrestler
+
{{Infobox sumo wrestler
| name        =
+
| name        =  
| native_name  =
+
| native_name  =  
| native_name_lang =
+
| native_name_lang =  
| image        =
+
| image        =
| birth_name  =
+
| image_size  =
| birth_date  = {{Birth date and age|YYYY|MM|DD}}
+
| alt          =
| birth_place  =
+
| caption      =  
| death_date  =
+
| birth_name  =  
| death_place  =
+
| birth_date  = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| height      =
+
| birth_place  =  
| weight      =
+
| death_date  = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| heya        =
+
| death_place  =  
| rank        =
+
| height      = <!-- "X cm" (automatic conversion) -->
| record      =
+
| weight       = <!-- "X kg" (automatic conversion) -->
| debut        =
+
| blogurl      =
| retireddate  =
+
| weburl       =  
| highestrank  =
+
| heya        =
| yushos      =
+
| university  =  
| prizes      =
+
| rank        =  
| goldstars    =
+
| record      =  
| shikona      =
+
| debut        =
| blogurl      =
+
| highestrank  =  
| weburl      =
+
| retireddate  =  
| update      =
+
| eldername    =  
}}</pre>
+
| yushos      =  
 +
| prizes      =  
 +
| goldstars    =  
 +
| update      =  
 +
}}
 +
</pre>
 +
{{clear}}
  
 
== Parameters ==
 
== Parameters ==
  
 
===Required===
 
===Required===
*name — The wrestler's ring name
+
* name — The wrestler's ring name
*birth_name — The wrestler's birth name
+
* birth_name — The wrestler's birth name
*birth_date — <nowiki>{{</nowiki>[[Template:birth date and age|birth date and age]]|yyyy|mm|dd<nowiki>}}</nowiki> if living, or <nowiki>{{</nowiki>[[Template:birth date|birth date]]|yyyy|mm|dd<nowiki>}}</nowiki> if not
+
* birth_date — <nowiki>{{</nowiki>[[Template:birth date and age|birth date and age]]|yyyy|mm|dd<nowiki>}}</nowiki> if living, or <nowiki>{{</nowiki>[[Template:birth date|birth date]]|yyyy|mm|dd<nowiki>}}</nowiki> if not
*birth_place — City (, State/Prefecture), Country
+
* birth_place — City (, State/Prefecture), Country
*heya — The wrestler's heya
+
* heya — The wrestler's [[heya (sumo)|heya]]
*update — Date of last update to the information in this box. Should be done every basho the wrestler is active.
+
* update — Date of last update to the information in this box (use <nowiki>{{subst:Date}}</nowiki> or <nowiki>{{subst:Date|2=mdy}}</nowiki> for the current date). Should be done every basho the wrestler is active.
  
 
===Optional===
 
===Optional===
*rank Current rank
+
* native_name —
*death_date — <nowiki>{{</nowiki>[[Template:Death date and age|Death date and age]]|yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki>
+
* native_name_lang —
*death_place — City (, State/Prefecture), Country
+
* image — Use standard image syntax, but give size only. Example: <nowiki>[[Image:SumoAsashoryu.jpg|200px]]</nowiki>
*image Use standard image syntax, but give size only. Example: <nowiki>[[Image:SumoAsashoryu.jpg|200px]]</nowiki>
+
* image_size —
*height — in cm, with [[United States customary units]] following in parentheses. Example: 191 cm (''6'3"'')
+
* alt —
*weight — in kg, with American units following in parentheses
+
* caption —  
*record — as win-loss-absent
+
* death_date — <nowiki>{{</nowiki>[[Template:Death date and age|Death date and age]] | yyyy|mm|dd|yyyy|mm|dd<nowiki>}}</nowiki>
*debut — Day Month Year of ring debut
+
* death_place — City (, State/Prefecture), Country
*retireddate — Day Month Year of retirement ceremony
+
* height — [[human height|height]] in [[centimetre]]s, with [[imperial units]] following in parentheses. Use <code>X cm</code> and the infobox will automatically display the conversion. The {{tl|convert}} template may also be used: <code><nowiki>{{convert|192|cm|ftin|frac=2|abbr=on}}</nowiki></code> displays {{convert|192|cm|ftin|frac=2|abbr=on}}.
*highestrank — Highest career rank achieved (date of first basho at rank)
+
* weight — [[human body weight|weight]] in [[kilogram]]s with imperial units following in parentheses. Use <code>X kg</code> and the infobox will automatically display the conversion. The {{tlf|convert}} template may also be used: <code><nowiki>{{convert|110|kg|lb stlb|frac=2|abbr=on}}</nowiki></code> displays {{convert|110|kg|lb stlb|frac=2|abbr=on}} and <code><nowiki>{{convert</nowiki>|110|kg|lb stlb|{{Hilite|0}}|abbr=on}}</code> displays {{convert|110|kg|lb stlb|0|abbr=on}}. The highlighted zero in the second example is necessary to prevent unwanted rounding of values ending in zero, otherwise it would display as {{convert|110|kg|lb stlb|abbr=on}}.
*yushos — Number (division), number (division),...
 
*prizes — Special prizes and number of times awarded
 
 
* blogurl — fully qualified url of wrestler's personal blog
 
* blogurl — fully qualified url of wrestler's personal blog
 
* weburl — fully qualified url of wrestler's personal website
 
* weburl — fully qualified url of wrestler's personal website
*goldstars — number of kinboshi
+
* university —
 +
* rank — Current rank, see [[professional sumo divisions]]
 +
* record — as win-loss-absent
 +
* debut — Day Month Year of ring debut
 +
* highestrank — Highest career rank achieved (date of first basho at rank)
 +
* retireddate — Day Month Year of retirement ceremony
 +
* eldername — see [[toshiyori]]
 +
* yushos — Number (division), number (division), ... (see [[yūshō]])
 +
* prizes — Special prizes and number of times awarded (see [[sanshō (sumo)|sanshō]])
 +
* goldstars — number of [[kinboshi]]
  
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Sportsperson infobox templates|Sumo wrestler]]
 
[[Category:Sportsperson infobox templates|Sumo wrestler]]
 
[[Category:Sumo templates]]
 
[[Category:Sumo templates]]
 
+
[[Category:Wrestling templates]]
[[de:Vorlage:Infobox Sumōringer]]
+
[[Category:Infobox templates with updated parameter]]
[[ja:Template:Infobox 力士]]
+
[[Category:Infobox templates using Wikidata]]
[[ka:თარგი:ინფოდაფა სუმოისტი]]
+
}}</includeonly>
[[zh:Template:Infobox 力士]]
 
</includeonly>
 

Latest revision as of 21:29, 25 April 2020

Template:Uses Wikidata

Usage

Template:Parameter names example

You can insert the box into an article by copying the text below and filling in the applicable values.

{{Infobox sumo wrestler
| name         = 
| native_name  = 
| native_name_lang = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| birth_name   = 
| birth_date   = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place  = 
| death_date   = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| death_place  = 
| height       = <!-- "X cm" (automatic conversion) -->
| weight       = <!-- "X kg" (automatic conversion) -->
| blogurl      = 
| weburl       = 
| heya         = 
| university   = 
| rank         = 
| record       = 
| debut        = 
| highestrank  = 
| retireddate  = 
| eldername    = 
| yushos       = 
| prizes       = 
| goldstars    = 
| update       = 
}}

Parameters

Required

  • name — The wrestler's ring name
  • birth_name — The wrestler's birth name
  • birth_date — {{birth date and age|yyyy|mm|dd}} if living, or {{birth date|yyyy|mm|dd}} if not
  • birth_place — City (, State/Prefecture), Country
  • heya — The wrestler's heya
  • update — Date of last update to the information in this box (use {{subst:Date}} or {{subst:Date|2=mdy}} for the current date). Should be done every basho the wrestler is active.

Optional

  • native_name —
  • native_name_lang —
  • image — Use standard image syntax, but give size only. Example: [[Image:SumoAsashoryu.jpg|200px]]
  • image_size —
  • alt —
  • caption —
  • death_date — {{Death date and age | yyyy|mm|dd|yyyy|mm|dd}}
  • death_place — City (, State/Prefecture), Country
  • height — height in centimetres, with imperial units following in parentheses. Use X cm and the infobox will automatically display the conversion. The {{convert}} template may also be used: {{convert|192|cm|ftin|frac=2|abbr=on}} displays 192 cm (6 ft 3 12 in).
  • weight — weight in kilograms with imperial units following in parentheses. Use X kg and the infobox will automatically display the conversion. The {{convert}} template may also be used: {{convert|110|kg|lb stlb|frac=2|abbr=on}} displays 110 kg (242 12 lb; 17 st 4 12 lb) and {{convert|110|kg|lb stlb|0|abbr=on}} displays 110 kg (243 lb; 17 st 5 lb). The highlighted zero in the second example is necessary to prevent unwanted rounding of values ending in zero, otherwise it would display as 110 kg (240 lb; 17 st 5 lb).
  • blogurl — fully qualified url of wrestler's personal blog
  • weburl — fully qualified url of wrestler's personal website
  • university —
  • rank — Current rank, see professional sumo divisions
  • record — as win-loss-absent
  • debut — Day Month Year of ring debut
  • highestrank — Highest career rank achieved (date of first basho at rank)
  • retireddate — Day Month Year of retirement ceremony
  • eldername — see toshiyori
  • yushos — Number (division), number (division), ... (see yūshō)
  • prizes — Special prizes and number of times awarded (see sanshō)
  • goldstars — number of kinboshi

Microformat

Template:UF-hcard-person