Difference between revisions of "Template:Infobox"

From Kupopowiki
Jump to: navigation, search
Line 1: Line 1:
{| class="infobox bordered" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:200px;" border="1" cellpadding="0"
+
<table class="infobox bordered" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:200px;" border="1" cellpadding="0"><caption style="font-size: larger;">'''{{PAGENAME}}'''</caption><tr><td colspan="2" style="text-align:center;">'''Biological'''</td></tr>{{if|{{{fullname|}}}|<tr style="text-align:left;"><td>Full name:</td><td>{{{fullname}}}</td></tr>}}{{if|{{{born|}}}|<tr style="text-align:left;"><td>Born:</td><td>{{{born}}}</td></tr>}}{{if|{{{birthplace|}}}|<tr style="text-align:left;"><td>Birthplace:</td><td>{{{birthplace}}}</td></tr>}}{{if|{{{sex|}}}|<tr style="text-align:left;"><td>Sex:</td><td>{{{sex}}}</td></tr>}}{{if|{{{race|}}}|<tr style="text-align:left;"><td>Race:</td><td>{{{race}}}</td></tr>}}{{if|{{{hair|}}}|<tr style="text-align:left;"><td>Hair:</td><td>{{{hair}}}</td></tr>}}{{if|{{{eyes|}}}|<tr style="text-align:left;"><td>Eyes:</td><td>{{{eyes}}}</td></tr>}}{{if|{{{height|}}}|<tr style="text-align:left;"><td>Height:</td><td>{{{height}}}</td></tr>}}{{if|{{{weight|}}}|<tr style="text-align:left;"><td>Weight:</td><td>{{{weight}}}</td></tr>}}<tr><td colspan="2" style="text-align:center;">'''Personal'''</td></tr>{{if|{{{married|}}}|<tr style="text-align:left;"><td>Marital Status:</td><td>{{{married}}}</td></tr>}}{{if|{{{religion|}}}|<tr style="text-align:left;"><td>Religion:</td><td>{{{religion}}}</td></tr>}}{{if|{{{title|}}}|<tr style="text-align:left;"><td>Title:</td><td>{{{title}}}</td></tr>}}{{if|{{{nicknames|}}}|<tr style="text-align:left;"><td>Nicknames:</td><td>{{{nicknames}}}</td></tr>}}{{if|{{{hobbies|}}}|<tr style="text-align:left;"><td>Hobbies:</td><td>{{{hobbies}}}</td></tr>}}{{if|{{{skills|}}}|<tr style="text-align:left;"><td>Known skills:</td><td>{{{skills}}}</td></tr>}}{{if|{{{favcolor|}}}|<tr style="text-align:left;"><td>Favorite color:</td><td>{{{favcolor}}}</td></tr>}}{{if|{{{inspiration|}}}|<tr style="text-align:left;"><td>Inspiration:</td><td>{{{inspiration}}}</td></tr>}}{{if|{{{motto|}}}|<tr style="text-align:left;"><td>Motto:</td><td>{{{motto}}}</td></tr>}}<tr><td colspan="2" style="font-size: smaller;">{{{footnotes|}}}</td></tr></table><noinclude>
|+ style="font-size: larger;" | '''{{PAGENAME}}'''
 
|-
 
| colspan="2" style="text-align:center;" | '''Biological'''
 
|- {{#if:{{{fullname|}}}| style="text-align:left;"
 
! Full name:
 
| {{{fullname}}}
 
|- {{#if:{{{born|}}}| style="text-align:left;"
 
! Born:
 
| {{{born}}}
 
|- {{#if:{{{birthplace|}}}| style="text-align:left;"
 
! Birthplace:
 
| {{{birthplace}}}
 
|- {{#if:{{{sex|}}}| style="text-align:left;"
 
! Sex:
 
| {{{sex}}}
 
|- {{#if:{{{race|}}}| style="text-align:left;"
 
! Race:
 
| {{{race}}}
 
|- {{#if:{{{hair|}}}| style="text-align:left;"
 
! Hair:
 
| {{{hair}}}
 
|- {{#if:{{{eyes|}}}| style="text-align:left;"
 
! Eyes:
 
| {{{eyes}}}
 
|- {{#if:{{{height|}}}| style="text-align:left;"
 
! Height:
 
| {{{height}}}
 
|- {{#if:{{{weight|}}}| style="text-align:left;"
 
! Weight:
 
| {{{weight}}}
 
|-
 
| colspan="2" style="text-align:center;" | '''Personal'''
 
|- {{#if:{{{married|}}}| style="text-align:left;"
 
! Marital Status:
 
| {{{married}}}
 
|- {{#if:{{{religion|}}}| style="text-align:left;"
 
! Religion:
 
| {{{religion}}}
 
|- {{#if:{{{title|}}}| style="text-align:left;"
 
! Title:
 
| {{{title}}}
 
|- {{#if:{{{nicknames|}}}| style="text-align:left;"
 
! Nicknames:
 
| {{{nicknames}}}
 
|- {{#if:{{{hobbies|}}}| style="text-align:left;"
 
! Hobbies:
 
| {{{hobbies}}}
 
|- {{#if:{{{skills|}}}| style="text-align:left;"
 
! Known skills:
 
| {{{skills}}}
 
|- {{#if:{{{favcolor|}}}| style="text-align:left;"
 
! Favorite color:
 
| {{{favcolor}}}
 
|- {{#if:{{{inspiration|}}}| style="text-align:left;"
 
! Inspiration:
 
| {{{inspiration}}}
 
|- {{#if:{{{motto|}}}| style="text-align:left;"
 
! Motto:
 
| {{{motto}}}
 
|-
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}<noinclude>
 
  
 
<br style="clear:both" />
 
<br style="clear:both" />

Revision as of 18:55, 15 September 2006









Infobox
Biological
Personal


Usage

The infobox can be added by copying and pasting the template shown below:

Note: All fields are optional.

{{Infobox
| fullname = 
| born =
| birthplace =
| sex =
| race = 
| hair =
| eyes = 
| height = 
| weight = 
| married =
| religion = 
| title =
| nicknames = 
| hobbies = 
| skills =
| favcolor =
| inspiration =
| motto =
}}
  • fullname – the full name of the character.
  • born – the birthdate of the character.
  • birthplace – the place the character was born.
  • sex – the sex of the character.
  • race – the race of the character.
  • hair – the character's hair color/style.
  • eyes – the characters eye color.
  • height – the character's height.
  • weight – the character's weight.
  • married – the character's marital status.
  • religion the character's religion.
  • title any titles the character may have.
  • nicknames any nicknames the character may have.
  • hobbies – the character's hobbies.
  • skills – any known skills the character may have.
  • favcolor – the character's favorite color.
  • inspiration – the character's inspirations.
  • motto – the character's motto.

For an example, see Alkar the Black.