Difference between revisions of "Template:Infobox pageant titleholder/doc"

From blackwiki
Jump to navigation Jump to search
(→‎Usage: Less spaces)
imported>Zyxw
(separate parameter descriptions from blank template, list parameters in order displayed, add undocumented parameters, show example of blank template)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
=== Usage ===
+
== Usage ==
 +
{{Generic template demo
 +
| name
 +
| image
 +
| image_size
 +
| alt
 +
| caption
 +
| birth_name
 +
| birth_date
 +
| birth_place
 +
| alias
 +
| death_date
 +
| death_place
 +
| hometown
 +
| residence
 +
| education
 +
| alma_mater
 +
| occupation
 +
| years_active
 +
| films
 +
| agency
 +
| height
 +
| weight
 +
| measurements
 +
| skin_color
 +
| hair_color
 +
| eye_color
 +
| dress_size
 +
| collar
 +
| suit
 +
| shoe_size
 +
| title
 +
| competitions
 +
| spouse
 +
| domestic_partner
 +
| children
 +
| homepage
 +
| signature
 +
}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox pageant titleholder
 
{{Infobox pageant titleholder
| name        = <!-- name -->
+
| name        =  
| image        = <!-- Photo.jpg -->
+
| image        =  
| caption      = <!-- caption for image - where and photographer if known -->
+
| image_size  =  
| education    = <!-- Education  -->
+
| alt          =  
| alma_mater  = <!-- Alma mater  -->
+
| caption      =  
| occupation   = <!-- Occupation  -->
+
| birth_name   =  
| years_active = <!-- Use format 1990–2000, or 1990–present if still active  -->
+
| birth_date  =  
| birth_name  = <!-- Birth name  -->
+
| birth_place  =  
| alias        = <!-- Pseudonym/Alias(es) -->
+
| alias        =  
| birth_date   = <!-- {{birth date|YYYY|MM|DD}} -->
+
| death_date   =  
| birth_place = <!-- Birth location -->
+
| death_place =  
| hometown    = <!-- If different from birth place and current place of residence -->
+
| hometown    =  
| residence    = <!-- Current place of residence -->
+
| residence    =  
| death_date  = <!-- {{death date|YYYY|MM|DD}} -->
+
| education    =  
| death_place  = <!-- Place of death -->
+
| alma_mater  =  
| measurements = <!-- Measurements -->
+
| occupation  =  
| height      = <!-- {{convert|0|ft|0|in|m|2|abbr=on}} or {{convert|0|m|ftin|0|abbr=on}} -->
+
| years_active =  
| eye_color    =
+
| films        =  
| eye_colour  =
+
| agency      =  
| hair_color  =
+
| height      =  
| hair_colour  =
+
| weight      =  
| weight      = <!-- {{convert|0|kg|lb st|abbr=on|lk=on}} -->
+
| measurements =  
                <!-- or {{convert|0|lb|st kg|abbr=on|lk=on}} -->
+
| skin_color  =  
                <!-- or {{convert|0.0|st|kg lb|abbr=on|lk=on}} -->
+
| hair_color  =  
| title        = <!-- Title(s)  -->
+
| eye_color    =  
| competitions = <!-- Major competition(s)  -->
+
| dress_size  =  
| dress_size  = <!-- Dress size and system -->
+
| collar      =  
| shoe_size    = <!-- Shoe size and system -->
+
| suit        =  
| collar      = <!-- Collar size and system -->
+
| shoe_size    =  
| suit        = <!-- Suit size and system -->
+
| title       =  
| agency      = <!-- agency, if relevant -->
+
| competitions =
| films       = <!-- No. of films  -->
+
| spouse      =  
| spouse      = <!-- {{marriage}} -->
+
| domestic_partner =  
| domestic_partner = <!-- unmarried life partner; use ''Name (1950–present)'' -->
+
| children    =  
| children    = <!-- No. of children -->
+
| homepage    =  
| homepage    = <!-- Official website -->
+
| signature    =
 
}}
 
}}
 
</pre>
 
</pre>
  
=== Microformat ===
+
== Parameters ==
 +
; name        : name
 +
; image        : Photo.jpg
 +
; image_size  :
 +
; alt          :
 +
; caption      : caption for image - where and photographer if known
 +
; birth_name  : Birth name 
 +
; birth_date  : <nowiki>{{birth date|YYYY|MM|DD}}</nowiki>
 +
; birth_place  : Birth location
 +
; alias        : Pseudonym/Alias(es)
 +
