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

From blackwiki
Jump to navigation Jump to search
imported>De728631
(→‎Usage: here too)
imported>Primefac
(update /doc example for all params)
 
(17 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
 
== Usage ==
 
== Usage ==
{{Infobox noble|type
+
{{Parameter names example|alt | birth_date | birth_name | birthname | birth_place | body_discovered | burial_date | burial_place | caption | christening_date | christening_place | CoA | date of burial | date of christening | death_cause | death_date | death_place | father | footnotes | full name | heir | heir-type | honorific prefix | honorific_prefix | honorific-prefix | honorific suffix | honorific_suffix | honorific-suffix | house-type | image | image_size | issue | issue-link | issue-pipe | known | known_for | locality | memorials | misc | module | more | mother | name | nationality | native_name | native_name_lang | net_worth | noble family | occupation | offices | other_names | other_titles | parents | place of burial | place of christening | post-nominals | pre-nominals | pre-type | preceded by | preceded_by | predecessor | previous | reign | reign-type | religion | residence | resting_place | resting_place_coordinates | signature | spouse | spouse-type | styles | suc-type | succeeded by | succeeded_by | succession | successor | tenure | title | titles | url | wars_and_battles | website | years_active}}
| name              = {{{name}}}
+
 
| title            = {{{title}}}
+
 
| image            = {{{image}}}
 
| caption           = {{{caption}}}
 
| alt              = {{{alt}}}
 
| CoA               = {{{CoA}}}
 
| more              = no
 
| succession        = {{{succession}}}
 
| reign            = {{{reign}}}
 
| reign-type       = {{{reign-type}}}
 
| predecessor      = {{{predecessor}}}
 
| successor        = {{{successor}}}
 
| suc-type          = {{{suc-type}}}
 
| spouse            = {{{spouse}}}
 
| spouse-type      = {{{spouse-type}}}
 
| issue             = {{{issue}}}
 
| issue-link       = {{{issue-link}}}
 
| issue-pipe       = {{{issue-pipe}}}
 
| full name         = {{{full name}}}
 
| styles            = {{{styles}}}
 
| titles            = {{{titles}}}
 
| noble family     = {{{noble family}}}
 
| house-type       = {{{house-type}}}
 
| father            = {{{father}}}
 
| mother            = {{{mother}}}
 
| birth_date        = {{{birth_date}}}
 
| birth_place      = {{{birth_place}}}
 
| christening_date  = {{{christening_date}}}
 
| christening_place = {{{christening_place}}}
 
| death_date        = {{{death_date}}}
 
| death_place      = {{{death_place}}}
 
| burial_date      = {{{burial_date}}}
 
| burial_place      = {{{burial_place}}}
 
| religion          = {{{religion}}}
 
| occupation        = {{{occupation}}}
 
}}
 
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
 
{{Infobox noble|type
 
{{Infobox noble|type
Line 61: Line 28:
 
| issue-pipe        =  
 
| issue-pipe        =  
 
| full name        =  
 
| full name        =  
 +
| native_name      =
 
| styles            =  
 
| styles            =  
 
| titles            =  
 
| titles            =  
Line 67: Line 35:
 
| father            =  
 
| father            =  
 
| mother            =  
 
| mother            =  
 +
| birth_name        =
 
| birth_date        = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} -->
 
| birth_date        = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} -->
 
| birth_place      =  
 
| birth_place      =  
Line 75: Line 44:
 
| burial_date      =  
 
| burial_date      =  
 
| burial_place      =  
 
| burial_place      =  
| religion          =
+
| religion          =  
 
| occupation        =  
 
| occupation        =  
 +
| memorials        =
 +
| website          = <!-- {{{URL|example.com}} -->
 +
| module            =
 
}}
 
}}
 
</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]].
 +
 +
== Examples ==
 +
For more examples, see [[Special:WhatLinksHere/Template:Infobox noble|What links here]].
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox noble with unknown parameters}}
  
 
== See also ==
 
== See also ==
Line 84: Line 64:
 
* {{tl|Infobox person}}
 
* {{tl|Infobox person}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Royalty and nobility infobox templates]]
 
[[Category:Royalty and nobility infobox templates]]
</includeonly>
+
[[Category:Infobox templates with module parameter|Noble]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 16:09, 27 May 2020

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