Template:Infobox character: Difference between revisions
aw>Rikke m Added data modules |
m 11 revisions imported: Bringing in some custom made templates from the old wiki |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | |||
| title = <small>{{{title|}}}</small> | | title = <small>{{{title|}}}</small> | ||
| abovestyle = background:#ffc757; | | abovestyle = background:#ffc757; text-align:center; | ||
| above = {{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}}}} | | above = {{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}}}} | ||
| subheaderstyle = text-align:center; | |||
| subheader = {{{nickname|}}} | | subheader = {{{nickname|}}} | ||
| imagestyle = text-align:center; | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| captionstyle = text-align:center; | |||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background:#f5dba6; | | headerstyle = background:#f5dba6; text-align:center; | ||
| header1 = {{{governance|}}} | | header1 = {{{governance|}}} | ||
Line 17: | Line 20: | ||
| data4 = {{#if: {{{governance|}}} | {{{successor|}}}}} | | data4 = {{#if: {{{governance|}}} | {{{successor|}}}}} | ||
| header5 = | | header5 = Personal information | ||
| label6 = Born | | label6 = Born | ||
Line 23: | Line 26: | ||
}} | }} | ||
| label7 = Died | | label7 = Died | ||
| data7 = {{#if: {{{death_date|}}} | {{#if: {{{death_place|}}} | {{{death_date|}}}</br>{{{death_place|}}} | {{{death_date|}}}}} | {{{death_place|}}} | | data7 = {{#if: {{{death_date|}}} | {{#if: {{{death_place|}}} | {{{death_date|}}}</br>{{{death_place|}}} | {{{death_date|}}}}} | {{{death_place|}}}}} | ||
| label8 = Former names | | label8 = Former names | ||
| data8 = {{{former_names|}}} | | data8 = {{{former_names|}}} | ||
Line 48: | Line 51: | ||
| header19 = {{#if: {{{spouse1|}}}{{{children|}}}{{{parents|}}} | Family info}} | | header19 = {{#if: {{{spouse1|}}}{{{children|}}}{{{parents|}}} | Family info}} | ||
| label20 = {{#if: {{{spouse2|}}}{{{spouse3|}}} | Spouses | Spouse}} | | label20 = {{#if: {{{spouse2|}}}{{{spouse3|}}} | Spouses | Spouse}} | ||
| data20 = {{{spouse1|}}}{{{spouse2|}}}{{{spouse3|}}} | | data20 = {{#if: {{{spouse2|}}} | {{{spouse1|}}}</br>{{{spouse2|}}} | {{{spouse1|}}}}}{{#if: {{{spouse3|}}} | </br>{{{spouse3|}}}}} | ||
| label21 = Children | | label21 = Children | ||
| data21 = {{{children|}}} | | data21 = {{{children|}}} | ||
Line 57: | Line 60: | ||
| data25 = {{{module1|}}} | | data25 = {{{module1|}}} | ||
| data26 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data26 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | ||
}} | }}<noinclude> | ||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:06, 4 February 2025
Infobox character | |
---|---|
Personal information |
Usage
Users should note that all parameters are made to be optional. Provide as much or as little information as you choose. If you wish to enter more than one data line to a single parameter, use </br>
between the entries.
{{Infobox character
|title = <!-- use only for royal, governmental or honorary titles -->
|name = <!-- if left blank, will default to the title of the page -->
|nickname = <!-- short and/or commonly used name for the character -->
|image =
|image_size = <!-- use this if the image appears too large/small, set a value e.g. 200px -->
|caption =
|governance = <!-- political/hereditary position of power -->
|govern_period = <!-- time spent governing -->
|predecessor = <!-- character previously in the governing position -->
|successor = <!-- character following in the governing position -->
|birth_name =
|birth_date =
|birth_place =
|death_date =
|death_place =
|former_names = <!-- use if the same character has changed names -->
|resting_place = <!-- place of burial/memorial -->
|nationality = <!-- usually country/region of birth -->
|citizenship = <!-- the country the character is formally associated with -->
|education =
|occupation = <!-- use this for regular jobs, for political positions/rulers, use "governance" given above -->
|years_active =
|organization =
|height =
|awards =
|notable_work = <!-- italics to work titles need to be added manually -->
|spouse1 =
|spouse2 =
|spouse3 =
|children =
|parents =
|signature =
|signature_size = <!-- use this if the image appears too large/small, set a value e.g. 100px -->
}}