Template:Infobox Person: Difference between revisions

From Semantic Stargate Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!--  
<includeonly><div display="none">{{DEFAULTSORT:{{{sort| {{PAGENAME}} }}} }}<!--  
  -->{{#if: {{{nocat|}}}  
  -->{{#if: {{{nocat|}}}  
     |  
     |  
     |<!--  
     |<!--  
  -->{{#ifeq: {{{spoiler|}}}
      | true
      | [[Category:Spoilers]]
      |<!--
   -->{{#ifeq:{{NAMESPACE}}  
   -->{{#ifeq:{{NAMESPACE}}  
       | User  
       | User  
Line 12: Line 8:
       | [[Category:Persons]]
       | [[Category:Persons]]
       }}
       }}
    }}{{#ifeq:{{{spoiler|}}}
}}</div>{{Infobox
        | true
        | {{spoiler}}
        |<!-- 
    -->}}<!--
-->}}</div>{{Infobox
  | name          = Infobox Person
  | 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> }}
Line 87: Line 78:
  | data25  = {{{awards|}}}
  | 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|}}}
}}<!--  
}}<!--  



Revision as of 03:48, 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