Jump to content

Template:Infobox Person and Template:Infobox Person/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Undo revision 12452 by LIMAFOX76 (talk)
Tag: Undo
 
 
Line 1: Line 1:
#REDIRECT [[Template:Infobox Person]]
<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!--
-->{{#if: {{{nocat|}}}
|
|<!--
-->{{#ifeq: {{{spoiler|}}}
| true
| [[Category:Spoilers]]
|<!--
-->{{#ifeq:{{NAMESPACE}}
| User
| [[Category:Stargate Wiki contributors]]
| [[Category:Persons]]
}}
}}{{#ifeq:{{{spoiler|}}}
| true
| {{spoiler}}
|<!--
-->}}<!--
-->}}</div>{{Infobox
| name = Infobox Person
| above = {{#if: {{{honorific prefix|{{{honorific_prefix|}}}}}} | <span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br /> }}{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{#if: {{{honorific suffix|{{{honorific_suffix|}}}}}} | <br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span> }}

| image = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|230}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| caption = {{{caption|}}}

| headerstyle = background-color: #c9c9c9;
| labelstyle = vertical-align: top; text-align: left;

| header1 = {{#if: {{{birth name|{{{birth_name|}}}}}}{{{native name|{{{native_name|}}}}}}{{{other name|{{{other_name|}}}}}}{{{birth date|{{{birth_date|}}}}}}{{{birth place|{{{birth_place|}}}}}}{{{death date|{{{death_date|}}}}}}{{{death place|{{{death_place|}}}}}}{{{gender|}}}{{{nationality|}}} | Biographical information }}

| label2 = Birth name
| data2 = {{{birth name|{{{birth_name|}}}}}}

| label3 = Native name
| data 3 = {{{native name|{{{native_name|}}}}}}

| label4 = {{#if: {{#pos: {{{other name|{{{other_name|}}}}}} | <br }} | Other names | Other name }}
| data4 = {{{other name|{{{other_name|}}}}}}

| label5 = Birth date
| data5 = {{{birth date|{{{birth_date|}}}}}}{{#if: {{{birth place|{{{birth_place|}}}}}} | {{#if: {{{birth date|{{{birth_date|}}}}}} | <br/>{{{birth place|{{{birth_place|}}}}}} | Unknown<br/>{{{birth place|{{{birth_place|}}}}}} }} }}

| label6 = Death date
| data6 = {{{death date|{{{death_date|}}}}}}{{#if: {{{death place|{{{death_place|}}}}}} | {{#if: {{{death date|{{{death_date|}}}}}} | <br/>{{{death place|{{{death_place|}}}}}} | Unknown<br/>{{{death place|{{{death_place|}}}}}} }} }}

| label7 = Gender
| data7 = {{#switch: {{lc: {{{gender|}}} }} | f | female = {{Click| image = Symbol venus.svg| height = 25 | width = 15 | link = Concept:Female persons | text = Female }}{{#set: Gender = Female }} | m | masculin = {{Click| image = Symbol mars.svg| height = 20 | width = 20 | link = Concept:Male persons | text = Masculin}}{{#set: Gender = Male }} }}

| label8 = Nationality
| data8 = {{{nationality|}}}
| header10 = {{#if: {{{marriage|}}}{{{parents|}}}{{{siblings|}}}{{{children|}}}{{{other relatives|{{{relatives|}}}}}}{{{affair|}}} | Information about family }}

| label11 = Marriage
| data11 = {{{marriage|}}}

| label12 = {{#if: {{#pos: {{{affair|}}} | <br }} | Affairs | Affair }}
| data12 = {{{affair|}}}

| label13 = {{#if: {{#pos: {{{parents|}}} | <br }} | Parents | Parent }}
| data13 = {{{parents|}}}

| label14 = {{#if: {{#pos: {{{siblings|}}} | <br }} | Siblings | Sibling }}
| data14 = {{{siblings|}}}

| label15 = {{#if: {{#pos: {{{children|}}} | <br }} | Children | Child }}
| data15 = {{{children|}}}

| label16 = {{#if: {{#pos: {{{other relatives|{{{relatives|}}}}}} | <br }} | Other relatives | Other relative }}
| data16 = {{{other relatives|{{{relatives|}}}}}}

| header20 = {{#if: {{{occupation|}}}{{{years active|{{{years_active|}}}}}}{{{notable works|{{{notable_works|}}}}}}{{{television|}}}{{{awards|}}} | Professional information }}

| label21 = {{#if: {{#pos: {{{occupation|}}} | <br }} | Occupations | Occupation }}
| data21 = {{{occupation|}}}

| label22 = Years active
| data22 = {{{years active|{{{years_active|}}}}}}

| label23 = {{#if: {{#pos: {{{notable works|{{{notable_works|}}}}}} | <br }} | Notable works | Notable work }}
| data23 = {{{notable works|{{{notable_works|}}}}}}

| label24 = Television
| data24 = {{{television|}}}

| label25 = {{#if: {{#pos: {{{awards|}}} | <br }} | Awards | Award }}
| data25 = {{{awards|}}}

| header30 = {{#if: {{{film|}}}{{{series|}}}{{{stargate occupation|}}}{{{character|}}} | Stargate-related information }}

| label31 = {{#if: {{#pos: {{{film|}}} | <br }} | Related films | Related film }}
| data31 = {{{film|}}}

| label32 = Related series
| data32 = {{{series|}}}

| label33 = Related webseries
| data33 = {{{webseries|}}}

| label34 = {{#if: {{#pos: {{{stargate occupation|}}} | <br }} | Occupations | Occupation }}
| data34 = {{{stargate occupation|}}}

| label35 = {{#if: {{#pos: {{{character|}}} | <br }} | Characters | Character }}
| data35 = {{{character|}}}
}}<!--

Retrieving the "name" property from the infobox

-->{{#if: {{{name|}}} | {{#set: name = {{{name}}} }} | {{#set: name = {{PAGENAME}} }} }}<!--

Retrieving the "infobox image" from the template

-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image}}} }} }}{{#set: prov={{#if: {{{prov|}}} | {{{prov}}} | {{PAGENAME}} }} }}</includeonly><noinclude>{{Documentation}}</noinclude>