Template:Infobox Person: Difference between revisions

From Semantic Stargate Wiki
No edit summary
(Undo revision 12452 by LIMAFOX76 (talk))
Tag: Undo
 
(7 intermediate revisions by the same user not shown)
Line 18: Line 18:
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox
  -->}}</div>{{Infobox
  | name          = Infobox Episode
  | 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> }}
  | 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          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} | Wiki.png }}|size={{{image size|230}}}|sizedefault=frameless|alt={{{alt|}}}}}
  | image          = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|230}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
  | caption        = {{{caption|}}}
  | caption        = {{{caption|}}}


  | headerstyle    = background-color: #a9a9a9;
  | headerstyle    = background-color: #c9c9c9;
  | 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 98: Line 98:
  | data33  = {{{webseries|}}}
  | data33  = {{{webseries|}}}


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


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

Latest revision as of 02:49, 28 May 2020

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