Difference between revisions of "Template:Character"

From Legion Wiki
Jump to navigationJump to search
(Note to self - still need to merge this with {{Member}}, but the "LSH member" line is a bit fiddly and will probably require all pages either with {{Member}} or {{Character}} to be edited...)
Line 1: Line 1:
{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; width: 22em; line-height:1.2"
+
{| style="float: right; clear: right; margin: 0 0 1em 1em; width: 22em; line-height:1.2;border:0; -moz-border-radius-topleft: 2em; -moz-border-radius-bottomright: 2em;  border-radius: 2em 0" cellspacing="0" cellpadding="0" class="{{Member/era|{{{era|}}}}}"  
 
|-
 
|-
!style="text-align:center; background:{{{era_color}}}; line-height:1.3; vertical-align:bottom" valign="bottom"|<span style="font-size:11pt; vertical-align:bottom">{{{character_name}}}</span>
+
|class="{{#switch:{{lc:{{{era|Xx}}}}}
 +
|preboot|precrisis|pre-crisis|postcrisis|post-crisis|glorithverse|glorith|5yl|e0|earth-0|lightning saga=preboot_heading
 +
|postboot|reboot|postzh|post-zero hour|e247|earth-247=reboot_heading
 +
|eprime|post-infinite crisis=threeboot_heading
 +
|elseworlds=elseworlds_heading
 +
|cartoon|dcau|lsh cartoon|legion of super heroes cartoon|smallville=cartoon_heading
 +
|wiki_heading}}" style="-moz-border-radius-topleft: 2em;-moz-border-radius-bottomright: 2em;"|
 +
{| style="line-height:1.2;border:1px solid black; -moz-border-radius-topleft: 2em; -moz-border-radius-bottomright: 2em;  border-radius: 2em 0; background:white" cellspacing="0"
 +
|- class="{{#switch:{{lc:{{{era|Xx}}}}}
 +
|preboot|precrisis|pre-crisis|postcrisis|post-crisis|glorithverse|glorith|5yl|e0|earth-0|lightning saga=preboot_heading
 +
|postboot|reboot|postzh|post-zero hour|e247|earth-247=reboot_heading
 +
|eprime|post-infinite crisis=threeboot_heading
 +
|elseworlds=elseworlds_heading
 +
|cartoon|dcau|lsh cartoon|legion of super heroes cartoon|smallville=cartoon_heading
 +
|wiki_heading}}" style="display: block; margin:-1px;padding: 5px 4px; -moz-border-radius-topleft: 2em;  border-radius: 2em 0 0 0; text-align:center"
 +
! style="display: block; font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv,sans-serif;font-size:125%;text-align:center;" align="center" width="100%"|<span style="text-transform: uppercase;font-size:15pt" class="{{#switch:{{lc:{{{era|Xx}}}}}
 +
|precrisis|pre-crisis=preboot_prec_heading
 +
|postcrisis|post-crisis=preboot_postc_heading
 +
|glorithverse|glorith|5yl=preboot_5yl_heading
 +
|e0|earth-0|lightning saga=preboot_retro_heading
 +
|postzh|post-zero hour=reboot_postzh_heading
 +
|e247|earth-247=reboot_e247_heading
 +
|eprime|post-infinite crisis=threeboot_eprime_heading
 +
|elseworlds=elseworlds_heading_text
 +
|dcau=cartoon_dcau_heading
 +
|lsh cartoon|legion of super heroes cartoon=cartoon_lsh_heading
 +
