Difference between revisions of "Template:Character infobox"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Added wikipedia link possibility.)
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{documentation}}
This is my ([[User:Svip|Svip]]) proposal for an infobox about characters seen in the show.  Using such a box it will mean that all articles about characters will have same appearance, and when the boxes need a face lift, we don't have to edit every single article.
</noinclude><includeonly>{{#if:{{NAMESPACE}}||[[Category:Characters|{{#if:{{{catname|}}}|{{{catname}}}|{{{name}}}}}]]}}{{infobox
 
|top={{#if:{{{type|}}}|{{character infobox/character type|name={{{name}}}|catname={{{catname|}}}|1={{{type}}}|2={{{type2|}}}|3={{{type3|}}}|swas={{{swas type|}}}|sf={{{sf type|}}}|swasadj={{{swas adjective|on}}}}}|}}{{#if:{{NAMESPACE}}||{{#if:{{{type|}}}{{{type2|}}}{{{type3|}}}||[[Category:Character articles not using types]]}}}}
When we get the #if tag working, we can add as many as we will, and only those with actual information will be present in the articles.  The #if tag means that if an information isn't given, a part of the table will never be display (thus no rows with ''no info'').
|title={{{name|}}}
 
|image={{{image|}}}
Everyone is welcome to suggest more options.  There shall also be created once for item info, episode info, comic info, etc. etc.  These templates may also include the category for a character, etc.
|image2={{{image2|}}}
</noinclude>{| style="float: right; width: 250px; border: 1px solid #d3d3d3; background: #f0f0f0; font-size: 0.9em; margin-left: 15px;"
|caption={{{image text|}}}
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''{{{name}}}''</big>
|caption2={{{image text2|}}}
|-
|label1=Age
! colspan="2" | {{{image}}}{{#if:{{{image text|}}}|<br /><span style="font-weight:normal;">{{{image text}}}</span>|}}
|data1={{{age|}}}
|-
|label2=Date of birth
{{#if:{{{age|}}}|{{character infobox/tbsub|Age|{{{age}}}}}|}}
|data2={{{birth date|}}}
{{#if:{{{birth date|}}}|{{character infobox/tbsub|Date of birth|{{{birth date}}}}}|}}
|label3=Date of death
{{#if:{{{gender|}}}|{{character infobox/tbsub|Gender|{{{gender}}}}}|}}
|data3={{{death date|}}}
{{#if:{{{species|}}}|{{character infobox/tbsub|Species|{{{species}}}}}|}}
|label4=Gender
{{#if:{{{origin|}}}|{{character infobox/tbsub|Planet of origin|{{{origin}}}}}|}}
|data4={{{gender|}}}
{{#if:{{{job|}}}|{{character infobox/tbsub|Profession|{{{job}}}}}|}}
|label5=Species
{{#if:{{{family|}}}|{{character infobox/tbsub|Relatives|{{{family}}}}}|}}
|data5={{{species|}}}
{{character infobox/tbsub|First appearance|{{{first appear}}}}}
|label6=Planet of origin
{{#if:{{{voiced by|}}}|{{character infobox/tbsub|Voiced by|{{{voiced by}}}}}|}}
|data6={{{origin|}}}
{{#if:{{{wikipedia|}}}|{{character infobox/wikipedia|{{{wikipedia}}}}}|}}
|label7=Profession
|}<noinclude>
|data7={{{job|}}}
Usage:
|label8=Bureaucrat grade
<pre>
|data8={{{bureaucrat grade|}}}
{{character infobox
|label9=Relatives
|name=Name of character
|data9={{{family|}}}
|image=[[Image:Image|225px]]
|label10=First appearance
|image text=(optional)
|data10={{{first appear}}}
|age=(optional)
|label11=Played by
|birth date=(optional)
|data11={{{played by|}}}
|gender=(optional)
|label12={{#if:{{{voice A|}}}||Voiced by}}
|species=(optional)
|data12={{#if:{{NAMESPACE}}|{{{voiced by|}}}|{{#if:{{{voice A|}}}|{{#if:{{{voice A|}}}|{{character infobox/voice table|{{{voice A}}}|{{{voice A by}}}|{{{voice B|}}}|{{{voice B by|}}}|{{{voice C|}}}|{{{voice C by|}}}|{{{voice D|}}}|{{{voice D by|}}}|{{{voice E|}}}|{{{voice E by|}}}|catname={{{catname|}}}|name={{{name}}}}}|}}|{{#ifeq:{{{voiced by|}}}|none||{{#if:{{{voiced by|}}}|[[{{{voiced by link|{{{voiced by}}}}}}|{{{voiced by}}}]][[Category:Characters voiced by {{{voiced by}}}|{{#if:{{{catname|}}}|{{{catname}}}|{{{name}}}}}]]|}}{{#if:{{{voiced by|}}}||[[:Category:Character infoboxes not mentioning the voice actor|Unknown]][[Category:Character infoboxes not mentioning the voice actor]]}}}}}}}}
|origin=(optional)
|data13={{#if:{{{wikipedia|}}}|{{infobox/wikipedia|{{{wikipedia}}}}}|}}
|job=(optional)
}}</includeonly>
|family=(optional)
|first appear=
|voiced by=(optional)
|wikipeda=(optional) for information about the person unrelated to Futurama
}}
</pre>
{{clear}}
Example:
{{character infobox
|name=Zapp Brannigan
|image=[[Image:Zapp_Brannigan.png|225px]]
|age=30
|gender=Male
|species=[[Human]]
|origin=[[Earth]]
|job=Captain of the [[DOOP]] starship [[Nimbus]]
|family=
|first appear=[[Love's Labours Lost in Space]]
|voiced by=[[Billy West]]
}}
</noinclude>

Latest revision as of 02:34, 24 February 2014

Documentation for {{character infobox}}

Use

This is for character articles. You should remember that there are things you would normally think would apply to the {{item infobox}}. However, could it for any reason be counted as a character, the character infobox prevails, as it allows for more possibilities.

If you do not have an image or there is no image available of the character, e.g. a pseudocharacter like Obliteron, use the No Character Image.png image.

Usage

{{character infobox
|name             = Name of character
|catname          = (optional) if you want a different name for the character to be filled by in the categories.
|type             = Primary character type, possible values: p (for primary), s (for secondary), t (for tertiary) and t plural (for two tertiary characters or more)
|type2            = (optional) Secondary character type, possible values: p (for pseudocharacters), d (for deceased characters), g (for special guests) and d plural (for two deceased characters or more)
|type3            = (optional) A second row of secondary character type, same values as above.
|swas type        = (optional) The show if the character is a character on a show within Futurama. (swas = Show Within A Show)
|sf type          = (optional) Similar to swas, only it is written '<fiction> character'. (sf = SubFiction)
|image            = [[Image:No Character Image.png|225px]]
|image text       = (optional)
|image2           = An alternate image (optional)
|image text2      = (optional)
|age              = (optional)
|birth date       = (optional)
|death date       = (optional)
|gender           = (only if ambiguous or if the character is a robot, in which case the values are [[manbot|Male]] and [[fembot|Female]])
|species          = (optional)
|origin           = (optional)
|job              = (optional)
|family           = (optional)
|first appear     = The media (episode, film, comic, game) the character first appeared in.
|voiced by        = if the character does not speak, the value should be the word "none".
|voice A          = (optional) in case of several characters, use this.  Name of A voice.
|voice A by       = (optional) voice actor/ess of A voice.  So on till E.
|played by        = (optional) In case the character is a character played by another character on a show within a show on Futurama.
|bureaucrat grade = (optional)
|wikipedia        = (optional) for information about the person unrelated to Futurama
}}

See also

  • I:I - for other infoboxes.