Difference between revisions of "Template:Infobox/Yu-Gi-Oh!/Person"

From Yugipedia
Jump to: navigation, search
(#negref is long dead)
(Allowing references to be added for birth, death and gender)
Line 51: Line 51:
 
{{!}}-
 
{{!}}-
 
!{{!}} Birth
 
!{{!}} Birth
{{!}}
+
{{!}} [[Birthdate::{{ #explode: {{{birthdate}}} | <ref }}| ]]{{{birthdate}}}
{{IfSemantics
 
  |[[Birthdate::{{{birthdate}}}]]
 
  |{{{birthdate}}}
 
}}
 
 
| }}{{#if:{{{deathdate|}}}|<nowiki/>
 
| }}{{#if:{{{deathdate|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
 
!{{!}} Death
 
!{{!}} Death
{{!}}
+
{{!}} [[Death date::{{ #explode: {{{deathdate}}} | &lt;ref }}| ]]{{{deathdate}}}
{{IfSemantics
 
  |[[Death date::{{{birthdate}}}]]
 
  |{{{deathdate}}}
 
}}
 
 
| }}{{#if:{{{gender|}}}|<nowiki/>
 
| }}{{#if:{{{gender|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
 
!{{!}} Gender
 
!{{!}} Gender
 
{{!}}
 
{{!}}
{{IfSemantics
+
{{!}} [[Gender::{{ #explode: {{{gender}}} | &lt;ref }}| ]]{{{gender}}}
  |{{#arraymap:{{{gender|}}}|*|x|[[Gender::x]]|<br />&nbsp;}}
 
  |{{{gender}}}
 
}}
 
 
| }}{{#if:{{{relatives|}}}|<nowiki/>
 
| }}{{#if:{{{relatives|}}}|<nowiki/>
 
{{Infobox/Character/Other
 
{{Infobox/Character/Other

Revision as of 14:48, 1 May 2016

Person infoboxes are used for

articles on real people

.


Infobox/Yu-Gi-Oh!/Person

Documentation

{{Infobox/Yu-Gi-Oh!/Person
	| name                    = 
	| image name              = 
	| image size              = 
	| image caption           = 
	| english name            = 
	| japanese name           = 
	| romaji name             = 
	| gender                  = 
	| birthdate               = 
	| deathdate               = 
	| relatives               = 
	| occupation              = 
}}
  • name changes the name displayed at the top of the infobox. This is only used if the person's name is different than the page title.
  • image name is the name of the image to be displayed at the top of the infobox. Only the image name without the File: prefix should be entered here.
  • image size is used to change the size of the image. Images default to 300px wide when this is not used.
  • image caption is used to change the caption of the image. Captions default to the page name when this is not used.
  • english name the person's name in English.

Use these if the person is Japanese or has a Japanese name.

  • japanese name the person's name in Japanese characters.
  • romaji name the person's Japanese name in rōmaji.

Use these if the person is Korean or has a Korean name.

  • korean name the person's Korean name in Hangul.
  • hanja name the person's Korean name in Hanja.
  • korean romanized name the revised romanization of the person's Korean name.
  • gender the person's gender.
  • birthdate the person's birthdate.
  • deathdate the date of person's death.
  • relatives the person's relatives if they have articles on the wiki.
  • occupation the person's occupation(s). Only list their occupations relevant to Yu-Gi-Oh!.