Difference between revisions of "Template:Infobox noble/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>PBS
(→‎Usage: Explain the alteration made by the last edit)
Line 88: Line 88:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
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 "[[Nobility|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 <code>house type=Gentry</code> is entered then the label is changed to [[Gentry|Family]].
  
 
== See also ==
 
== See also ==

Revision as of 15:04, 15 January 2015

Usage

{{{name}}}
{{{title}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
{{{succession}}}
Coat of arms{{{CoA}}}
Script error: No such module "If empty".{{{reign}}}
Script error: No such module "If empty".{{{predecessor}}}
Script error: No such module "If empty".{{{successor}}}
Full name
{{{full name}}}
Native name{{{native_name}}}
Titles and styles
{{{styles}}}
Born{{{birth_date}}}
{{{birth_place}}}
BaptisedScript error: No such module "If empty".
Script error: No such module "If empty".
Died{{{death_date}}}
{{{death_place}}}
BuriedScript error: No such module "If empty".
Script error: No such module "If empty".
{{{resting_place_coordinates}}}
[[{{{house-type}}}|Family]]{{{noble family}}}
Script error: No such module "If empty".{{{spouse}}}
[[{{{issue-link}}}|{{{issue-pipe}}}]]
Issue
{{{issue}}}
Father{{{father}}}
Mother{{{mother}}}
Expression error: Unrecognized punctuation character "[".
Occupation{{{occupation}}}
Memorials{{{memorials}}}
Website{{{url}}}
{{[module}}}
{{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         = 
| styles            = 
| titles            = 
| noble family      = 
| house-type        = 
| father            = 
| mother            = 
| 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         = 
| url               = <!-- {{{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.

See also