Difference between revisions of "Template:Character Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
(format update)
Line 12: Line 12:
 
|-
 
|-
 
| class="infobox-data-title" | '''Origin'''
 
| class="infobox-data-title" | '''Origin'''
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
+
| style="padding-right: 1em;" | {{#if: {{{origin|}}}| {{{origin}}}| ''unknown''
| {{{origin}}}
+
}}{{#if: {{{occupation|}}}|<br />
| ''unknown''
+
{{!}}-
}}
 
{{#if: {{{occupation|}}}
 
| {{!}}-
 
 
{{!}} class="infobox-data-title" {{!}} '''Occupation'''
 
{{!}} class="infobox-data-title" {{!}} '''Occupation'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}}
Line 26: Line 23:
 
| {{{affiliation}}}
 
| {{{affiliation}}}
 
| ''unknown''
 
| ''unknown''
}}
+
}}{{#if: {{{service_time|}}}|<br />
{{#if: {{{service_time|}}}
+
{{!}}-
| {{!}}-
 
 
{{!}} class="infobox-data-title" {{!}} '''{{{service_what}}}'''
 
{{!}} class="infobox-data-title" {{!}} '''{{{service_what}}}'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{service_time}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{service_time}}}
}}
+
}}{{#if: {{{rank|}}}|<br />
{{#if: {{{rank|}}}
+
{{!}}-
| {{!}}-
 
 
{{!}} class="infobox-data-title" {{!}} '''Rank'''
 
{{!}} class="infobox-data-title" {{!}} '''Rank'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{rank}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{rank}}}
Line 42: Line 37:
 
| {{{birth_date}}}
 
| {{{birth_date}}}
 
| ''unknown''
 
| ''unknown''
}}
+
}}{{#if: {{{death_date|}}}|<br />
|-
+
{{!}}-
{{#if: {{{death_date|}}}
 
| {{!}}-
 
 
{{!}} class="infobox-data-title" {{!}} '''Died'''
 
{{!}} class="infobox-data-title" {{!}} '''Died'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}

Revision as of 03:55, 26 December 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.png
| origin = {{House Link | Liberty}}
| occupation = Revolutionary
| affiliation = Independent
| service_what = Years of service in the [[Liberty Army|LMC]]
| service_time = 805 - 816
| rank = Colonel (dishonorably discharged)
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]] (Age 34)
| death_date =
}}

Result

Mireille Ceyes
Error creating thumbnail: Unable to save thumbnail to destination
Profile
Origin Flag-liberty.png Liberty
Occupation Revolutionary
Affiliation Independent
Years of service in the LMC 805 - 816
Rank Colonel (dishonorably discharged)
Born July 23 783 A.S., Planet Manhattan (Age 34)