Template:Infobox noble: Difference between revisions
Appearance
Add dark mode infobox styles |
Hide nonexistent experiment links on selected templates |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox noble/styles.css" /> | <templatestyles src="Template:Infobox noble/styles.css" /> | ||
{{infobox | {{infobox | ||
| child = {{{child|}}} | | child = {{{child|}}} | ||
| Line 140: | Line 139: | ||
| data72 = {{{module|}}} | | data72 = {{{module|}}} | ||
| data73 = {{{misc|}}} | | data73 = {{{misc|}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox noble with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox noble]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | abovestyle | alt | birth_date | birth_name | birth_place | birthname | body_discovered | burial_date | burial_place | caption | child | christening_date | christening_place | CoA | date of burial | date of christening | death_cause | death_date | death_place | father | footnotes | full name | full_name | heir | heir-type | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | house-type | image | image_size | issue | issue-link | issue-pipe | issue-type | known | known_for | locality | memorials | misc | module | more | mother | name | nationality | native_name | native_name_lang | networth | noble family | 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 | 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 }}{{#invoke:Check for conflicting parameters|check | |||
| label74 = Era | |||
| data74 = {{{era|}}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox noble with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox noble]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | abovestyle | alt | birth_date | birth_name | birth_place | birthname | body_discovered | burial_date | burial_place | caption | child | christening_date | christening_place | CoA | date of burial | date of christening | death_cause | death_date | death_place | father | footnotes | full name | full_name | heir | heir-type | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | house-type | image | image_size | issue | issue-link | issue-pipe | issue-type | known | known_for | locality | memorials | misc | module | more | mother | name | nationality | native_name | native_name_lang | networth | noble family | 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 | 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 | |||
| era | |||
}}{{#invoke:Check for conflicting parameters|check | |||
| template = [[Template:Infobox noble]] | | template = [[Template:Infobox noble]] | ||
| cat = {{main other|Category:Pages using infobox noble with conflicting parameters}} | | cat = {{main other|Category:Pages using infobox noble with conflicting parameters}} | ||
| Line 158: | Line 162: | ||
| website; url | | website; url | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation|noexperiment=yes}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:19, 26 September 2026
Infobox noble |
|---|
| Warning | This template is used on approximately 7,800 pages and changes may be widely noticed. Test changes in the your own user subpage. Consider discussing changes on the talk page before implementing them. |
| File:Lua-Logo.svg | This template uses Lua: |
Usage
[edit source]{{{honorific prefix}}} {{{name}}} {{{honorific suffix}}} | |
|---|---|
| {{{title}}} | |
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] {{{caption}}} | |
| {{{succession}}} | |
| Coat of arms | {{{CoA}}} |
| {{{reign-type}}} | {{{reign}}} |
| Tenure | {{{tenure}}} |
| {{{pre-type}}} | {{{previous}}} |
| {{{suc-type}}} | {{{successor}}} |
| Full name | {{{full_name}}} |
| Native name | {{{native_name}}} |
| Titles and styles | {{{styles}}} |
| Other titles | {{{other_titles}}} |
| Other names | {{{other_names}}} |
| Known for | {{{known}}} |
| Years active | {{{years_active}}} |
| Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
| Baptised | {{{christening_date}}} {{{christening_place}}} |
| Died | {{{death_date}}} {{{death_place}}} |
| Cause of death | {{{death_cause}}} |
| Body discovered | {{{body_discovered}}} |
| Buried | {{{burial_date}}} {{{burial_place}}} {{{resting_place_coordinates}}} |
| Nationality | {{{nationality}}} |
| Residence | {{{residence}}} |
| Locality | {{{locality}}} |
| Net worth | {{{networth}}} |
| Wars and battles | {{{wars_and_battles}}} |
| Offices | {{{offices}}} |
| [[{{{house-type}}}|Family]] | {{{noble_family}}} |
| {{{spouse-type}}} | {{{spouse}}} |
| {{{issue-type}}} [[{{{issue-link}}}|{{{issue-pipe}}}]] | {{{issue}}} |
| {{{heir-type}}} | {{{heir}}} |
| Parents | {{{parents}}} |
| Father | {{{father}}} |
| Mother | {{{mother}}} |
| Signature | [[File:{{{signature}}}|128px]] |
| Occupation | {{{occupation}}} |
| Memorials | {{{memorials}}} |
| Website | {{{website}}} |
| Notes | |
| {{{footnotes}}} | |
| {{{module}}} | |
| {{{misc}}} | |
<syntaxhighlight lang="wikitext" style="overflow: auto">
Infobox noble |
|---|
</syntaxhighlight>
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
[edit source]For more examples, see What links here.
Tracking categories
[edit source]See also
[edit source]Template:Infobox royalty- {{Infobox person}}