Difference between revisions of "Template:Infobox noble"
Jump to navigation
Jump to search
imported>Frietjes (move born/died up per request on the talk page) |
imported>Frietjes (move born/died up per request on the talk page) |
||
| Line 45: | Line 45: | ||
| header10 = {{#if: {{{succession|}}} | <span style="height: 4px"> </span>}} | | header10 = {{#if: {{{succession|}}} | <span style="height: 4px"> </span>}} | ||
| − | + | | data11 = {{#if: {{{full name|}}} | | |
| − | | data11 | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
'''Full name'''<div class="nickname" style="width:100%; padding-left:0.5em"><!-- "nickname" is the correct parameter value for hCard --> | '''Full name'''<div class="nickname" style="width:100%; padding-left:0.5em"><!-- "nickname" is the correct parameter value for hCard --> | ||
{{{full name}}}</div> | {{{full name}}}</div> | ||
}} | }} | ||
| − | | | + | | label12 = Native name |
| − | | | + | | data12 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} |
| − | | | + | | data13 = {{#if: {{{styles|}}}{{{titles|}}}| |
<div style="float: right; font-weight: bold;">{{small|''[[#Titles and styles|Detail]]''}}</div>'''Titles and styles'''<div style="width:100%; padding-left:0.5em"> | <div style="float: right; font-weight: bold;">{{small|''[[#Titles and styles|Detail]]''}}</div>'''Titles and styles'''<div style="width:100%; padding-left:0.5em"> | ||
{{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | {{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | ||
}} | }} | ||
| − | | | + | | label14 = Born |
| − | | | + | | data14 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }} |
| + | |||
| + | | label15 = Baptised | ||
| + | | data15 = {{br separated entries| {{if empty|{{{christening_date|}}}|{{{date of christening|}}}}} | {{if empty|{{{christening_place|}}}|{{{place of christening|}}}}} }} | ||
| − | | | + | | label16 = Died |
| − | | | + | | data16 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} |
| − | | | + | | label17 = Buried |
| − | | | + | | data17 = {{br separated entries| {{if empty|{{{burial_date|}}}|{{{date of burial|}}}}} | {{#if:{{{burial_place|}}}{{{place of burial|}}}| <span class="label">{{if empty|{{{burial_place|}}}|{{{place of burial|}}}}}</span> }} | {{{resting_place_coordinates|}}} }} |
| − | | | + | | label18 = [[{{#if:{{{house-type|}}}|{{{house-type}}}|Nobility}}|{{#if:{{{house-type|}}}|Family|Noble family}}]] |
| − | + | | data18 = {{{noble family|}}} | |
| − | | | + | | label19 = {{if empty|{{{spouse-type|}}}|{{#switch:{{{2}}}|consort=Consort to|{{#switch:{{{1}}}|monarch=Consort|majesty=Consort|Spouse(s)}}}}}} |
| − | + | | data19 = {{{spouse|}}} | |
| + | |||
| + | | data20 = {{#if:{{{issue|}}} | | ||
| + | {{#if:{{{issue-link|}}}|<div style="float: right; font-weight: bold;">{{small|''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''}}</div> }} | ||
| + | '''Issue'''<div style="width:100%; padding-left:0.5em"> | ||
| + | {{{issue|}}}</div> | ||
| + | }} | ||
| label25 = Father | | label25 = Father | ||
Revision as of 12:57, 30 July 2017
| Baptised | Script error: No such module "If empty". Script error: No such module "If empty". |
|---|---|
| Buried | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
| 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}}
| 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. |