Template:Infobox noble/doc: Difference between revisions

wiki>Zackmann08
 
Remove unsupported imported template links from documentation
 
(4 intermediate revisions by 2 users not shown)
Line 52: Line 52:
</syntaxhighlight>
</syntaxhighlight>


If the parameter {{para|house-type}} is set it alters the display of the label next to the {{para|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 {{para|house-type}} is set to and the word "Family" is displayed in place of "Noble family". So for example if {{para|house-type|Gentry}} is entered then the label is changed to [[Gentry|Family]].
If the parameter {{para|house-type}} is set it alters the display of the label next to the {{para|noble_family}} parameter. Instead of displaying the default "Noble family" (with a link to the article Nobility), the link is change to whatever the {{para|house-type}} is set to and the word "Family" is displayed in place of "Noble family". So for example if {{para|house-type|Gentry}} is entered then the label is changed to Family.


== Examples ==
== Examples ==
For more examples, see [[Special:WhatLinksHere/Template:Infobox noble|What links here]].
For more examples, see [[Special:WhatLinksHere/Template:Infobox noble|What links here]].


==TemplateData==
 
{{TemplateData header}}
<templatedata>
{
"params": {
"child": {
"label": "child?",
"type": "string",
"suggestedvalues": [
"yes"
],
"default": "no",
"autovalue": "yes"
},
"abovestyle": {},
"honorific prefix": {
"aliases": [
"honorific-prefix",
"honorific_prefix",
"pre-nominals"
],
"example": "[[The Most Honourable]]",
"type": "content"
},
"name": {
"type": "string",
"default": "(page name)"
},
"honorific suffix": {
"aliases": [
"honorific-suffix",
"honorific_suffix",
"post-nominals"
],
"example": "{{post-nominals|OBE}}",
"type": "content"
},
"title": {
"type": "content"
},
"image": {
"type": "wiki-file-name"
},
"image_size": {
"label": "image size",
"example": "120px",
"type": "line"
},
"alt": {
"label": "image alt text",
"type": "line"
},
"caption": {
"label": "image caption"
},
"succession": {
"label": "succession title",
"type": "content"
},
"more": {},
"CoA": {
"label": "coat of arms",
"example": "[[File:X coat of arms.svg]]",
"type": "content",
"required": true
},
"reign-type": {
"label": "reign type",
"example": "Consort",
"type": "content",
"default": "Reign"
},
"reign": {},
"tenure": {
"example": "978 – 1013",
"type": "content",
"required": true
},
"pre-type": {
"label": "predecessorship type",
"type": "content",
"default": "Predecessor"
},
"suc-type": {
"label": "successorship type",
"suggestedvalues": [
"Successors",
"[[Heir apparent]] ",
"[[Heiress apparent]]",
"[[Heir presumptive]]",
"[[Heiress presumptive]]"
],
"default": "Successor"
},
"successor": {
"aliases": [
"succeeded by",
"succeeded_by"
],
"required": true
},
"native_name_lang": {
"label": "native name language",
"type": "line"
},
"styles": {
"aliases": [
"titles"
],
"label": "titles and styles",
"type": "content"
},
"other_titles": {
"label": "other titles",
"type": "content"
},
"other_names": {
"label": "other names",
"type": "content"
},
"known": {
"aliases": [
"known_for"
],
"label": "known for"
},
"years_active": {
"label": "years active",
"type": "content"
},
"birth_name": {
"aliases": [
"birthname"
],
"label": "birth name",
"type": "line"
},
"birth_date": {
"label": "birth date",
"type": "content"
},
"birth_place": {
"label": "birth place",
"type": "content"
},
"christening_date": {
"aliases": [
"date of christening"
],
"label": "date of christening",
"type": "line"
},
"christening_place": {
"aliases": [
"place of christening"
],
"label": "place of christening"
},
"death_date": {
"label": "death date",
"type": "line"
},
"death_place": {
"label": "death place",
"type": "line"
},
"death_cause": {
"label": "death cause",
"type": "line"
},
"body_discovered": {
"label": "body discovered",
"type": "line"
},
"burial_date": {
"aliases": [
"date of burial"
],
"label": "date of burial",
"type": "line"
},
"burial_place": {
"aliases": [
"place of burial",
"resting_place"
],
"label": "place of burial"
},
"resting_place_coordinates": {
"label": "resting place coordinates",
"type": "line"
},
"nationality": {
"type": "content"
},
"residence": {
"type": "content"
},
"locality": {
"type": "content"
},
"networth": {
"label": "net worth",
"type": "line"
},
"wars_and_battles": {
"label": "wars and battles",
"type": "content"
},
"offices": {
"type": "content"
},
"house-type": {
"label": "house type",
"type": "line",
"default": "Nobility"
},
"spouse-type": {
"label": "spouse type",
"type": "line"
},
"spouse": {
"type": "content"
},
"issue-type": {
"label": "issue type",
"type": "content",
"default": "Issue"
},
"issue-link": {
"label": "issue link",
"type": "wiki-page-name"
},
"issue-pipe": {
"label": "issue pipe (label)",
"type": "line"
},
"issue": {
"type": "content"
},
"heir-type": {
"label": "heir type",
"type": "line",
"default": "Heir"
},
"heir": {
"type": "content"
},
"parents": {
"type": "content"
},
"father": {
"type": "content"
},
"mother": {
"type": "content"
},
"signature": {
"type": "wiki-file-name"
},
"occupation": {
"type": "content"
},
"memorials": {
"type": "content"
},
"website": {
"aliases": [
"url"
],
"type": "content"
},
"footnotes": {
"type": "content"
},
"module": {
"type": "content"
},
"misc": {
"type": "content"
},
"native name": {
"type": "line"
},
"predecessor": {
"aliases": [
"previous",
"preceded by",
"preceded_by"
],
"type": "content",
"required": true
},
"full_name": {
"aliases": [
"full name"
],
"type": "line"
},
"noble_family": {
"aliases": [
"noble family"
],
"type": "content"
}
},
"paramOrder": [
"honorific prefix",
"name",
"honorific suffix",
"title",
"image",
"image_size",
"alt",
"caption",
"more",
"succession",
"CoA",
"reign-type",
"reign",
"tenure",
"pre-type",
"predecessor",
"suc-type",
"successor",
"full_name",
"native name",
"native_name_lang",
"styles",
"other_titles",
"other_names",
"known",
"years_active",
"birth_name",
"birth_date",
"birth_place",
"christening_date",
"christening_place",
"death_date",
"death_place",
"death_cause",
"body_discovered",
"burial_date",
"burial_place",
"resting_place_coordinates",
"nationality",
"residence",
"locality",
"networth",
"wars_and_battles",
"offices",
"house-type",
"noble_family",
"spouse-type",
"spouse",
"issue-type",
"issue-link",
"issue-pipe",
"issue",
"heir-type",
"heir",
"parents",
"father",
"mother",
"signature",
"occupation",
"memorials",
"website",
"footnotes",
"module",
"misc",
"child",
"abovestyle"
],
"format": "block"
}
</templatedata>


== Tracking categories ==
== Tracking categories ==
Line 439: Line 63:


== See also ==
== See also ==
* {{tl|Infobox royalty}}
* <code>Template:Infobox royalty</code>
* {{tl|Infobox person}}
* {{tl|Infobox person}}


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Royalty and nobility infobox templates]]
 
[[Category:People and person infobox templates]]
[[Category:People and person infobox templates]]
[[Category:Infobox templates with module parameter|Noble]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
}}</includeonly>