Difference between revisions of "Template:Infobox Character"

From Semantic Stargate Wiki
Jump to navigation Jump to search
Line 62: Line 62:
 
| header5  =  
 
| header5  =  
 
|  label5  = Birth planet
 
|  label5  = Birth planet
|  data5  = [[Birth planet::{{{planet|}}}]]
+
|  data5  = {{#if: {{{planet|}}} | [[Birth planet::{{{planet|}}}]] }}
 
| header6  =  
 
| header6  =  
 
|  label6  = {{#if: {{#pos:{{{nickname|}}}|<br}} | Nationalities | Nationality }}
 
|  label6  = {{#if: {{#pos:{{{nickname|}}}|<br}} | Nationalities | Nationality }}
Line 77: Line 77:
 
| header10 =  
 
| header10 =  
 
|  label10 = Race
 
|  label10 = Race
|  data10 = [[Race::{{{race|}}}]]
+
|  data10 = {{#if: {{{race|}}} | [[Race::{{{race|}}}]] }}
 
| header11 =  
 
| header11 =  
 
|  label11 = Species
 
|  label11 = Species
|  data11 = [[Species::{{{species|}}}]]
+
|  data11 = {{#if: {{{species|}}}  | [[Species::{{{species|}}}]] }}
 
| header12 =  
 
| header12 =  
 
|  label12 = Status
 
|  label12 = Status
|  data12 = [[Status::{{{status|}}}]]
+
|  data12 = {{#if: {{{status|}}} | [[Status::{{{status|}}}]] }}
 
| header13 = {{#if: {{{marriage|}}}{{{parents|}}}{{{grand-parent|}}}{{{siblings|}}}{{{children|}}}{{{grand-children|}}}{{{other relatives|}}}{{{affair|}}} | Information about family }}
 
| header13 = {{#if: {{{marriage|}}}{{{parents|}}}{{{grand-parent|}}}{{{siblings|}}}{{{children|}}}{{{grand-children|}}}{{{other relatives|}}}{{{affair|}}} | Information about family }}
 
|  label13 =  
 
|  label13 =  
Line 122: Line 122:
 
| header25 =  
 
| header25 =  
 
|  label25 = Rank
 
|  label25 = Rank
|  data25 = [[Rank::{{{rank|}}}]]
+
|  data25 = {{#if: {{{rank|}}} | [[Rank::{{{rank|}}}]] }}
 
| header26 =  
 
| header26 =  
 
|  label26 = {{#if: {{#pos: {{{allegiance|}}} | <br }} | Allegiances | Allegiance }}
 
|  label26 = {{#if: {{#pos: {{{allegiance|}}} | <br }} | Allegiances | Allegiance }}
Line 133: Line 133:
 
|  data28 =  
 
|  data28 =  
 
| header29 =  
 
| header29 =  
|  label29 = {{#if:{{{SGI|}}} | Voice | Portrayed by }}
+
|  label29 = {{#if:{{{SGI|}}} | Voiced by | Portrayed by }}
|  data29 = {{#ifeq: {{lc: {{{actor|Unknown}}} }} | unknown | [[Portrayed by::Unknown actor|an unknown {{#switch:{{lc:{{{gender|}}}}} | f | female | af = actress| #default = actor}}]] | {{{actor}}} }}
+
|  data29 = {{#ifeq: {{lc: {{{actor|Unknown}}} }} | unknown | [[{{#if:{{{SGI|}}} | Voiced by | Portrayed by }}::Unknown actor|an unknown {{#switch:{{lc:{{{gender|}}}}} | f | female | af = actress| #default = actor}}]] | {{{actor}}} }}
 
| header30 =  
 
| header30 =  
 
|  label30 = First mention
 
|  label30 = First mention

Revision as of 06:25, 28 September 2018

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

This is the {{Infobox Character}} documentation.

Usage

This template has to be used for all Stargate universe characters, with the exception of historical characters.

Syntax

{{Infobox Character
 | sort                   = 
 | nocat                  = 
 | spoiler                = 
 | separate               = 
 | category               = 
 | continuity             = 
 | lcontinuity            = 
 | universe               = 
 | universe2              = 
 | name                   = 
 | series                 = <!-- for films/series the character appears in. Use "series2", "series3", etc. if he appears in more films/series -->
 | alternate reality      = <!-- semantic data, do not wikify -->
 | alternate timeline     = <!-- semantic data, do not wikify -->
 | hallucination          = <!-- semantic data, do not wikify -->
 | framework              = <!-- semantic data, do not wikify -->
 | image                  = 
<!-- BIOGRAPHICAL INFORMATIONS -->
 | full name              = 
 | aka                    = 
 | nickname               = 
 | birth                  = 
 | bithplace              = 
 | death                  = 
 | deathplace             = 
 | planet                 = <!-- semantic data, do not wikify -->
 | nationality            = <!-- semantic data, do not wikify -->
 | species                = <!-- semantic data, do not wikify -->
 | race                   = <!-- semantic data, do not wikify -->
 | gender                 = 
 | status                 = 
<!-- INFORMATIONS ABOUT FAMILY -->
 | parents                = 
 | grand-parent           = 
 | siblings               = 
 | children               = 
 | grand-children         = 
 | other relatives        = 
 | marriage               = 
 | affair                 = 
<!-- PROFESIONAL INFORMATIONS -->
 | occupation             = <!-- the last one(s) -->
 | salutation             = 
 | rank                   = <!-- semantic data, the last one, do not wikify -->
 | allegiance             = <!-- the last one(s) -->
 | affiliation            = 
<!-- OUT OF UNIVERSE INFORMATIONS -->
 | actor                  = 
 | mention                = <!-- the first one -->
 | appearance             = <!-- the first one -->
}}

Parameters

See also