Template:Character Infobox

From Discovery Wiki
Revision as of 02:20, 23 August 2010 by Kazinsal (talk | contribs) (Test to see if I've fixed this...)
Jump to navigationJump to search

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 = 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
{{#if: wiki-kane.jpg [[image:wiki-kane.jpg|center|{{#ifeq: 263px | {{{imagesize}}}<nowiki> | 264px | {{{imagesize}}}}}]] | [[Image:Nocharimage.jpg|center|264px]] }} |- | colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{caption|}}} | {{{caption}}} | }} |- | colspan="2" class="infobox-section" | Profile |- | class="infobox-data-title" | '''Origin''' | style="padding-right: 1em;" | {{#if: {{{origin|}}}| {{{origin}}}| ''unknown'' }}{{#if: {{{occupation|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" {{!}} '''Occupation''' {{!}} style="padding-right: 1em;" {{!}} {{{occupation}}} }}{{#if: {{{gender|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" {{!}} '''Gender''' {{!}} style="padding-right: 1em;" {{!}} {{{gender}}} }} |- | class="infobox-data-title" | '''Affiliation''' | style="padding-right: 1em;" | {{#if: {{{affiliation|}}} | {{{affiliation}}} | ''unknown'' }}{{#if: {{{service_time|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" style="width: 100px;" {{!}} '''{{{service_what}}}''' {{!}} style="padding-right: 1em;" {{!}} {{{service_time}}} }}{{#if: {{{rank|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" {{!}} '''Rank''' {{!}} style="padding-right: 1em;" {{!}} {{{rank}}} }}{{#if: {{{status|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" {{!}} '''Status''' {{!}} style="padding-right: 1em;" {{!}} {{{status}}} }} |- | class="infobox-data-title" | '''Born''' | style="padding-right: 1em;" | {{#if: {{{birth_date|}}} | {{{birth_date}}} | ''unknown'' }}{{#if: {{{death_date|}}}|<br /> {{!}}- {{!}} class="infobox-data-title" {{!}} '''Died''' {{!}} style="padding-right: 1em;" {{!}} {{{death_date}}} }} |} [[Category:People]]{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}} <noinclude> --> ==Updated sections== <pre><nowiki> | imagesize = | caption = | gender = | status =

Usage

{{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

Template loop detected: Template:Character Infobox </noinclude>