Template:Infobox character: Difference between revisions
m 11 revisions imported: Bringing in some custom made templates from the old wiki |
Customized infobox to fit A3W style and added age parameter |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodystyle = border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; background-color: var(--background-color-neutral-subtle); color: var(--base-color); | |||
| autoheaders = y | |||
| title = <small>{{{title|}}}</small> | | title = <small>{{{title|}}}</small> | ||
| abovestyle = background: | | abovestyle = background:var(--color-warning); text-align:center; color: #151515; | ||
| above = {{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}}}} | | above = {{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}}}} | ||
| subheaderstyle = text-align:center; | | subheaderstyle = text-align:center; | ||
Line 11: | Line 14: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background:#f5dba6; text-align:center; | | headerstyle = background:#f5dba6; text-align:center; color: #151515; | ||
| header1 = {{{governance|}}} | | header1 = {{{governance|}}} | ||
Line 22: | Line 25: | ||
| header5 = Personal information | | header5 = Personal information | ||
| label6 = Born | | label6 = Age | ||
| | | data6 = {{{age|}}} | ||
| label7 = Born | |||
| data7 = {{#if: {{{birth_name|}}} | {{#if: {{{birth_date|}}} | {{#if: {{{birth_place|}}} | {{{birth_name|}}}</br>{{{birth_date|}}}</br>{{{birth_place|}}} | {{{birth_name|}}}</br>{{{birth_date|}}}}} | {{{birth_name|}}}}} | {{#if: {{{birth_date|}}} | {{#if: {{{birth_place|}}} | {{{birth_date|}}}</br>{{{birth_place|}}} | {{{birth_date|}}}}} | {{{birth_place|}}}}} | |||
}} | }} | ||
| | | label8 = Died | ||
| | | data8 = {{#if: {{{death_date|}}} | {{#if: {{{death_place|}}} | {{{death_date|}}}</br>{{{death_place|}}} | {{{death_date|}}}}} | {{{death_place|}}}}} | ||
| | | label9 = Former names | ||
| | | data9 = {{{former_names|}}} | ||
| | | label10 = Resting place | ||
| | | data10 = {{{resting_place|}}} | ||
| | | label11 = Nationality | ||
| | | data11 = {{{nationality|}}} | ||
| | | label12 = Citizenship | ||
| | | data12 = {{{citizenship|}}} | ||
| | | label13 = Education | ||
| | | data13 = {{{education|}}} | ||
| | | label14 = Occupation | ||
| | | data14 = {{{occupation|}}} | ||
| | | label15 = Years active | ||
| | | data15 = {{{years_active|}}} | ||
| | | label16 = Organization | ||
| | | data16 = {{{organization|}}} | ||
| | | label17 = Height | ||
| | | data17 = {{{height|}}} | ||
| | | label18 = Awards | ||
| | | data18 = {{{awards|}}} | ||
| | | label19 = Notable work | ||
| | | data19 = {{{notable_work|}}} | ||
| | | header20 = Family info | ||
| | | label21 = {{#if: {{{spouse2|}}}{{{spouse3|}}} | Spouses | Spouse}} | ||
| | | data21 = {{#if: {{{spouse2|}}} | {{{spouse1|}}}</br>{{{spouse2|}}} | {{{spouse1|}}}}}{{#if: {{{spouse3|}}} | </br>{{{spouse3|}}}}} | ||
| | | label22 = Children | ||
| | | data22 = {{{children|}}} | ||
| | | label23 = Parents | ||
| | | data23 = {{{parents|}}} | ||
| | | data24 = {{#if: {{{signature|}}} | ''Signature''}} | ||
| data25 = {{{module1|}}} | | data25 = {{{module1|}}} | ||
| data26 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data26 = {{{module1|}}} | ||
| data27 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |