Difference between revisions of "Template:Charinfo"

From Keedrah Wiki
Jump to navigation Jump to search
 
(41 intermediate revisions by the same user not shown)
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%"
+
<noinclude>
|-
+
==Usage==
{{#if:{{{image|}}}|
 
{{!}} colspan="2" class="infoboximage" style="text-align: center; font-size: 90%; line-height: 1.5em;" {{!}} {{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
 
{{!}}-
 
}}
 
! 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|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Type'''
 
{{!}} class="infoboxcell" style="background: white" {{!}}
 
{{{type|}}}
 
{{!}}-|}}
 
{{#if:{{{subtype|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Subtype'''
 
{{!}} class="infoboxcell"  style="background: white" {{!}}
 
{{{subtype|}}}
 
{{!}}-|}}
 
{{#if:{{{affiliations|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Affiliations'''
 
{{!}} class="infoboxcell"  style="background: white" {{!}}
 
{{{affiliations|}}}
 
{{!}}-|}}
 
{{#if:{{{nationality|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="background: white" {{!}} '''Nationality'''
 
{{!}} class="infoboxcell"  style="background: white" {{!}}
 
{{{nationality|}}}
 
{{!}}-|}}
 
 
 
{{#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 ==
 
 
<pre><nowiki>
 
<pre><nowiki>
{{CharInfo
+
{{Charinfo
| image       =  
+
|image =  
| caption     =  
+
|caption =  
| name         =  
+
|name =  
| alignment    =  
+
|alias =
| type        =  
+
|class =  
| subtype      =  
+
|paragon =  
| affiliations =
+
|epic =  
| nationality  =
+
|race =  
| height      =  
+
|hometown =  
| length      =  
+
|birthyear =
| wingspan    =  
+
|birthmonth =  
| weight      =  
+
|birthday =  
| skincolor    =  
+
|birthyear =  
| haircolor    =  
+
|deathmonth =  
| feathers    =  
+
|deathday =  
| eyecolor    =  
+
|deathyear =  
| vision      =  
+
|agereckon =
| distinctions =  
+
|gender =  
| lifespan    =  
+
|height =  
| location    =  
+
|weight =  
| subraces    =  
+
|alignment =  
| language    =  
+
|deity =  
 +
|quote =  
 
}}
 
}}
 
 
</nowiki></pre>
 
</nowiki></pre>
  
'''An example is shown to the right:'''
+
==Example==
 
+
{{Charinfo
{{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
+
|birthdate = April 3, 2005
| vision      = Normal
+
|deathdate = 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 of birth
 
+
|-
; distinctions =  : ''Optional.'' Any other notable characteristics about the creature that are not otherwise noted in the template.
+
|'''birthmonth = '''
 
+
|''Optional.'' month of birth
; lifespan =   : ''Optional.'' The average life expectancy of a typical, healthy member of the creature's species.
+
|-
 
+
|'''birthday = '''
; location = : ''Optional.'' The most common locale of the creature. If possible, use the location listed in one of the ''Monster Manuals''.
+
|''Optional.'' day of birth
 
+
|-
; 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).
+
|'''deathyear = '''
 
+
|''Optional.'' year of death
; alignment = : ''Optional.'' Alightment
+
|-
 
+
|'''deathmonth = '''
; language = : ''Optional.'' The language or languages a creature of this race/species/character is commonly expected to speak.
+
|''Optional.'' month of death
 
+
|-
[[Category:Infoboxes|Creature]]
+
|'''deathday = '''
 +
|''Optional.'' day of death
 +
|-
 +
|'''agereckon = '''
 +
|''Optional.'' reckoning of birth and death years
 +
|-
 +
|'''gender = '''
 +
|''Optional.'' Gender
 +
|-
 +
|'''height = '''
 +
|''Optional.'' Height
 +
|-
 +
|'''weight = '''
 +
|''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:Templates]]
 
</noinclude>
 
</noinclude>
 +
{| style = "padding:.3em; border:1px solid grey; float:right; margin: 0 0 8px 15px; width:23em; clear: right; color: black; background-color:WhiteSmoke "
 +
|-
 +
{{#if:{{{image|}}} |
 +
{{!}} 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}}}
 +
|-
 +
{{#if:{{{alias|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Alias'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{alias}}}
 +
{{!}}-}}
 +
{{#if:{{{class|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Class'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{class}}}
 +
{{!}}-}}
 +
{{#if:{{{paragon|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Paragon Path'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{paragon}}}
 +
{{!}}-}}
 +
{{#if:{{{epic|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Epic Destiny'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{epic}}}
 +
{{!}}-}}
 +
{{#if:{{{race|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Race'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{race}}}
 +
{{!}}-}}
 +
{{#if:{{{hometown|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Hometown'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{hometown}}}
 +
{{!}}-}}
 +
{{#if:{{{birthyear|}}}|
 +
{{!}}{{#AgeCalc:{{{birthmonth|}}}|{{{birthday|}}}|{{{birthyear|}}}|{{{deathmonth|}}}|{{{deathday|}}}|{{{deathyear|}}}|{{{agereckon|}}}}}
 +
{{!}}-}}
 +
{{#if:{{{gender|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Gender'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{gender}}}
 +
{{!}}-}}
 +
{{#if:{{{height|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Height'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{height}}}
 +
{{!}}-}}
 +
{{#if:{{{weight|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Weight'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{weight}}}
 +
{{!}}-}}
 +
{{#if:{{{alignment|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Alignment'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{alignment}}}
 +
{{!}}-}}
 +
{{#if:{{{deity|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Deity'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{deity}}}
 +
{{!}}-}}
 +
{{#if:{{{quote|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Quote'''
 +
{{!}} style="font-size: 85%;" {{!}}''"{{{quote}}}"''
 +
{{!}}-}}
 +
{{#if:{{{player|}}} |
 +
{{!}} style="font-size: 90%; vertical-align:top" {{!}}'''Player'''
 +
{{!}} style="font-size: 85%;" {{!}}{{{player}}}
 +
{{!}}-}}
 +
|colspan="2" style="font-size:75%; text-align:right;"|{{navbar|Charinfo|plain=1}}
 +
|}

Latest revision as of 18:18, 6 October 2018

Usage

{{Charinfo
|image = 
|caption = 
|name = 
|alias = 
|class = 
|paragon = 
|epic = 
|race = 
|hometown = 
|birthyear =
|birthmonth = 
|birthday = 
|birthyear = 
|deathmonth = 
|deathday = 
|deathyear = 
|agereckon =
|gender = 
|height = 
|weight = 
|alignment = 
|deity = 
|quote = 
}}

Example

Franklin Delano Bluth
Franklin, in a car.
Franklin Delano Bluth
Alias Franklin
Class Puppet
Paragon Path Black Puppet
Epic Destiny Gob's Puppet
Race African-Felt-American
Hometown Newport Beach, CA
Gender Male
Height 2 feet
Weight 5 lbs
Alignment Unaligned
Deity Not you, Whitey
Quote "My name is Judge"
view · talk · edit
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 of birth
birthmonth = Optional. month of birth
birthday = Optional. day of birth
deathyear = Optional. year of death
deathmonth = Optional. month of death
deathday = Optional. day of death
agereckon = Optional. reckoning of birth and death years
gender = Optional. Gender
height = Optional. Height
weight = Optional. Weight
alignment = Optional. alignment
deity = Optional. worshiped deities. Use brackets[[]] to link to deity of choice
quote = Optional. A frequent/favorite quote.
{{{name}}}
view · talk · edit