Template:Infobox Person: Difference between revisions

From Semantic Stargate Wiki
No edit summary
mNo edit summary
(One intermediate revision by the same user not shown)
Line 27: Line 27:
  | labelstyle    = vertical-align: top; text-align: left;
  | 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 informations }}
  | 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
  | label2 = Birth name
Line 50: Line 50:
  | data8  = {{{nationality|}}}
  | data8  = {{{nationality|}}}
   
   
  | header10 = {{#if:  {{{marriage|}}}{{{parents|}}}{{{siblings|}}}{{{children|}}}{{{other relatives|{{{relatives|}}}}}}{{{affair|}}} | Informations about family }}
  | header10 = {{#if:  {{{marriage|}}}{{{parents|}}}{{{siblings|}}}{{{children|}}}{{{other relatives|{{{relatives|}}}}}}{{{affair|}}} | Information about family }}


  | label11 = Marriage
  | label11 = Marriage
Line 70: Line 70:
  | data16  = {{{other relatives|{{{relatives|}}}}}}
  | data16  = {{{other relatives|{{{relatives|}}}}}}


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


  | label21 = {{#if: {{#pos: {{{occupation|}}} | <br }} | Occupations | Occupation }}
  | label21 = {{#if: {{#pos: {{{occupation|}}} | <br }} | Occupations | Occupation }}
Line 87: Line 87:
  | data25  = {{{awards|}}}
  | data25  = {{{awards|}}}


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


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


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


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

Revision as of 04:48, 3 October 2018

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Person
 | sort                  = <!-- Name, Firstname -->
 | nocat                 = 
 | prov                  = <!-- To be used only if there is an apostrophe -->
 | spoiler               = 
 | honorific prefix      = 
 | name                  = 
 | honorific suffix      = 
 | image                 = 
<!-- BIOGRAPHICAL INFORMATION -->
 | birth name            = 
 | native name           = 
 | other name            = 
 | birth date            = <!-- use {{Birth date and age|YYYY|MM|DD}} or {{Birth date|YYYY|MM|DD}} (if deceased) or {{Birth year|YYYY}} -->
 | birth place           = 
 | death date            = <!-- use {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) if possible -->
 | death place           = 
 | gender                = <!-- m (male) or f (female) -->
 | nationality           = 
<!-- INFORMATION ABOUT FAMILY -->
 | marriage              = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
 | parents               = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
 | siblings              = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
 | children              = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
 | other relatives       = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
 | affair                = <!-- only if the person(s) are Stargate-related, each person must be separated by a <br/> -->
<!-- PROFESSIONAL INFORMATION -->
 | occupation            = <!-- each occupation must be separated by a <br/> -->
 | years active          = 
 | notable works         = <!-- each work must be separated by a <br/> -->
 | television            = <!-- each work must be separated by a <br/> -->
 | awards                = <!-- only put the most important (oscar, emmy, etc.); each award must be separated by a <br/> -->
<!-- STARGATE-RELATED INFORMATION -->
 | film                  = <!-- each film must be separated by a <br/> -->
 | series                = <!-- each series must be separated by a <br/> -->
 | webseries             = <!-- each webseries must be separated by a <br/> -->
 | stargate occupation   = <!-- {{Function|function=|series=|text=|show=}} to be used to put the right properties, each function must be separated by a <br/> -->
 | character             = <!-- only put the most important; each character must be separated by a <br/> -->
}}

See also