|wiki_heading}}">{{{character_name}}}</span>
 +
{{#if:{{{image<includeonly>|</includeonly>}}} |
 +
{{!}}-  style="background:black;color: #FFFFFF;display: block; padding: 5px 4px;text-align:center"
 +
{{!}}
 +
{{{!}} style="background: black; color:white;width: 22em; margin: 0 auto;" cellpadding="0" cellspacing="2"
 +
{{!}}style="text-align: center; line-height:1.3;font-family:Gill Sans,Calibri,Helvetica Neue,Helvetica,Helv,Arialsans-serif;"{{!}}{{{image}}}{{#if:{{{caption<includeonly>|</includeonly>}}} |<br />{{{caption}}}}}
 +
{{!}}}|}}
 
|-
 
|-
|
+
||
{| style="background: none; width: 22em; margin: 0 auto;" cellpadding="0" cellspacing="2"
+
{| style="width: 95%; margin: 0.5em 2.5%; font-size:95%" cellspacing="2"
|style="text-align: center; font-size: 90%;"|{{{image}}}
+
{{#if:{{{real_name<includeonly>|</includeonly>}}} |
|-
+
{{!}}-
|style="text-align: center; font-size: 90%; line-height:1.3;"|{{{caption}}}
+
{{!}} style="vertical-align: top" {{!}}'''Real name'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{real_name}}}
 +
}}
 +
{{#if:{{{debut<includeonly>|</includeonly>}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''First appearance'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{debut}}}
 +
}}
 
|}
 
|}
 
|-
 
|-
 +
!colspan="2" style="background:#fefe1e; color:black;text-transform:uppercase;font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv,sans-serif;font-size:125%;text-align:center;line-height:1.25"|Stats
 +
|-
 
|
 
|
{| style="background: none; width: 22em; margin: 0 auto"
+
{| style="width: 95%; margin: 0 2.5% 0.5em 2.5%; font-size:95%" cellspacing="2"
|-
+
{{#if:{{{status<includeonly>|</includeonly>}}} |
|- style="vertical-align: top;"
+
{{!}}-
|'''Era'''||{{{era}}}
+
{{!}} style="vertical-align: top" {{!}}'''Status'''
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: middle" {{!}}{{{status}}}
|'''Real name'''||{{{real_name}}}
+
}}
|- style="vertical-align: top;"
+
{{#if:{{{planet_spec<includeonly>|</includeonly>}}} |
|'''First appearance'''||{{{debut}}}
+
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''Home&nbsp;planet<span style="font-size:1px"> </span>/<span style="font-size:1px"> </span>Species'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{planet_spec}}}
 +
}}
 +
{{#if:{{{other_teams<includeonly>|</includeonly>}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''Other teams joined'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{other_teams}}}
 +
}}
 +
{{#if:{{{aliases<includeonly>|</includeonly>}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''Aliases'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{aliases}}}
 +
}}
 +
{{#if:{{{relatives<includeonly>|</includeonly>}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''[[/Relatives|Relatives]]'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{relatives}}}
 +
}}
 +
{{#if:{{{powers<includeonly>|</includeonly>}}} |
 +
{{!}}-
 +
{{!}} style="vertical-align: top" {{!}}'''Powers'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{powers}}}
 +
}}
 
|}
 
|}
 
|-
 
|-
 +
!colspan="2" style="background:#fefe1e; color:black;text-transform:uppercase;font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv,sans-serif;font-size:125%;text-align:center;line-height:1.25"|Other versions
 +
|-
 
|
 
|
{| class="toccolours" style="background: none; width: 22em; margin: 0 auto;"
+
{| style="width: 95%; margin: 0 2.5% 0.5em 2.5%; font-size:95%" cellspacing="2"
|-
+
{{#if:{{{ov_preboot|{{{ov_precrisis|{{{ov_postcrisis|{{{ov_glorithverse|{{{ov_lightningsaga<includeonly>|</includeonly>}}}}}}}}}}}}}}} |
!colspan="2" style="background:{{{alliance_color}}}; line-height:1.25"|Statistics
+
{{!}} style="vertical-align: top" {{!}}'''Preboot versions'''
|- style="vertical-align: top;"
+
{{!}}{{#if:{{{ov_preboot<includeonly>|</includeonly>}}}|{{{ov_preboot<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_precrisis<includeonly>|</includeonly>}}}|{{{ov_precrisis<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_postcrisis<includeonly>|</includeonly>}}}|{{{ov_postcrisis<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_glorithverse<includeonly>|</includeonly>}}}|{{{ov_glorithverse<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_lightningsaga<includeonly>|</includeonly>}}}|{{{ov_lightningsaga<includeonly>|</includeonly>}}}| }}
|'''Status'''||{{{status}}}
+
{{!}}-
|- style="vertical-align: top;"
+
}}
|'''Home Planet/Species'''||{{{planet_spec}}}
+
{{#if:{{{ov_reboot|{{{ov_postzerohour<includeonly>|</includeonly>}}}}}} |
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: top" {{!}}'''Reboot versions'''
|'''Teams joined'''||{{{teams}}}
+
{{!}}{{#if:{{{ov_reboot<includeonly>|</includeonly>}}}|{{{ov_reboot<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_postzerohour<includeonly>|</includeonly>}}}|{{{ov_postzerohour<includeonly>|</includeonly>}}}| }}
|- style="vertical-align: top;"
+
{{!}}-
|'''Aliases'''||{{{aliases}}}
+
}}
|- style="vertical-align: top;"
+
{{#if:{{{ov_threeboot|{{{ov_postinfinite<includeonly>|</includeonly>}}}}}} |
|'''[[/Relatives|Relatives]]'''||{{{relatives}}}
+
{{!}} style="vertical-align: top" {{!}}'''Threeboot versions'''
|- style="vertical-align: top;"
+
{{!}}{{#if:{{{ov_threeboot<includeonly>|</includeonly>}}}|{{{ov_threeboot<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_postinfinite<includeonly>|</includeonly>}}}|{{{ov_postinfinite<includeonly>|</includeonly>}}}| }}
|'''Powers'''||{{{powers}}}
+
{{!}}-
|-
+
}}
|colspan="2" align="center"|
+
{{#if:{{{ov_television|{{{ov_dcau|{{{ov_lshcartoon<includeonly>|</includeonly>}}}}}}}}} |
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: top" {{!}}'''Televisual versions'''
!colspan="2" style="background:black;color:white; line-height:1.25"|Other versions
+
{{!}}{{#if:{{{ov_television<includeonly>|</includeonly>}}}|{{{ov_television<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_lshcartoon<includeonly>|</includeonly>}}}|{{{ov_lshcartoon<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_dcau<includeonly>|</includeonly>}}}|{{{ov_dcau<includeonly>|</includeonly>}}}| }}
|- style="vertical-align: top;"
+
}}
|'''Pre-Crisis'''||{{{ov_precrisis}}}
 
|- style="vertical-align: top;"
 
|'''Post-Crisis'''||{{{ov_postcrisis}}}
 
|- style="vertical-align: top;"
 
|'''Glorithverse'''||{{{ov_glorithverse}}}
 
|- style="vertical-align: top;"
 
|'''Post-Zero Hour'''||{{{ov_postzerohour}}}
 
|- style="vertical-align: top;"
 
|'''Post-Infinite Crisis'''||{{{ov_postinfinite}}}
 
|- style="vertical-align: top;"
 
|'''DC Anim. Universe'''||{{{ov_dcau}}}
 
|- style="vertical-align: top;"
 
|'''LSH cartoon'''||{{{ov_lshcartoon}}}
 
 
|}
 
|}
 
|}
 
|}
<noinclude>
+
|}
'''FOR LEGION MEMBERS, USE [[Template:Member]]!!''''
+
<noinclude>{{doc}}[[Category:Infoboxes| Character]]
===Variables===
 
<pre>{{character
 
|era_color=
 
|character_name=
 
|image=
 
|caption=
 
|era=
 
|real_name=
 
|debut=
 
|alliance_color=
 
|status=
 
|planet_spec=
 
|teams=
 
|aliases=
 
|relatives=
 
|powers=
 
|ov_precrisis=
 
|ov_postcrisis=
 
|ov_glorithverse=
 
|ov_postzerohour=
 
|ov_postinfinite=
 
|ov_dcau=
 
|ov_lshcartoon=
 
}}</pre>
 
 
 
===Image syntax===
 
 
 
To use the ''image'' variable, type [[Image:''imagename.ext''|250px]] after the =, replacing ''imagename.ext'' with the actual name of the image.
 
 
 
===Colour Scheme===
 
 
 
{|class="toccolours"
 
!colspan=2|era_color
 
|-
 
{{era_color}}
 
|-
 
!colspan="2"|alliance_color
 
|-
 
!Colour
 
!Alliance
 
|-
 
!style="background:#ff9275"|#ff9275
 
|Hero
 
|-
 
!style="background:#c0c0ff"|#c0c0ff
 
|Villain
 
|-
 
!style="background:#c0ffc0"|#c0ffc0
 
|Supporting character
 
|-
 
!style="background:#c0c0c0"|#c0c0c0
 
|Neutral/Both hero and villain at times/Other
 
|-
 
|}
 
 
 
[[Category:Infoboxes| Character]]
 
 
</noinclude>
 
</noinclude>

Revision as of 19:47, 28 November 2011

{{{character_name}}}
{{{image}}}
{{{caption}}}
Real name {{{real_name}}}
First appearance {{{debut}}}
Stats
Status {{{status}}}
Home planet / Species {{{planet_spec}}}
Other teams joined {{{other_teams}}}
Aliases {{{aliases}}}
Relatives {{{relatives}}}
Powers {{{powers}}}
Other versions
Preboot versions {{{ov_preboot}}}
{{{ov_precrisis}}}
{{{ov_postcrisis}}}
{{{ov_glorithverse}}}
{{{ov_lightningsaga}}}
Reboot versions {{{ov_reboot}}}
{{{ov_postzerohour}}}
Threeboot versions {{{ov_threeboot}}}
{{{ov_postinfinite}}}
Televisual versions {{{ov_television}}}
{{{ov_lshcartoon}}}
{{{ov_dcau}}}
(Transcluded documentation: view)

For use with any character who is not a Legion of Super-Heroes member. Place at the top of a page.

Variables

Copy and paste the text in the grey box below directly onto a page, then fill out to use the infobox. See below for notes on era, image & other versions.

{{member
|era=[see below]
|elseworld=[only if the era is elseworlds!]
|character_name=
|image=
|caption=
|real_name=
|debut=
|status=
|planet_spec=
|roles=
|teams=
|aliases=
|relatives=
|powers=
|ov_preboot=
|ov_reboot=
|ov_threeboot=
|ov_television=
}} __TOC__

Image syntax

To use the image variable, type 250px after the =, replacing imagename.ext with the actual name of the image.

Other versions

Where a character exists in other continuities, insert a link as you would for any other link to that page - e.g., on Leviathan, to link to the pre-Crisis version of Gim Allon, you would type [[Colossal Boy/Preboot|Colossal Boy]]. beside ov_preboot=.

Eras

Use the following in the era= variable. e.g., for Pre-Crisis comics, use

|era=precrisis

:

Continuity family
Era variable
Preboot
Pre-Crisis (until Feb 1986) precrisis
Post-Crisis (Mar 1986-Aug 1989) postcrisis
Five Years Later/Glorithverse (Aug 1989-Aug 1994) 5yl
Retroboot (overlaps with Threeboot Aug 2006-Jan 2009,
main Feb 2009-Aug 2011)
retroboot
Post-Flashpoint (Sep 2011-present) postfp
Reboot
Post-Zero Hour (Aug 1994-Oct 2004) postzh
Earth-247 (never main version,
occasional use May 2006 onward)
e247
Threeboot
Earth-Prime (Oct 2004-Jan 2009,
occasional use thereafter)
eprime
Television
Based on Legion of Super Heroes cartoon lshcartoon
Based on DCAU
(Superman: TAS, Justice League Unlimited)
dcau
Elseworlds
Any, use |elseworld=NAME to specify elseworlds