Template:Infobox Person: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
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|}}}



Revision as of 00:32, 20 September 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