YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Character Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 1: Line 1:
<noinclude>If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)<!--</noinclude>
+
<noinclude>If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)-</noinclude>
 
{| class="infobox bordered" style="float: right; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
{| class="infobox bordered" style="float: right; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
|-
 
|-
Line 39: Line 39:
 
| colspan="2" class="infobox-section" | Profile
 
| colspan="2" class="infobox-section" | Profile
 
|-
 
|-
 +
{{#if: {{{residence|}}}
 +
| {{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Residence'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{residence}}}
 +
}}
 
| class="infobox-data-title" | '''Born'''
 
| class="infobox-data-title" | '''Born'''
 
| style="padding-right: 1em;" | {{#if: {{{birth_date|}}}
 
| style="padding-right: 1em;" | {{#if: {{{birth_date|}}}
Line 61: Line 66:
 
| alignment = Lawful
 
| alignment = Lawful
 
| affiliation = Sirius Coalition Revolutionary Army
 
| affiliation = Sirius Coalition Revolutionary Army
 +
| residence = Her Ship?
 
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
 
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
 
| death_date = Still alive
 
| death_date = Still alive
Line 73: Line 79:
 
| alignment = Lawful
 
| alignment = Lawful
 
| affiliation = Sirius Coalition Revolutionary Army
 
| affiliation = Sirius Coalition Revolutionary Army
 +
| residence = Her Ship?
 
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
 
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
 
| death_date = Still alive
 
| death_date = Still alive

Revision as of 03:55, 29 October 2009

If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)-

{{{name}}}
Error creating thumbnail: Unable to save thumbnail to destination
Age unknown
Origin unknown
Alignment {{{alignment}}}
Affiliation unknown
Profile
Born unknown

-->

Usage

{{Character_Infobox
| name = Mireille Ceyes
| image = mirwiki.jpg
| age = 34
| origin = {{House Link | Liberty}}
| alignment = Lawful
| affiliation = Sirius Coalition Revolutionary Army
| residence = Her Ship?
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
| death_date = Still alive
}}

Result

Mireille Ceyes
Age 34
Origin Flag-liberty.png Liberty
Alignment Lawful
Affiliation Sirius Coalition Revolutionary Army
Profile
Residence Her Ship? Born July 23 783 A.S., Planet Manhattan
Died Still alive