Difference between revisions of "Template:Character Infobox"

From Discovery Wiki
Jump to navigationJump to search
(Applied some changes; see discussion page.)
Line 14: Line 14:
 
| ''unknown''
 
| ''unknown''
 
}}
 
}}
|-
 
| class="infobox-data-title" | '''Alignment'''
 
| style="padding-right: 1em;" | {{#switch: {{{alignment}}}
 
| LAWFUL = Lawful
 
| QUASI-LEGAL = Semi-Lawful
 
| UNLAWFUL = Unlawful
 
| INDEPENDENT = Independent
 
| #default = {{{alignment}}}
 
}}
 
|-
 
| colspan="2" class="infobox-section" | Profile
 
 
|-
 
|-
 
| class="infobox-data-title" | '''Affiliation'''
 
| class="infobox-data-title" | '''Affiliation'''
Line 30: Line 19:
 
| {{{affiliation}}}
 
| {{{affiliation}}}
 
| ''unknown''
 
| ''unknown''
 +
}}
 +
{{#if: {{{occupation|}}}
 +
| {{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Occupation'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}}
 
}}
 
}}
 +
|-
 +
| colspan="2" class="infobox-section" | Profile
 
|-
 
|-
 
| class="infobox-data-title" | '''Born'''
 
| class="infobox-data-title" | '''Born'''
Line 43: Line 39:
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
{{!}} style="padding-right: 1em;" {{!}} {{{death_date}}}
 
}}
 
}}
|-
 
{{#if: {{{age|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Age'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{age}}}
 
}}
 
|-
 
{{#if: {{{birth-place|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Place of Birth'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{birth-place}}}
 
}}
 
|-
 
{{#if: {{{height|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Height'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{height}}}
 
}}
 
|-
 
{{#if: {{{gender|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Gender'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{gender}}}
 
}}
 
|-
 
{{#if: {{{hair|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Hair'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{hair}}}
 
}}
 
|-
 
{{#if: {{{eyes|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Eyes'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{eyes}}}
 
}}
 
|-
 
{{#if: {{{ethnic|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Nationality/Ethnicity'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{ethnic}}}
 
}}
 
|-
 
{{#if: {{{occupation|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Occupation'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{occupation}}}
 
}}
 
|-
 
{{#if: {{{residence|}}}
 
| {{!}}-
 
{{!}} class="infobox-data-title" {{!}} '''Residence'''
 
{{!}} style="padding-right: 1em;" {{!}} {{{residence}}}
 
}}
 
|-
 
 
|}
 
|}
 
[[Category:People]]{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}}
 
[[Category:People]]{{#if: {{{image|}}} | | [[Category: Pages without profile images]]}}
Line 107: Line 48:
 
| image = Mirwiki.png
 
| image = Mirwiki.png
 
| origin = {{House Link | Liberty}}
 
| origin = {{House Link | Liberty}}
| alignment = Lawful
+
| affiliation = Independent
| affiliation = Independent Terrorist
+
| occupation = Revolutionary
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
+
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]] (Age 34)
| death_date = Still alive
+
| death_date =
| age =
 
| birth-place =
 
| height =
 
| gender =
 
| hair =
 
| eyes =
 
| ethnic =
 
| occupation =
 
| residence =
 
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 127: Line 59:
 
| image = Mirwiki.png
 
| image = Mirwiki.png
 
| origin = {{House Link | Liberty}}
 
| origin = {{House Link | Liberty}}
| alignment = Lawful
+
| affiliation = Independent
| affiliation = Independent Terrorist
+
| occupation = Revolutionary
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]]
+
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]] (Age 34)
| death_date = Still alive
+
| death_date =
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:25, 30 October 2009

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 = Mireille Ceyes
| image = Mirwiki.png
| origin = {{House Link | Liberty}}
| affiliation = Independent
| occupation = Revolutionary
| birth_date = July 23 783 [[A.S.]], [[Planet Manhattan]] (Age 34)
| death_date =
}}

Result

Mireille Ceyes
Error creating thumbnail: Unable to save thumbnail to destination
Origin Flag-liberty.png Liberty
Affiliation Independent
Occupation Revolutionary
Profile
Born July 23 783 A.S., Planet Manhattan (Age 34)