![]() |
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 (Merged changes from User:Kazinsal/Charinfo into the official template. Should be zero conflicts with old syntax, as the new template just adds to the old one.) |
|||
Line 5: | Line 5: | ||
|- | |- | ||
| colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{image|}}} | | colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{image|}}} | ||
− | | [[image:{{{image}}}|center|264px]] | + | | [[image:{{{image}}}|center|{{#if: {{{imagesize}}} | {{{imagesize}}} | 264px}}]] |
| [[Image:Nocharimage.jpg|center|264px]] | | [[Image:Nocharimage.jpg|center|264px]] | ||
}} | }} | ||
+ | |- | ||
+ | | colspan="2" style="padding: 0px; text-align: center;" | {{#if: {{{caption|}}} | {{{caption}}} | }} | ||
|- | |- | ||
| colspan="2" class="infobox-section" | Profile | | colspan="2" class="infobox-section" | Profile | ||
|- | |- | ||
+ | |||
| class="infobox-data-title" | '''Origin''' | | class="infobox-data-title" | '''Origin''' | ||
| style="padding-right: 1em;" | {{#if: {{{origin|}}}| {{{origin}}}| ''unknown'' | | style="padding-right: 1em;" | {{#if: {{{origin|}}}| {{{origin}}}| ''unknown'' | ||
Line 17: | Line 20: | ||
{{!}} class="infobox-data-title" {{!}} '''Occupation''' | {{!}} class="infobox-data-title" {{!}} '''Occupation''' | ||
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}} | {{!}} style="padding-right: 1em;" {{!}} {{{occupation}}} | ||
+ | }}{{#if: {{{gender|}}}|<br /> | ||
+ | {{!}}- | ||
+ | {{!}} class="infobox-data-title" {{!}} '''Gender''' | ||
+ | {{!}} style="padding-right: 1em;" {{!}} {{{gender}}} | ||
}} | }} | ||
|- | |- | ||
Line 31: | Line 38: | ||
{{!}} class="infobox-data-title" {{!}} '''Rank''' | {{!}} class="infobox-data-title" {{!}} '''Rank''' | ||
{{!}} style="padding-right: 1em;" {{!}} {{{rank}}} | {{!}} style="padding-right: 1em;" {{!}} {{{rank}}} | ||
+ | }}{{#if: {{{status|}}}|<br /> | ||
+ | {{!}}- | ||
+ | {{!}} class="infobox-data-title" {{!}} '''Status''' | ||
+ | {{!}} style="padding-right: 1em;" {{!}} {{{status}}} | ||
}} | }} | ||
|- | |- | ||
Line 46: | Line 57: | ||
<noinclude> | <noinclude> | ||
--> | --> | ||
+ | |||
+ | ==Updated sections== | ||
+ | <pre><nowiki> | ||
+ | | imagesize = | ||
+ | | caption = | ||
+ | | gender = | ||
+ | | status = | ||
+ | </nowiki></pre> | ||
+ | |||
==Usage== | ==Usage== | ||
− | <pre><nowiki>{{Character_Infobox | + | <pre><nowiki> |
− | | name = | + | {{Character_Infobox |
− | | image = | + | | name = Harold Angus Kane |
+ | | image = wiki-kane.jpg | ||
+ | | imagesize = 263px | ||
+ | | caption = Harold Kane, 818 A.S. | ||
| origin = {{House Link | Liberty}} | | origin = {{House Link | Liberty}} | ||
− | | occupation = | + | | gender = Male |
− | | affiliation = | + | | occupation = Taskmaster and High Command member of the [[Vagrant Raiders|VR]] |
− | | service_what = | + | | affiliation = [[Vagrant Raiders]] |
− | | service_time = | + | | service_what = |
− | | rank = | + | | service_time = |
− | | birth_date = | + | | rank = Taskmaster |
+ | | status = Active (818 A.S.) | ||
+ | | birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | ||
| death_date = | | death_date = | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 62: | Line 87: | ||
==Result== | ==Result== | ||
{{Character_Infobox | {{Character_Infobox | ||
− | | name = | + | | name = Harold Angus Kane |
− | | image = | + | | image = wiki-kane.jpg |
+ | | imagesize = 263px | ||
+ | | caption = Harold Kane, 818 A.S. | ||
| origin = {{House Link | Liberty}} | | origin = {{House Link | Liberty}} | ||
− | | occupation = | + | | gender = Male |
− | | affiliation = | + | | occupation = Taskmaster and High Command member of the [[Vagrant Raiders|VR]] |
− | | service_what = | + | | affiliation = [[Vagrant Raiders]] |
− | | service_time = | + | | service_what = |
− | | rank = | + | | service_time = |
− | | birth_date = | + | | rank = Taskmaster |
+ | | status = Active (818 A.S.) | ||
+ | | birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | ||
| death_date = | | death_date = | ||
}} | }} |
Revision as of 01:46, 23 August 2010
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 | |
Error creating thumbnail: Unable to save thumbnail to destination | |
Harold Kane, 818 A.S. | |
Profile | |
Origin | ![]() |
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 |