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><!--</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 9: Line 9:
 
}}
 
}}
 
|-
 
|-
| class="infobox-data" | '''Origin'''
+
| class="infobox-data-title" | '''Origin'''
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| {{{origin}}}
 
| {{{origin}}}
Line 15: Line 15:
 
}}
 
}}
 
|-
 
|-
| class="infobox-data" | '''Alignment'''
+
| class="infobox-data-title" | '''Alignment'''
 
| style="padding-right: 1em;" | {{#switch: {{{alignment}}}
 
| style="padding-right: 1em;" | {{#switch: {{{alignment}}}
 
| LAWFUL = Lawful
 
| LAWFUL = Lawful
Line 25: Line 25:
 
}}
 
}}
 
|-
 
|-
| class="infobox-data" | '''Affiliation'''
+
| class="infobox-data-title" | '''Affiliation'''
 
| style="padding-right: 1em;" | {{#if: {{{affiliation|}}}
 
| style="padding-right: 1em;" | {{#if: {{{affiliation|}}}
 
| {{{affiliation}}}
 
| {{{affiliation}}}
Line 40: Line 40:
 
{{#if: {{{death_date|}}}
 
{{#if: {{{death_date|}}}
 
| {{!}}-
 
| {{!}}-
{{!}} class="infobox-data" {{!}} '''Died'''
+
{{!}} class="infobox-data-title" {{!}} '''Died'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
}}
 
}}

Revision as of 14:45, 19 August 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.)

Usage

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

Result

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