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
(Undo revision 26983 by Akura (Talk))
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 40: Line 40:
 
|-
 
|-
 
{{#if: {{{residence|}}}
 
{{#if: {{{residence|}}}
|-{{!}}-
+
| {{!}}-
| !}} class="infobox-data-title" {{!}} '''Residence'''
+
{{!}} class="infobox-data-title" {{!}} '''Residence'''
| !}} style="padding-right: 1em;" {{!}} {{{residence}}}
+
{{!}} style="padding-right: 1em;" {{!}} {{{residence}}}
 
}}
 
}}
 
| class="infobox-data-title" | '''Born'''
 
| class="infobox-data-title" | '''Born'''

Revision as of 04:03, 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