Difference between revisions of "Template:Infobox noble"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(move born/died up per request on the talk page)
Line 67: Line 67:
 
}}
 
}}
  
| label20 = [[{{#if:{{{house-type|}}}|{{{house-type}}}|Nobility}}|{{#if:{{{house-type|}}}|Family|Noble family}}]]
+
| label20 = Born
| data20  = {{{noble family|}}}
+
| data20  = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }}
  
| label21 = Father
+
| label21 = Baptised
| data21  = {{{father|}}}
+
| data21  = {{br separated entries| {{if empty|{{{christening_date|}}}|{{{date of christening|}}}}} | {{if empty|{{{christening_place|}}}|{{{place of christening|}}}}} }}
  
| label22 = Mother
+
| label22 = Died
| data22  = {{{mother|}}}
+
| data22  = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
  
| label23 = Born
+
| label23 = Buried
| data23  = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }}
+
| data23  = {{br separated entries| {{if empty|{{{burial_date|}}}|{{{date of burial|}}}}} | {{#if:{{{burial_place|}}}{{{place of burial|}}}| <span class="label">{{if empty|{{{burial_place|}}}|{{{place of burial|}}}}}</span> }} | {{{resting_place_coordinates|}}} }}
  
| label24 = Baptised
+
| label24 = [[{{#if:{{{house-type|}}}|{{{house-type}}}|Nobility}}|{{#if:{{{house-type|}}}|Family|Noble family}}]]
| data24  = {{br separated entries| {{if empty|{{{christening_date|}}}|{{{date of christening|}}}}} | {{if empty|{{{christening_place|}}}|{{{place of christening|}}}}} }}
+
| data24  = {{{noble family|}}}
  
| label25 = Died
+
| label25 = Father
| data25  = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
+
| data25  = {{{father|}}}
  
| label26 = Buried
+
| label26 = Mother
| data26  = {{br separated entries| {{if empty|{{{burial_date|}}}|{{{date of burial|}}}}} | {{#if:{{{burial_place|}}}{{{place of burial|}}}| <span class="label">{{if empty|{{{burial_place|}}}|{{{place of burial|}}}}}</span> }} | {{{resting_place_coordinates|}}} }}
+
| data26  = {{{mother|}}}
  
 
| label27 = Signature
 
| label27 = Signature

Revision as of 12:54, 30 July 2017

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