Difference between revisions of "Template:Infobox noble"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(if empty)
Line 37: Line 37:
 
| data4  = {{{reign|}}}
 
| data4  = {{{reign|}}}
  
| label5 = {{{pre-type|Predecessor}}}
+
| label5 = {{if empty|{{{pre-type|}}}|Predecessor}}
 
| data5  = {{{predecessor|}}}
 
| data5  = {{{predecessor|}}}
  
| label6 = {{{suc-type|Successor}}}
+
| label6 = {{if empty|{{{suc-type|}}}|Successor}}
 
| data6  = {{{successor|}}}
 
| data6  = {{{successor|}}}
  
Line 88: Line 88:
 
| data26  = {{br separated entries| {{{burial_date|{{{date of burial|}}}}}} | {{#if:{{{burial_place|{{{place of burial|}}}}}} | <span class="label">{{{burial_place|{{{place of burial|}}}}}}</span> }} | {{{resting_place_coordinates|}}} }}
 
| data26  = {{br separated entries| {{{burial_date|{{{date of burial|}}}}}} | {{#if:{{{burial_place|{{{place of burial|}}}}}} | <span class="label">{{{burial_place|{{{place of burial|}}}}}}</span> }} | {{{resting_place_coordinates|}}} }}
  
| label27   = Signature
+
| label27 = Signature
| data27 = {{{signature|}}}
+
| data27 = {{{signature|}}}
  
 
| label28 = Religion
 
| label28 = Religion

Revision as of 00:09, 18 February 2016

[[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