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 12: Line 12:
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| {{{origin}}}
 
| {{{origin}}}
| ''unknown''
 
}}
 
|-
 
| class="infobox-data-title" | '''Age'''
 
| style="padding-right: 1em;" | {{#if: {{{age|}}}
 
| {{{age}}}
 
 
| ''unknown''
 
| ''unknown''
 
}}
 
}}
Line 24: Line 18:
 
| style="padding-right: 1em;" | {{#switch: {{{alignment}}}
 
| style="padding-right: 1em;" | {{#switch: {{{alignment}}}
 
| LAWFUL = Lawful
 
| LAWFUL = Lawful
 +
| QUASI-LEGAL = Semi-Lawful
 
| UNLAWFUL = Unlawful
 
| UNLAWFUL = Unlawful
| QUASI-LEGAL = Quasi-legal
 
| CORPORATION = Lawful/Corporation
 
 
| INDEPENDENT = Independent
 
| INDEPENDENT = Independent
 
| #default = {{{alignment}}}
 
| #default = {{{alignment}}}
 
}}
 
}}
 
|-
 
|-
| class="infobox-data-title" | '''Affiliation'''
+
| colspan="2" class="infobox-section" | Profile
| style="padding-right: 1em;" | {{#if: {{{affiliation|}}}
 
| {{{affiliation}}}
 
| ''unknown''
 
}}
 
 
|-
 
|-
 
| class="infobox-data-title" | '''Born'''
 
| class="infobox-data-title" | '''Born'''
Line 47: Line 36:
 
{{!}} class="infobox-data-title" {{!}} '''Died'''
 
{{!}} class="infobox-data-title" {{!}} '''Died'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 +
}}
 +
|-
 +
| class="infobox-data-title" | '''Affiliation'''
 +
| style="padding-right: 1em;" | {{#if: {{{affiliation|}}}
 +
| {{{affiliation}}}
 +
| ''unknown''
 
}}
 
}}
 
|}
 
|}
Line 73: Line 68:
 
| 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 =  
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 07: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.)

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
Origin Flag-liberty.png Liberty
Alignment Lawful
Profile
Born July 23 783 A.S., Planet Manhattan
Affiliation Sirius Coalition Revolutionary Army