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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(separate parameter descriptions from blank template, list parameters in order displayed, add undocumented parameters, show example of blank template)
 
(40 intermediate revisions by 20 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Uses infobox person}}
 +
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
 
== Usage ==
 
== Usage ==
{{Generic template demo
+
{{Parameter names example
 +
| honorific_prefix
 
| name
 
| name
 
| image
 
| image
Line 9: Line 13:
 
| alt
 
| alt
 
| caption
 
| caption
 +
| native_name
 +
| native_name_lang
 
| birth_name
 
| birth_name
 
| birth_date
 
| birth_date
 
| birth_place
 
| birth_place
| alias
 
 
| death_date
 
| death_date
 
| death_place
 
| death_place
| hometown
 
 
| residence
 
| residence
 +
| other_names
 
| education
 
| education
 
| alma_mater
 
| alma_mater
 
| occupation
 
| occupation
 
| years_active
 
| years_active
 +
| home_town
 +
| height
 +
| title
 +
| spouse
 +
| domestic_partner
 +
|boyfriend_girlfriend
 +
| children
 
| films
 
| films
 
| agency
 
| agency
| height
 
| weight
 
| measurements
 
| skin_color
 
 
| hair_color
 
| hair_color
 
| eye_color
 
| eye_color
| dress_size
 
| collar
 
| suit
 
| shoe_size
 
| title
 
 
| competitions
 
| competitions
| spouse
+
| module
| domestic_partner
+
| website
| children
 
| homepage
 
 
| signature
 
| signature
 +
| signature_size
 +
| signature_alt
 
}}
 
}}
 +
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox pageant titleholder
 
{{Infobox pageant titleholder
| name         =  
+
| name             =  
| image       =  
+
| image           =  
| image_size   =  
+
| image_size       =  
| alt         =  
+
| alt             =  
| caption     =  
+
| caption         =  
| birth_name  =  
+
| native_name      =  
| birth_date  =  
+
| native_name_lang =  
| birth_place  =  
+
| birth_name      =  
| alias        =  
+
| birth_date      = <!-- {{Birth date and age|yyyy|mm|dd}} -->
| death_date  =
+
| birth_place      =  
| death_place  =
+
| death_date      = <!-- {{Death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| hometown    =
+
| death_place      =  
| residence    =  
+
| residence        =  
| education    =
+
| other_names      =  
| alma_mater  =  
+
| education        =  
| occupation  =
+
| alma_mater      =  
| years_active =
+
| occupation       =  
| films        =
+
| years_active    =  
| agency      =
+
| home_town        =  
| height      =
+
| height          = <!-- X ft Y in, X cm, or X m, plus optional reference (automatic conversion) -->
| weight      =
+
| title            =  
| measurements =  
+
| spouse           =  
| skin_color  =  
 
| hair_color  =  
 
| eye_color    =  
 
| dress_size  =  
 
| collar       =  
 
| suit        =  
 
| shoe_size    =  
 
| title        =  
 
| competitions =  
 
| spouse       =  
 
 
| domestic_partner =  
 
| domestic_partner =  
| children    =  
+
|boyfriend/girlfriend =
| homepage    =  
+
| children         =
| signature    =  
+
| films            =
 +
| agency          =
 +
| hair_color      =
 +
| eye_color        =
 +
| competitions     =  
 +
| module          =
 +
| website          =  
 +
| signature       =
 +
| signature_size  =
 +
| signature_alt   =  
 
}}
 
}}
 
</pre>
 
</pre>
  
 
== Parameters ==
 
