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

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
m (update)
imported>FeRDNYC
 
(11 intermediate revisions by 6 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 -->
 +
{{Person infobox header}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage}}
 +
 
 +
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 | active }}
  
<pre>{{Infobox bodybuilder
+
<pre style="overflow:auto;">
 +
{{Infobox bodybuilder
 
| name            =  
 
| name            =  
 
| gender          =  
 
| gender          =  
Line 13: Line 18:
 
| birth_date      = {{Birth date and age|YYYY|MM|DD}}
 
| birth_date      = {{Birth date and age|YYYY|MM|DD}}
 
| birth_place      =  
 
| birth_place      =  
| death_date      = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
+
| death_date      = <!-- {{Death date and age|2017|08|20|1941|07|04}} -->
 
| death_place      =  
 
| death_place      =  
| height          =  
+
| height          = <!-- "X cm" or "X ft Y in" plus optional reference (conversions are automatic) -->
| weight          =  
+
| weight          = <!-- "X kg", "X lb" or "X st Y lb" plus optional reference (conversions are automatic) -->
| firstproshow    =
+
| firstproshow    =  
| firstproshowyear =
+
| firstproshowyear =  
 
| bestwin          =  
 
| bestwin          =  
| bestwinyear      =
+
| bestwinyear      =  
| predecessor      =
+
| predecessor      =  
| successor        =
+
| successor        =  
| yesorretiredyear =  
+
| active =
}}</pre>
+
}}
 +
</pre>
 +
{{clear}}
 +
 
 +
== Example ==
 +
{{Infobox bodybuilder
 +
| name            = Sergio Oliva
 +
| nickname        = The Myth
 +
| birth_date      = {{birth date|1941|07|04}}
 +
| birth_place      = [[Cuba]]
 +
| death_date      = {{death date and age|2012|11|12|1941|07|04}}
 +
| death_place      = [[Chicago]], [[Illinois]], [[United States]]
 +
| height          = 5 ft 8 in
 +
| weight          = 225 lb
 +
| firstproshow    = Mr. World
 +
| firstproshowyear = 1966
 +
| bestwin          = IFBB Mr. Olympia 1967–1969, three consecutive times
 +
| bestwinyear      = 1968 uncontested and unchallenged
 +
| predecessor      = [[Larry Scott (bodybuilder)|Larry Scott]]
 +
| successor        = [[Arnold Schwarzenegger#Bodybuilding career|Arnold Schwarzenegger]]
 +
| active = 1962–1985
 +
}}
 +
 
 +
<pre style="overflow:auto;">
 +
{{Infobox bodybuilder
 +
| name            = Sergio Oliva
 +
| nickname        = The Myth
 +
| birth_date      = {{birth date|1941|07|04}}
 +
| birth_place      = [[Cuba]]
 +
| death_date      = {{death date and age|2012|11|12|1941|07|04}}
 +
| death_place      = [[Chicago]], [[Illinois]], [[United States]]
 +
| height          = 5 ft 8 in
 +
| weight          = 225 lb
 +
| firstproshow    = Mr. World
 +
| firstproshowyear = 1966
 +
| bestwin          = IFBB Mr. Olympia 1967–1969, three consecutive times
 +
| bestwinyear      = 1968 uncontested and unchallenged
 +
| predecessor      = [[Larry Scott (bodybuilder)|Larry Scott]]
 +
| successor        = [[Arnold Schwarzenegger#Bodybuilding career|Arnold Schwarzenegger]]
 +
| active = 1962–1985
 +
}}
 +
</pre>
 +
{{clear}}
 +
 
 +
== Parameter aliases ==
 +
The template accepts {{para|yesorretiredyear}} as a legacy alias for the {{para|active}} parameter.
  
 
== 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>
+
[[Category:Biographical templates usable as a module|Bodybuilder]]
 
+
[[Category:Infobox templates with module parameter|Bodybuilder]]
<includeonly>
+
}}</includeonly>
[[ar:قالب:صندوق معلومات كمال الأجسام]]
 
</includeonly>
 

Latest revision as of 02:08, 26 December 2020

Template:Person infobox header

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|2017|08|20|1941|07|04}} -->
| death_place      = 
| height           = <!-- "X cm" or "X ft Y in" plus optional reference (conversions are automatic) -->
| weight           = <!-- "X kg", "X lb" or "X st Y lb" plus optional reference (conversions are automatic) -->
| firstproshow     = 
| firstproshowyear = 
| bestwin          = 
| bestwinyear      = 
| predecessor      = 
| successor        = 
| active = 
}}

Example

Sergio Oliva
Bodybuilder
Personal info
NicknameThe Myth
Born(1941-07-04)July 4, 1941
Cuba
DiedNovember 12, 2012(2012-11-12) (aged 71)
Chicago, Illinois, United States
Height5 ft 8 in (173 cm)
Weight225 lb (102 kg)
Professional career
Pro-debut
  • Mr. World
  • 1966
Best win
  • IFBB Mr. Olympia 1967–1969, three consecutive times
  • 1968 uncontested and unchallenged
PredecessorLarry Scott
SuccessorArnold Schwarzenegger
Active1962–1985
{{Infobox bodybuilder
| name             = Sergio Oliva
| nickname         = The Myth
| birth_date       = {{birth date|1941|07|04}}
| birth_place      = [[Cuba]]
| death_date       = {{death date and age|2012|11|12|1941|07|04}}
| death_place      = [[Chicago]], [[Illinois]], [[United States]]
| height           = 5 ft 8 in
| weight           = 225 lb
| firstproshow     = Mr. World
| firstproshowyear = 1966
| bestwin          = IFBB Mr. Olympia 1967–1969, three consecutive times
| bestwinyear      = 1968 uncontested and unchallenged
| predecessor      = [[Larry Scott (bodybuilder)|Larry Scott]]
| successor        = [[Arnold Schwarzenegger#Bodybuilding career|Arnold Schwarzenegger]]
| active = 1962–1985
}}

Parameter aliases

The template accepts |yesorretiredyear= as a legacy alias for the |active= parameter.

Microformat

Template:UF-hcard-person