Difference between revisions of "Template:Infobox noble"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(move born/died up per request on the talk page)
imported>Ahwiv
m (update born section to support birthname as in infobox person)
Line 59: Line 59:
  
 
| label14 = Born
 
| label14 = Born
| data14  = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }}
+
| data14  = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
  
 
| label15 = Baptised
 
| label15 = Baptised
Line 104: Line 104:
  
 
| data32  = {{{module|}}}
 
| data32  = {{{module|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox noble with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox noble]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | alt | birth_date | birth_place | burial_date | burial_place | caption | christening_date | christening_place | CoA | date of burial | date of christening | death_date | death_place | father | full name | house-type | image | image_size | issue | issue-link | issue-pipe | memorials | module | more | mother | name | native_name | native_name_lang | noble family | occupation | place of burial | place of christening | pre-type | predecessor | reign | reign-type | religion | resting_place_coordinates | signature | spouse | spouse-type | styles | suc-type | succession | successor | title | titles | url | website }}<noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox noble with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox noble]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | alt | birth_date | birth_name | birthname | birth_place | burial_date | burial_place | caption | christening_date | christening_place | CoA | date of burial | date of christening | death_date | death_place | father | full name | house-type | image | image_size | issue | issue-link | issue-pipe | memorials | module | more | mother | name | native_name | native_name_lang | noble family | occupation | place of burial | place of christening | pre-type | predecessor | reign | reign-type | religion | resting_place_coordinates | signature | spouse | spouse-type | styles | suc-type | succession | successor | title | titles | url | website }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:20, 13 January 2018

BaptisedScript error: No such module "If empty".
Script error: No such module "If empty".
BuriedScript error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example


{{Infobox noble|type
| name              = 
| title             = 
| image             = 
| caption           = 
| alt               = 
| CoA               = 
| more              = no 
| succession        = 
| reign             = 
| reign-type        = 
| predecessor       = 
| successor         = 
| suc-type          = 
| spouse            = 
| spouse-type       = 
| issue             = 
| issue-link        = 
| issue-pipe        = 
| full name         = 
| native_name       = 
| styles            = 
| titles            = 
| noble family      = 
| house-type        = 
| father            = 
| mother            = 
| birth_name        =
| birth_date        = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} -->
| birth_place       = 
| christening_date  = 
| christening_place = 
| death_date        = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} -->
| death_place       = 
| burial_date       = 
| burial_place      = 
| religion          = 
| occupation        = 
| memorials         = 
| website           = <!-- {{{URL|example.com}} -->
| module            = 
}}

If the parameter "house type" is set it alters the display of the label next to the noble "family parameter". Instead of displaying the default "Noble family" ( with a link to the article Nobility), the link is change to whatever the "house type" is set to and the word "Family" is displayed in place of "Noble family". So for example if house-type=Gentry is entered then the label is changed to Family.

Examples

For more examples, see What links here.

Tracking category

See also