; death_date  : <nowiki>{{death date|YYYY|MM|DD}}</nowiki>
 +
; death_place  : Place of death
 +
; hometown    : If different from birth place and current place of residence
 +
; residence    : Current place of residence
 +
; education    : Education 
 +
; alma_mater  : Alma mater 
 +
; occupation  : Occupation 
 +
; years_active : Use format 1990–2000, or 1990–present if still active 
 +
; films        : No. of films 
 +
; agency      : agency, if relevant
 +
; height      : <nowiki>{{convert|0|ft|0|in|m|2|abbr=on}} or {{convert|0|m|ftin|0|abbr=on}}</nowiki>
 +
; weight      : <nowiki>{{convert|0|kg|lb st|abbr=on|lk=on}} or {{convert|0|lb|st kg|abbr=on|lk=on}} or {{convert|0.0|st|kg lb|abbr=on|lk=on}}</nowiki>
 +
; measurements : Measurements
 +
; skin_color  : or '''skin_colour'''
 +
; hair_color  : or '''hair_colour'''
 +
; eye_color    : or '''eye_colour'''
 +
; dress_size  : Dress size and system
 +
; collar      : Collar size and system
 +
; suit        : Suit size and system
 +
; shoe_size    : Shoe size and system
 +
; title        : Title(s) 
 +
; competitions : Major competition(s) 
 +
; spouse      : <nowiki>{{marriage}}</nowiki>
 +
; domestic_partner : unmarried life partner; use ''Name (1950–present)''
 +
; children    : No. of children
 +
; homepage    : Official website
 +
; signature    : Image of signature
 +
 
 +
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
=== See also ===
+
== See also ==
 
* {{tl|Infobox person}}
 
* {{tl|Infobox person}}
 
* {{tl|Infobox model}}
 
* {{tl|Infobox model}}
 
* {{tl|Infobox fashion designer}}
 
* {{tl|Infobox fashion designer}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!--Categories below this line, please; interwikis at Wikidata-->
{{Basepage subpage|
 
 
[[Category:People infobox templates|Pageant titleholder]]
 
[[Category:People infobox templates|Pageant titleholder]]
}}
+
}}</includeonly>
[[fr:Modèle:Infobox Miss]]
 
[[id:Templat:Infobox Pageant titleholder]]
 
[[vi:Bản mẫu:Thông tin hoa hậu]]
 
</includeonly>
 

Revision as of 08:52, 3 December 2014

Usage

  1. redirect Template:Parameter names example
{{Infobox pageant titleholder
| name         = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| birth_name   = 
| birth_date   = 
| birth_place  = 
| alias        = 
| death_date   = 
| death_place  = 
| hometown     = 
| residence    = 
| education    = 
| alma_mater   = 
| occupation   = 
| years_active = 
| films        = 
| agency       = 
| height       = 
| weight       = 
| measurements = 
| skin_color   = 
| hair_color   = 
| eye_color    = 
| dress_size   = 
| collar       = 
| suit         = 
| shoe_size    = 
| title        = 
| competitions = 
| spouse       = 
| domestic_partner = 
| children     = 
| homepage     = 
| signature    = 
}}

Parameters

name
name
image
Photo.jpg
image_size
alt
caption
caption for image - where and photographer if known
birth_name
Birth name
birth_date
{{birth date|YYYY|MM|DD}}
birth_place
Birth location
alias
Pseudonym/Alias(es)
death_date
{{death date|YYYY|MM|DD}}
death_place
Place of death
hometown
If different from birth place and current place of residence
residence
Current place of residence
education
Education
alma_mater
Alma mater
occupation
Occupation
years_active 
Use format 1990–2000, or 1990–present if still active
films
No. of films
agency
agency, if relevant
height
{{convert|0|ft|0|in|m|2|abbr=on}} or {{convert|0|m|ftin|0|abbr=on}}
weight
{{convert|0|kg|lb st|abbr=on|lk=on}} or {{convert|0|lb|st kg|abbr=on|lk=on}} or {{convert|0.0|st|kg lb|abbr=on|lk=on}}
measurements 
Measurements
skin_color
or skin_colour
hair_color
or hair_colour
eye_color
or eye_colour
dress_size
Dress size and system
collar
Collar size and system
suit
Suit size and system
shoe_size
Shoe size and system
title
Title(s)
competitions 
Major competition(s)
spouse
{{marriage}}
domestic_partner 
unmarried life partner; use Name (1950–present)
children
No. of children
homepage
Official website
signature
Image of signature

Microformat

Template:UF-hcard-person

See also