Difference between revisions of "Template:Infobox bodybuilder/doc"

From blackwiki
Jump to navigation Jump to search
(→‎Usage: + {{convert}} sub-template)
imported>Zyxw
(add {{Parameter names example}}, misc formatting)
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 -->
 +
 
 +
The infobox may be added by pasting the template as shown below into an article and then filling in the fields. The only required fields are: name, birthdate/birthplace, and bestwin/bestwinyear.
  
 
== Usage ==
 
== Usage ==
The infobox may be added by pasting the template as shown below into an article and then filling in the fields. The only required fields are: name, birthdate/birthplace, and bestwin/bestwinyear.
+
{{Parameter names example | name | role | gender | image | image_size | alt | caption | nickname | birth_date | birth_place | death_date | death_place | height | weight | firstproshow | firstproshowyear | bestwin | bestwinyear | predecessor | successor | yesorretiredyear }}
  
<pre>{{Infobox bodybuilder
+
<pre style="overflow:auto;">
 +
{{Infobox bodybuilder
 
| name            =  
 
| name            =  
 
| gender          =  
 
| gender          =  
Line 17: Line 20:
 
| height          = <!-- {{convert| |ft| |in|cm|abbr=on}} or {{convert| |cm|ftin|frac=2|abbr=on}} -->
 
| height          = <!-- {{convert| |ft| |in|cm|abbr=on}} or {{convert| |cm|ftin|frac=2|abbr=on}} -->
 
| weight          = <!-- {{convert| |lb|kg stlb|abbr=on}} or {{convert| |kg|lb stlb|abbr=on}}-->
 
| weight          = <!-- {{convert| |lb|kg stlb|abbr=on}} or {{convert| |kg|lb stlb|abbr=on}}-->
| firstproshow    =
+
| firstproshow    =  
| firstproshowyear =
+
| firstproshowyear =  
 
| bestwin          =  
 
| bestwin          =  
| bestwinyear      =
+
| bestwinyear      =  
| predecessor      =
+
| predecessor      =  
| successor        =
+
| successor        =  
 
| yesorretiredyear =  
 
| yesorretiredyear =  
}}</pre>
+
}}
 +
</pre>
 +
{{clear}}
  
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Sportsperson infobox templates|Bodybuilder]]
 
[[Category:Sportsperson infobox templates|Bodybuilder]]
</includeonly>
+
}}</includeonly>
 
 
<includeonly>
 
[[ar:قالب:صندوق معلومات كمال الأجسام]]
 
</includeonly>
 

Revision as of 04:13, 16 February 2017

The infobox may be added by pasting the template as shown below into an article and then filling in the fields. The only required fields are: name, birthdate/birthplace, and bestwin/bestwinyear.

Usage

Template:Parameter names example

{{Infobox bodybuilder
| name             = 
| gender           = 
| image            = 
| caption          = 
| nickname         = 
| birth_date       = {{Birth date and age|YYYY|MM|DD}}
| birth_place      = 
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place      = 
| height           = <!-- {{convert| |ft| |in|cm|abbr=on}} or {{convert| |cm|ftin|frac=2|abbr=on}} -->
| weight           = <!-- {{convert| |lb|kg stlb|abbr=on}} or {{convert| |kg|lb stlb|abbr=on}}-->
| firstproshow     = 
| firstproshowyear = 
| bestwin          = 
| bestwinyear      = 
| predecessor      = 
| successor        = 
| yesorretiredyear = 
}}

Microformat

Template:UF-hcard-person