Difference between revisions of "Template:Infobox noble/doc"
Jump to navigation
Jump to search
imported>PBS (→Usage: Explain the alteration made by the last edit) |
imported>Primefac (update /doc example for all params) |
||
| (14 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- 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 == | ||
| − | {{ | + | {{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}} |
| − | | | + | |
| − | | | + | |
| − | | | ||
| − | | caption | ||
| − | | | ||
| − | | CoA | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | issue | ||
| − | | issue-link | ||
| − | | issue-pipe | ||
| − | | | ||
| − | | native_name | ||
| − | | native_name_lang | ||
| − | | | ||
| − | |||
| − | | noble family | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | url | ||
| − | |||
| − | |||
<pre style="overflow: auto"> | <pre style="overflow: auto"> | ||
{{Infobox noble|type | {{Infobox noble|type | ||
| Line 67: | Line 28: | ||
| issue-pipe = | | issue-pipe = | ||
| full name = | | full name = | ||
| + | | native_name = | ||
| styles = | | styles = | ||
| titles = | | titles = | ||
| Line 73: | 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 84: | Line 47: | ||
| occupation = | | occupation = | ||
| memorials = | | memorials = | ||
| − | | | + | | website = <!-- {{{URL|example.com}} --> |
| module = | | 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]]. | + | 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 95: | Line 64: | ||
* {{tl|Infobox person}} | * {{tl|Infobox person}} | ||
| − | <includeonly>{{ | + | <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:Royalty and nobility infobox templates]] | ||
[[Category:Infobox templates with module parameter|Noble]] | [[Category:Infobox templates with module parameter|Noble]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 16:09, 27 May 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox noble. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Contents
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
- {{Infobox royalty}}
- {{Infobox person}}