== Parameters ==
; name         : name  
+
; name             : name
; image       : Photo.jpg
+
; image           :  
; image_size   :  
+
; image_size       :  
; alt         :  
+
; alt             :  
; caption     : caption for image - where and photographer if known  
+
; caption         : caption for image - where and photographer if known
; birth_name   : Birth name
+
; native_name      :
; birth_date   : <nowiki>{{birth date|YYYY|MM|DD}}</nowiki>
+
; native_name_lang :
; birth_place : Birth location
+
; birth_name       : if different than name
; alias        : Pseudonym/Alias(es)
+
; birth_date       : use {{tl|Birth date and age}} if living or {{tl|Birth date}} if deceased
; death_date   : <nowiki>{{death date|YYYY|MM|DD}}</nowiki>
+
; birth_place     : place of birth
; death_place : Place of death  
+
; death_date       : use {{tl|Death date and age}} if deceased
; hometown    : If different from birth place and current place of residence  
+
; death_place     : place of death
; residence    : Current place of residence
+
; residence        : current place of residence
; education   : Education 
+
; other_names      : pseudonym or alias(es)
; alma_mater   : Alma mater
+
; education       : education
; occupation   : Occupation 
+
; alma_mater       : [[alma mater]]
; years_active : Use format 1990–2000, or 1990–present if still active
+
; occupation       : occcupation
; films       : No. of films 
+
; years_active     : use format 1990–2000, or 1990–present if still active
; agency      : agency, if relevant
+
; home_town       : if different from birth place and current place of residence
; height       : <nowiki>{{convert|0|ft|0|in|m|2|abbr=on}} or {{convert|0|m|ftin|0|abbr=on}}</nowiki>
+
; height           : X ft Y in, X cm, or X m, plus optional reference (automatic conversion)
; 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>
+
; title            : title(s)
; measurements : Measurements
+
; spouse          : use {{tl|Marriage}}
; skin_color  : or '''skin_colour'''
+
; domestic_partner : unmarried life partner; use ''Name (1950–present)''
; hair_color   : or '''hair_colour'''
+
; boyfriend/girlfriend : use ''Name (1950-present)''
; eye_color   : or '''eye_colour'''
+
; children        : number
; dress_size  : Dress size and system
+
; films            : number of films 
; collar      : Collar size and system
+
; agency          : agency, if relevant
; suit        : Suit size and system
+
; hair_color       : or '''hair_colour'''
; shoe_size    : Shoe size and system
+
; eye_color       : or '''eye_colour'''
; title        : Title(s)   
+
; competitions    : major competition(s)   
; competitions : Major competition(s) 
+
; module          :  
; spouse      : <nowiki>{{marriage}}</nowiki>
+
; website          : use {{tl|URL}}
; domestic_partner : unmarried life partner; use ''Name (1950–present)''
+
; signature        : image of signature
; children    : No. of children
+
; signature_size  :  
; homepage    : Official website
+
; signature_alt   :  
; signature   : Image of signature
 
  
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
 +
 +
== Tracking categories ==
 +
* {{clc|Pages using Infobox pageant titleholder with unknown parameters}}
 +
* {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
 +
* {{clc|No local image but image on Wikidata}} – Used by [[Template:Wikidata image]] to track articles where an infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, add an image or {{para|nocat_wdimage|yes}} to the infobox.
  
 
== See also ==
 
== See also ==
 
* {{tl|Infobox person}}
 
* {{tl|Infobox person}}
 
* {{tl|Infobox model}}
 
* {{tl|Infobox model}}
* {{tl|Infobox fashion designer}}
 
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!--Categories below this line, please; interwikis at Wikidata-->
 
<!--Categories below this line, please; interwikis at Wikidata-->
[[Category:People infobox templates|Pageant titleholder]]
+
{{DEFAULTSORT:Pageant titleholder}}
 +
[[Category:People and person infobox templates]]
 +
[[Category:Biographical templates usable as a module]]
 +
[[Category:Infobox templates with module parameter]]
 +
[[Category:Templates calling Infobox person]]
 +
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 11:30, 24 June 2020

Template:Uses infobox person Template:Tracks Wikidata

Usage

Template:Parameter names example

{{Infobox pageant titleholder
| name             = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| native_name      = 
| native_name_lang = 
| 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      = 
| residence        = 
| other_names      = 
| education        = 
| alma_mater       = 
| occupation       = 
| years_active     = 
| home_town        = 
| height           = <!-- X ft Y in, X cm, or X m, plus optional reference (automatic conversion) -->
| title            = 
| spouse           = 
| domestic_partner = 
|boyfriend/girlfriend =
| children         = 
| films            = 
| agency           = 
| hair_color       = 
| eye_color        = 
| competitions     = 
| module           = 
| website          = 
| signature        = 
| signature_size   = 
| signature_alt    = 
}}

Parameters

name
name
image
image_size
alt
caption
caption for image - where and photographer if known
native_name
native_name_lang 
birth_name
if different than name
birth_date
use {{Birth date and age}} if living or {{Birth date}} if deceased
birth_place
place of birth
death_date
use {{Death date and age}} if deceased
death_place
place of death
residence
current place of residence
other_names
pseudonym or alias(es)
education
education
alma_mater
alma mater
occupation
occcupation
years_active
use format 1990–2000, or 1990–present if still active
home_town
if different from birth place and current place of residence
height
X ft Y in, X cm, or X m, plus optional reference (automatic conversion)
title
title(s)
spouse
use {{Marriage}}
domestic_partner 
unmarried life partner; use Name (1950–present)
boyfriend/girlfriend 
use Name (1950-present)
children
number
films
number of films
agency
agency, if relevant
hair_color
or hair_colour
eye_color
or eye_colour
competitions
major competition(s)
module
website
use {{URL}}
signature
image of signature
signature_size
signature_alt

Microformat

Template:UF-hcard-person

Tracking categories

See also