Difference between revisions of "Template:Charinfo"

From Keedrah Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{| class="tantable" style="border:1px solid black; float:right; margin:0 0 0em 0em; width:24em; clear:right; color: black; background-color:white; font-size: 88%"
+
{| class="table" style = "border:1px solid black; float:right; margin:0 0 0 0; width:24em; clear: right; color: black; background-color:white"
 
|-
 
|-
{{#if:{{{image|}}}|
+
{{#if:{{{image|}}} |
{{!}} colspan="2" class="infoboximage" style="text-align: center; font-size: 90%; line-height: 1.5em;" {{!}} {{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
+
{{!}} colspan="2" style="text-align: center; font-size: 90%;" {{!}} [[image:{{{image}}}|200px|{{{name}}}]]{{#if:{{{caption|}}}| <br/> {{{caption}}}}}
{{!}}-
+
{{!}}-}}
}}
+
| colspan="3" align="center" style="font-size:larger; font-weight: bold; background-color: #FFCC33; padding:.25em 0.33em .25em;" | {{{name}}}
! class="infoboxheading" colspan="3" align="center" class="mergedtoprow" style="line-height:1.2em; font-size:larger; background-color: #FFCC33; padding:0.25em 0.33em 0.33em; font-size:1.25em;" | {{{{{{2|name}}}}}}
 
 
|-
 
|-
{{#if:{{{type|}}}|
+
{{#if:{{{alias|}}} |
{{!}}-
+
{{!}} style="font-size: 90%;" {{!}}'''Alias'''
{{!}} style="background: white" {{!}} '''Type'''
+
{{!}} style="font-size: 85%;" {{!}}{{{alias}}}
{{!}} style="background: white" {{!}}
+
{{!}}-}}
{{{type|}}}
+
{{#if:{{{class|}}} |
{{!}}-|}}
+
{{!}} style="font-size: 90%;" {{!}}'''Class'''  
{{#if:{{{subtype|}}}|
+
{{!}} style="font-size: 85%;" {{!}}{{{class}}}
{{!}}-
+
{{!}}-}}
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Subtype'''
+
{{#if:{{{paragon|}}} |
{{!}} class="infoboxcell" style="background: white" {{!}}
+
{{!}} style="font-size: 90%;" {{!}}'''Paragon Path'''
{{{subtype|}}}
+
{{!}} style="font-size: 85%;" {{!}}{{{paragon}}}
{{!}}-|}}
+
{{!}}-}}
{{#if:{{{affiliations|}}}|
+
{{#if:{{{epic|}}} |
{{!}}-
+
{{!}} style="font-size: 90%;" {{!}}'''Epic Destiny'''
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Affiliations'''
+
{{!}} style="font-size: 85%;" {{!}}{{{epic}}}
{{!}} class="infoboxcell" style="background: white" {{!}}
+
{{!}}-}}
{{{affiliations|}}}
+
{{#if:{{{race|}}} |
{{!}}-|}}
+
{{!}} style="font-size: 90%;" {{!}}'''Race'''
{{#if:{{{nationality|}}}|
+
{{!}} style="font-size: 85%;" {{!}}{{{race}}}
{{!}}-
+
{{!}}-}}
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Nationality'''
+
{{#if:{{{hometown|}}} |
{{!}} class="infoboxcell" style="background: white" {{!}}
+
{{!}} style="font-size: 90%;" {{!}}'''Hometown'''  
{{{nationality|}}}
+
{{!}} style="font-size: 85%;" {{!}}{{{hometown}}}
{{!}}-|}}
+
{{!}}-}}
 +
{{#if:{{{birthyear|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Birth Year'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{birthyear}}}
 +
{{!}}-}}
 +
{{#if:{{{deathyear|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Death Year'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{deathyear}}}
 +
{{!}}-}}
 +
{{#if:{{{age|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Age'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{age}}}
 +
{{!}}-}}
 +
{{#if:{{{gender|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Gender'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{gender}}}
 +
{{!}}-}}
 +
{{#if:{{{height|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Height'''  
 +
{{!}} style="font-size: 85%;" {{!}}{{{height}}}
 +
{{!}}-}}
 +
{{#if:{{{weight|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Weight'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{weight}}}
 +
{{!}}-}}
 +
{{#if:{{{alignment|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Alignment'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{alignment}}}
 +
{{!}}-}}
 +
{{#if:{{{deity|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Deity'''  
 +
{{!}} style="font-size: 85%;" {{!}}{{{deity}}}
 +
{{!}}-}}
 +
{{#if:{{{quote|}}} |
 +
{{!}} style="font-size: 90%;" {{!}}'''Quote'''
 +
{{!}} style="font-size: 85%; font-style:" {{!}}''"{{{quote}}}"''
 +
{{!}}-}}
 +
|}
 +
<noinclude>
  
{{#if:{{{height|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Average Height'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{height|}}}
 
{{!}}-|}}
 
{{#if:{{{length|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Average Length'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{length|}}}
 
{{!}}-|}}
 
{{#if:{{{wingspan|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Average Wingspan'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{wingspan|}}}
 
{{!}}-|}}
 
{{#if:{{{weight|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Average Weight'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{weight|}}}
 
{{!}}-|}}
 
{{#if:{{{skincolor|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Skin Color'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{skincolor|}}}
 
{{!}}-|}}
 
{{#if:{{{haircolor|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Hair Color'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{haircolor|}}}
 
{{!}}-|}}
 
{{#if:{{{feathers|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Feather Color'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{feathers|}}}
 
{{!}}-|}}
 
{{#if:{{{eyecolor|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Eye Color'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{eyecolor|}}}
 
{{!}}-|}}
 
{{#if:{{{vision|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Vision'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{vision|}}}
 
{{!}}-|}}
 
{{#if:{{{distinctions|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Distinctions'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{distinctions|}}}
 
{{!}}-|}}
 
{{#if:{{{lifespan|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Average Lifespan'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{lifespan|}}}
 
{{!}}-|}}
 
{{#if:{{{location|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Homeland(s)'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{location|}}}
 
{{!}}-|}}
 
{{#if:{{{subraces|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Subraces'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{subraces|}}}
 
{{!}}-|}}
 
{{#if:{{{alignment|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Alignment'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{alignment|}}}
 
{{!}}-|}}
 
{{#if:{{{language|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Language(s)'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{language|}}}
 
{{!}}-|}}
 
|}<noinclude>
 
This template is for use in any article about a creature, be it sapient or unintelligent. Most of the parameters are left optional. If left undefined they will not appear. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
 
  
Add wiki links to articles to the relevant topics.
 
  
== Usage ==
+
==Usage==
 
<pre><nowiki>
 
<pre><nowiki>
{{CharInfo
+
{{CharInfo3
| image       =  
+
|image =  
| caption     =  
+
|caption =  
| name         =  
+
|name =  
| alignment    =  
+
|Alias =  
| type        =  
+
|Class =  
| subtype      =  
+
|Paragon =  
| affiliations =
+
|Epic =  
| nationality  =
+
|Race =  
| height      =  
+
|hometown =  
| length      =  
+
|birthyear =  
| wingspan    =  
+
|deathyear =  
| weight      =  
+
|age =  
| skincolor    =  
+
|gender =  
| haircolor    =  
+
|height =  
| feathers    =  
+
|weight =  
| eyecolor    =
+
|alignment =  
| vision      =
+
|deity =  
| distinctions =
+
|quote =  
| lifespan    =
 
| location    =  
 
| subraces    =  
 
| language    =  
 
 
}}
 
}}
 
 
</nowiki></pre>
 
</nowiki></pre>
  
'''An example is shown to the right:'''
+
==Example==
 
+
{{CharInfo3
{{CharInfo|
+
|image = franklin.jpg
| image       = [[File:Plumb.JPG|220px|A female human]]
+
|caption = Franklin, in a car.
| name        = Human
+
|name = Franklin Delano Bluth
| alignment    =  
+
|Alias = Franklin
| type        = plumber
+
|Class = Puppet
| height      = 5'6" - 6'2"
+
|Paragon = Black Puppet
| weight      = 135 - 220 lbs
+
|Epic = Gob's Puppet
| skincolor    = Pale to dark brown
+
|Race = African-Felt-American
| haircolor    = Red, blond, brown, black (usually turning gray or white with age)
+
|hometown = Newport Beach, CA
| eyecolor    = Blue, brown, gray, green, hazel
+
|birthyear = April 3, 2005
| vision      = Normal
+
|deathyear = February 10, 2006
| distinctions = Adaptable and ambitious, among the most numerous and widespread of [[Toril]]'s races
+
|age = 1
| lifespan    = Usually up to 80 years; ages up to 1,200 have been reached by [[magic]]ally gifted individuals
+
|gender = Male
| location    = Various [[material plane]]s
+
|height = 2 feet
| subraces    = [[Calishite]]s, [[Chondathan]]s, [[Damaran]]s, [[Illuskan]]s, [[Mulan]]i, [[Rashemi]], and [[Tethyrian]]s, among others
+
|weight = 5 lbs
| language    = [[Common]], regional languages
+
|alignment = Unaligned
 +
|deity = Not you, Whitey
 +
|quote = My name is Judge
 
}}
 
}}
  
== Explanation ==
+
{|-
; image =     : ''Optional.'' Use a standard [[[[Wikipedia:Wikipedia:Extended_image_syntax|image tag]]]].
+
|'''image = '''
+
|''Optional.'' The file name of the image to be used. Upload your image with the link to the left.
; name =      : The name of the creature.
+
|-
 
+
|'''caption ='''
; type =     : Aberrant, Elemental, Fey, Immortal, Natural, Shadow
+
|''Optional.'' A caption you wish to have under the image
 
+
|-
; subtype =  : ''Optional.'' For exmaple, humanoid
+
|'''name ='''
 
+
|'''''Mandatory.''''' Self explanatory
; affiliations =   : ''Optional.'' For example, a church, or another entity
+
|-
 
+
|'''alias ='''
; nationality =  : ''Optional.'' Nationality (Gallantrian, Cantonian, etc)
+
|''Optional.'' Any aliases the character may go by
 
+
|-
; height =   : ''Optional.'' How tall
+
|'''class = '''
 
+
|''Optional.'' Class/Role, etc.
; length =  : ''Optional.'' How long in the case of 4 legged animals
+
|-
 
+
|'''paragon = '''
; wingspan =   : ''Optional.'' If the creature has wings, how wide they are outstretched.  
+
|''Optional.'' Paragon Path
 
+
|-
; weight =   : ''Optional.'' How heavy is the creature.
+
|'''epic = '''
 
+
|''Optional.'' Epic Destiny
; skincolor =   : ''Optional.'' Skin color
+
|-
 
+
|'''race = '''
; haircolor =   : ''Optional.'' Hair color
+
|''Optional.'' Race
 
+
|-
; feathers =   : ''Optional.'' Feather color and distinctions, if the creature has feathers.
+
|'''hometown = '''
 
+
|''Optional.'' Home town, country, etc.
; eyecolor =   : ''Optional.'' Eye color and distinctions.
+
|-
 
+
|'''birthyear = '''
; vision =   : ''Optional.'' The visual capacities of the creature, usually whether it has normal vision, low-light vision, or darkvision.
+
|''Optional.'' year/date of birth
 
+
|-
; distinctions =  : ''Optional.'' Any other notable characteristics about the creature that are not otherwise noted in the template.
+
|'''deathyear = '''
 
+
|''Optional.'' year/date of death
; lifespan =   : ''Optional.'' The average life expectancy of a typical, healthy member of the creature's species.
+
|-
 
+
|'''age = '''
; location = : ''Optional.'' The most common locale of the creature. If possible, use the location listed in one of the ''Monster Manuals''.
+
|''Optional.'' Age
 
+
|-
; subraces =   : ''Optional.'' Any notable populations of the creature that are significantly distinct physically or culturally from the norm (and would therefore have differing information in the template).
+
|'''gender = '''
 
+
|''Optional.'' Gender
; alignment = : ''Optional.'' Alightment
+
|-
 
+
|'''height = '''
; language = : ''Optional.'' The language or languages a creature of this race/species/character is commonly expected to speak.
+
|''Optional.'' Height
 +
|-
 +
|'''weight = 5'''
 +
|''Optional.'' Weight
 +
|-
 +
|'''alignment = '''
 +
|''Optional.'' alignment
 +
|-
 +
|'''deity = '''
 +
|''Optional.'' worshiped deities. Use brackets<nowiki>[[]]</nowiki> to link to deity of choice
 +
|-
 +
|'''quote = '''
 +
|''Optional.'' A frequent/favorite quote.
 +
|-
 +
|}
  
[[Category:Infoboxes|Creature]]
 
 
</noinclude>
 
</noinclude>

Revision as of 10:20, 17 June 2011

{{{name}}}



Usage

{{CharInfo3
|image = 
|caption = 
|name = 
|Alias = 
|Class = 
|Paragon = 
|Epic = 
|Race = 
|hometown = 
|birthyear = 
|deathyear = 
|age = 
|gender = 
|height = 
|weight = 
|alignment = 
|deity = 
|quote = 
}}

Example

Franklin Delano Bluth
Franklin, in a car.
Franklin Delano Bluth
Hometown Newport Beach, CA
Birth Year April 3, 2005
Death Year February 10, 2006
Age 1
Gender Male
Height 2 feet
Weight 5 lbs
Alignment Unaligned
Deity Not you, Whitey
Quote "My name is Judge"


image = Optional. The file name of the image to be used. Upload your image with the link to the left.
caption = Optional. A caption you wish to have under the image
name = Mandatory. Self explanatory
alias = Optional. Any aliases the character may go by
class = Optional. Class/Role, etc.
paragon = Optional. Paragon Path
epic = Optional. Epic Destiny
race = Optional. Race
hometown = Optional. Home town, country, etc.
birthyear = Optional. year/date of birth
deathyear = Optional. year/date of death
age = Optional. Age
gender = Optional. Gender
height = Optional. Height
weight = 5 Optional. Weight
alignment = Optional. alignment
deity = Optional. worshiped deities. Use brackets[[]] to link to deity of choice
quote = Optional. A frequent/favorite quote.