Difference between revisions of "Template:Infobox noble"
Jump to navigation
Jump to search
imported>Primefac (switch for sigs) |
imported>DrKay (copy from sandbox) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 55: | Line 55: | ||
| label12 = Native name | | label12 = Native name | ||
| data12 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | | data12 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | ||
| − | | data13 = {{#if: {{{styles|}}}{{{titles|}}}| | + | | data13 = {{#if: {{{styles|}}}{{{titles|}}}|'''Titles and styles'''<div style="width:100%; padding-left:0.5em"> |
| − | |||
{{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | {{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | ||
}} | }} | ||
| Line 118: | Line 117: | ||
| label57 = {{#if:{{{signature|}}}|Signature}} | | label57 = {{#if:{{{signature|}}}|Signature}} | ||
| data57 = {{#ifexpr:{{str find|{{{signature|}}}|[File}}>0|{{{signature}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=128px}}}} | | data57 = {{#ifexpr:{{str find|{{{signature|}}}|[File}}>0|{{{signature}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=128px}}}} | ||
| − | |||
| − | |||
| − | |||
| label59 = Occupation | | label59 = Occupation | ||
| Line 136: | Line 132: | ||
| 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 | 3 | abovestyle | 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 | + | }}{{#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 | 3 | abovestyle | 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 | 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 }}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:06, 3 February 2021
| Baptised | Script error: No such module "If empty". Script error: No such module "If empty". |
|---|---|
| Buried | Script error: No such module "If empty". |
| Expression error: Unrecognized punctuation character "[". | |
[[Category:Infobox templates|Template:Remove first word]]
| 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}}
| The above documentation is transcluded from Template:Infobox noble/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |