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 searchm (TOC) |
(Added option for Table of Contents) |
||
Line 75: | Line 75: | ||
{{!}} class="infobox-data-title" {{!}} '''Died''' | {{!}} class="infobox-data-title" {{!}} '''Died''' | ||
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}} | {{!}} style="padding-right: 1em;" {{!}} {{{death_date}}} | ||
− | }}{{# | + | }}{{#if: {{{toc|}}} | <nowiki /> |
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="infobox-section" {{!}} Table of contents | {{!}} colspan="2" class="infobox-section" {{!}} Table of contents | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" class="infoboxtoc" {{!}} __TOC__ | + | {{!}} colspan="2" class="infoboxtoc" {{!}} __TOC__ }} |
|} | |} | ||
{{#ifeq:{{NAMESPACE}}|Template||[[Category:People]]{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}}}}<noinclude>--> | {{#ifeq:{{NAMESPACE}}|Template||[[Category:People]]{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}}}}<noinclude>--> | ||
Line 103: | Line 103: | ||
| birth_date = | | birth_date = | ||
| death_date = | | death_date = | ||
+ | | toc = | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 125: | Line 126: | ||
| birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | | birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | ||
| death_date = | | death_date = | ||
+ | | toc = yes | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Line 147: | Line 149: | ||
| birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | | birth_date = March 15, 795 [[A.S.]], [[Padua Base]] | ||
| death_date = | | death_date = | ||
+ | | toc = yes | ||
}}[[Category:Templates]]</noinclude> | }}[[Category:Templates]]</noinclude> |
Revision as of 19:53, 21 August 2012
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 = | image = | imagesize = | caption = | origin = | gender = | height = | weight = | hair = | eye = | occupation = | affiliation = | service_what = | service_time = | rank = | status = | birth_date = | death_date = | toc = }}
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 | height = | weight = | hair = | eye = | 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 = | toc = yes }}
Result
Harold Angus Kane | |
Error creating thumbnail: Unable to save thumbnail to destination | |
Harold Kane, 818 A.S. | |
Profile | |
Origin | 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 |
Table of contents | |