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
(Reverting back.)
m (Edited for Biological, Technical, and Grammatical correctness (see discussion))
Line 22: Line 22:
 
}}{{#if: {{{gender|}}}|<br />
 
}}{{#if: {{{gender|}}}|<br />
 
{{!}}-
 
{{!}}-
{{!}} class="infobox-data-title" {{!}} '''Gender'''
+
{{!}} class="infobox-data-title" {{!}} {{#ifeq: {{{prude|}}}|no|'''Sex'''|'''Gender'''|}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{gender}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{gender}}}
 +
}}{{#if: {{{sex|}}}|<br />
 +
{{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Sex'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{sex}}}
 
}}
 
}}
 
|-
 
|-

Revision as of 19:52, 12 August 2011

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.)

Updated sections

| imagesize =
| caption =
| gender =
| status =

Usage

{{Character_Infobox
| name =
| image = 
| imagesize =
| caption =
| origin =
| gender =
| occupation = 
| affiliation =
| service_what =
| service_time =
| rank =
| status =
| birth_date =
| death_date =
}}

Example

{{Character_Infobox
| name = Harold Angus Kane
| image = wiki-kane.jpg
| imagesize = 263px
| caption = Harold Kane, 818 A.S.
| origin = {{House Link | Liberty}}
| gender = Male
| occupation = Taskmaster and High Command member of the [[Vagrant Raiders|VR]]
| affiliation = [[Vagrant Raiders]]
| service_what = 
| service_time = 
| rank = Taskmaster
| status = Active (818 A.S.)
| birth_date = March 15, 795 [[A.S.]], [[Padua Base]]
| death_date =
}}

Result

Harold Angus Kane
Error creating thumbnail: Unable to save thumbnail to destination
Harold Kane, 818 A.S.
Profile
Origin Flag-liberty.png Liberty
Occupation Taskmaster and High Command member of the VR
Gender Male
Affiliation Vagrant Raiders
Rank Taskmaster
Status Active (818 A.S.)
Born March 15, 795 A.S., Padua Base