Difference between revisions of "Template:Character Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
(Reverting back.)
Line 24: Line 24:
 
{{!}} class="infobox-data-title" {{!}} '''Gender'''
 
{{!}} class="infobox-data-title" {{!}} '''Gender'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{gender}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{gender}}}
}}{{#if: {{{height|}}}|<br />
+
}}
{{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Height'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{height}}}
 
}}{{#if: {{{weight|}}}|<br />
 
{{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Weight'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{weight}}}
 
}}{{#if: {{{hair|}}}|<br />
 
{{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Hair color'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{hair}}}
 
{{!}}-
 
}}{{#if: {{{eye|}}}|<br />
 
{{!}} class="infobox-data-title" {{!}} '''Eye color'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{eye}}}
 
{{!}}-
 
 
 
 
|-
 
|-
 
| class="infobox-data-title" | '''Affiliation'''
 
| class="infobox-data-title" | '''Affiliation'''
Line 92: Line 75:
 
| origin =
 
| origin =
 
| gender =
 
| gender =
| height =
 
| weight =
 
| hair =
 
| eye =
 
 
| occupation =  
 
| occupation =  
 
| affiliation =
 
| affiliation =
Line 109: Line 88:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Character_Infobox
 
{{Character_Infobox
| name = Name Surname
+
| name = Harold Angus Kane
 
| image = wiki-kane.jpg
 
| image = wiki-kane.jpg
 
| imagesize = 263px
 
| imagesize = 263px
| caption = Caption.
+
| caption = Harold Kane, 818 A.S.
 
| origin = {{House Link | Liberty}}
 
| origin = {{House Link | Liberty}}
 
| gender = Male
 
| gender = Male
| height = 100
+
| occupation = Taskmaster and High Command member of the [[Vagrant Raiders|VR]]
| weight = 50
+
| affiliation = [[Vagrant Raiders]]
| hair = red
+
| service_what =  
| eye = blue
+
| service_time =  
| occupation = Doing that and that here and there
+
| rank = Taskmaster
| affiliation = [[Freelancer]]
+
| status = Active (818 A.S.)
| service_what = Army time
+
| birth_date = March 15, 795 [[A.S.]], [[Padua Base]]
| service_time = 815 - 818
+
| death_date =
| rank = Cadet
 
| status = Active (819 A.S.)
 
| birth_date = January 1, 790 [[A.S.]]
 
| death_date = Still Alive
 
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Character_Infobox
 
{{Character_Infobox
| name = Name Surname
+
| name = Harold Angus Kane
 
| image = wiki-kane.jpg
 
| image = wiki-kane.jpg
 
| imagesize = 263px
 
| imagesize = 263px
| caption = Caption.
+
| caption = Harold Kane, 818 A.S.
 
| origin = {{House Link | Liberty}}
 
| origin = {{House Link | Liberty}}
 
| gender = Male
 
| gender = Male
| height = 100
+
| occupation = Taskmaster and High Command member of the [[Vagrant Raiders|VR]]
| weight = 50
+
| affiliation = [[Vagrant Raiders]]
| hair = red
+
| service_what =  
| eye = blue
+
| service_time =  
| occupation = Doing that and that here and there
+
| rank = Taskmaster
| affiliation = [[Freelancer]]
+
| status = Active (818 A.S.)
| service_what = Army time
+
| birth_date = March 15, 795 [[A.S.]], [[Padua Base]]
| service_time = 815 - 818
+
| death_date =
| rank = Cadet
 
| status = Active (819 A.S.)
 
| birth_date = January 1, 790 [[A.S.]]
 
| death_date = Still Alive
 
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:55, 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