Difference between revisions of "Template:Genericbox"

From Legion Wiki
Jump to navigationJump to search
(More as a "Just in case" than anything else - use only if there's no ready alternative - but WTH)
 
m
 
(11 intermediate revisions by the same user not shown)
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"
 
|-
 
|-
!style="text-align:center; background:{{{era_color}}}; line-height:1.3; vertical-align:bottom" valign="bottom"|<span style="font-size:11pt; vertical-align:bottom">{{{name}}}</span>
+
|style="-moz-background:none;-moz-border-radius-topleft: 2em;-moz-border-radius-bottomright: 2em;"|
 +
{| style="line-height:1.2;border:1px solid black;width: 22em; -moz-border-radius-topleft: 2em; -moz-border-radius-bottomright: 2em;  border-radius: 2em 0; background:white" cellspacing="0"
 +
|- class="{{member/era|{{{era|}}}}}" style="display: block; margin:-1px;padding: 5px 4px; -moz-border-radius-topleft: 2em;  border-radius: 2em 0 0 0; text-align:center"
 +
! class="{{member/era|{{{era|}}}}}"  style="display: block; border-radius:1.575em 0 0 0; -moz-border-radius-topleft:2em; font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv,sans-serif;font-size:125%;text-align:center;" align="center" width="100%"|<span class="{{issue/erastyle|{{{era|}}}}}" style="text-transform: uppercase;font-size:15pt;background:none">{{{hq_name|{{{object_name|{{{species_name|{{{elseworld_name|{{{name}}}}}}}}}}}}}}}</span>{{#if: {{{name2|}}} |<span style="font-size:80%;" class="{{issue/erastyle|{{{era|}}}}}"><br>a.k.a. '''{{{name2}}}'''</span>}}<span class="headersmtext"><br>'''{{Issue/eravariable|era={{{era}}}|elseworld={{{elseworld|Other}}}}}'''{{#if: {{{era2<includeonly>|</includeonly>}}} |<br><span class="{{issue/erastyle|{{{era2|}}}}}" style="padding:1px 2px;border-radius:5px 0">'''{{Issue/eravariable|era={{{era2}}}|elseworld={{{elseworld2|Other}}}}}'''</span>{{#if: {{{era3<includeonly>|</includeonly>}}} |<br><span class="{{issue/erastyle|{{{era3|}}}}}" style="padding:1px 3px;border-radius:5px 0">'''{{Issue/eravariable|era={{{era3}}}|elseworld={{{elseworld3|Other}}}}}'''</span>}}}}</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:{{{debut|</includeonly>}}} |
|style="text-align: center; font-size: 90%; line-height:1.3;"|{{{caption}}}
+
{{!}} style="vertical-align: top" {{!}}'''First appearance'''
|}
+
{{!}} style="vertical-align: middle" {{!}}{{{debut}}}
|-
+
|{{#if:{{{debut_indv|{{{debut_soc<includeonly>|</includeonly>}}}}}} |
|
+
{{!}} style="vertical-align: top" {{!}}'''First appearance [individual(s)]'''
{| style="background: none; width: 22em; margin: 0 auto;"
+
{{!}} style="vertical-align: middle" {{!}}{{{debut_indv}}}
|-
+
{{!}}-
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: top" {{!}}'''First appearance [society]'''
|'''Era'''||{{{era}}}
+
{{!}} style="vertical-align: middle" {{!}}{{{debut_soc}}}}}
|- style="vertical-align: top;"
+
}}
|'''First appearance'''||{{{debut}}}
+
{{!}}-
 +
{{#if:{{{first_used<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''First used'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{first_used}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{left<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Destroyed/Abandoned'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{left}}}
 +
}}
 
|}
 
|}
 
|-
 
|-
 +
!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
 +
|-
 
|
 
|
{| 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"
|-
+
{{!}}-
!colspan="2" style="background:{{{alliance_color}}}; line-height:1.25"|Statistics
+
{{#if:{{{status<includeonly>|</includeonly>}}} |
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: top" {{!}}'''Status'''
|'''Status'''||{{{status}}}
+
{{!}} style="vertical-align: middle" {{!}}{{{status}}}
|-
+
}}
|colspan="2" align="center"|
+
{{!}}-
|- style="vertical-align: top;"
+
{{#if:{{{location<includeonly>|</includeonly>}}} |
!colspan="2" style="background:black;color:white; line-height:1.25"|Other versions
+
{{!}} style="vertical-align: top" {{!}}'''Location'''
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: middle" {{!}}{{{location}}}
|'''Pre-Crisis'''||{{{ov_precrisis}}}
+
}}
|- style="vertical-align: top;"
+
{{!}}-
|'''Post-Crisis'''||{{{ov_postcrisis}}}
+
{{#if:{{{users<includeonly>|</includeonly>}}} |
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: top" {{!}}'''Users'''
|'''Glorithverse'''||{{{ov_glorithverse}}}
+
{{!}} style="vertical-align: middle" {{!}}{{{users}}}
|- style="vertical-align: top;"
+
}}
|'''Post-Zero Hour'''||{{{ov_postzerohour}}}
+
{{!}}-
|- style="vertical-align: top;"
+
{{#if:{{{manufacturers<includeonly>|</includeonly>}}} |
|'''Post-Infinite Crisis'''||{{{ov_postinfinite}}}
+
{{!}} style="vertical-align: top" {{!}}'''Manufacturers'''
|- style="vertical-align: top;"
+
{{!}} style="vertical-align: middle" {{!}}{{{manufacturers}}}
|'''DC Anim. Universe'''||{{{ov_dcau}}}
+
}}
|- style="vertical-align: top;"
+
{{!}}-
|'''LSH cartoon'''||{{{ov_lshcartoon}}}
+
{{#if:{{{other_names<includeonly>|</includeonly>}}} |
|}
+
{{!}} style="vertical-align: top" {{!}}'''Other names'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{other_names}}}|
 +
{{#if:{{{aliases<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Aliases'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{aliases}}}
 +
}}}}
 +
{{!}}-
 +
{{#if:{{{function<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Function'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{function}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{planet<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Planet'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{planet}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{affiliations<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Affiliations'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{affiliations}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{rulers<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Ruler(s)'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{rulers}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{members<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Prominent members'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{members}}}
 +
}}
 +
{{!}}-
 +
{{#if:{{{powers<includeonly>|</includeonly>}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Powers'''
 +
{{!}} style="vertical-align: middle" {{!}}{{{powers}}}
 +
}}
 
|}
 
|}
<noinclude>For use '''ONLY'''  where there's no specific template available.
 
===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 image, other versions and colour syntax, along with which colours to use for era_color and alliance_color.
 
 
<pre>{{member
 
|era_color=
 
|name=
 
|image=
 
|caption=
 
|era=
 
|debut=
 
|alliance_color=
 
|status=
 
|ov_precrisis=
 
|ov_postcrisis=
 
|ov_glorithverse=
 
|ov_postzerohour=
 
|ov_postinfinite=
 
|ov_dcau=
 
|ov_lshcartoon=
 
}} <nowiki>__TOC__</nowiki></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.
 
 
===Other versions===
 
Where something 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 <nowiki>[[Colossal Boy/Pre-Crisis|Colossal Boy]]</nowiki>. beside ov_precrisis=.
 
 
Where there was no version of the character in question in an earlier continuity, type N/A.
 
 
===Colour Scheme===
 
 
{|class="toccolours"
 
!colspan=2|era_color
 
|-
 
{{era_color}}
 
|-
 
!colspan="2"|alliance_color
 
|-
 
!Colour
 
!Alliance
 
|-
 
!style="background:#ff9275"|#ff9275
 
|Heroic
 
|-
 
!style="background:#c0c0ff"|#c0c0ff
 
|Villainous
 
|-
 
!style="background:#c0ffc0"|#c0ffc0
 
|Supporting
 
|-
 
!style="background:#c0c0c0"|#c0c0c0
 
|Neutral/Other
 
 
|-
 
|-
 +
{{#if:{{{ov_preboot|{{{ov_reboot|{{{ov_threeboot|{{{ov_television|{{{ov_elseworlds|}}}}}}}}}}}}}}} |
 +
!colspan="2" style="background:#fefe1e; width: 22em;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
 +
{{!}}-
 +
{{!}}
 +
{{{!}} 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>}}}}}}}}}}}}}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Preboot versions'''
 +
{{!}}{{#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>}}} }}
 +
}}
 +
{{!}}-
 +
{{#if:{{{ov_reboot|{{{ov_postzerohour<includeonly>|</includeonly>}}}}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Reboot versions'''
 +
{{!}}{{#if:{{{ov_reboot<includeonly>|</includeonly>}}}|{{{ov_reboot<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_postzerohour<includeonly>|</includeonly>}}}|{{{ov_postzerohour<includeonly>|</includeonly>}}} }}
 +
}}
 +
{{!}}-
 +
{{#if:{{{ov_threeboot|{{{ov_postinfinite<includeonly>|</includeonly>}}}}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Threeboot versions'''
 +
{{!}}{{#if:{{{ov_threeboot<includeonly>|</includeonly>}}}|{{{ov_threeboot<includeonly>|</includeonly>}}}<br />| }}{{#if:{{{ov_postinfinite<includeonly>|</includeonly>}}}|{{{ov_postinfinite<includeonly>|</includeonly>}}} }}
 +
}}
 +
{{!}}-
 +
{{#if:{{{ov_television|{{{ov_dcau|{{{ov_lshcartoon<includeonly>|</includeonly>}}}}}}}}} |
 +
{{!}} style="vertical-align: top" {{!}}'''Televisual 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>}}} }}
 +
}}
 +
{{!}}}
 +
}}
 
|}
 
|}
 
+
|}
[[Category:Infoboxes| Otherversions]]
+
<noinclude>{{doc}}[[Category:Infoboxes| Generic]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:33, 4 August 2012

{{{name}}}
{{{era}}}
{{{era2}}}
{{{era3}}}
{{{image}}}
{{{caption}}}
First appearance {{{debut}}}
First used {{{first_used}}}
Destroyed/Abandoned {{{left}}}
Stats
Status {{{status}}}
Location {{{location}}}
Users {{{users}}}
Manufacturers {{{manufacturers}}}
Other names {{{other_names}}}
Function {{{function}}}
Planet {{{planet}}}
Affiliations {{{affiliations}}}
Ruler(s) {{{rulers}}}
Prominent members {{{members}}}
Powers {{{powers}}}
(Transcluded documentation: view)

For use when a more specific template is unavailable.

Typical variable lists

Some suggested lists of variables:

Headquarters

{{genericbox
|era=[see below]
|name=
|image=
|caption=
|era=
|debut=
|first_used=
|left=
|status=
|location=
|users=
|other_names=
}}

Species

{{genericbox
|era=
|name=
|image=
|caption=
|era=
|debut_indv=
|debut_soc=
|status=<!--stable, settled, decimated, extinct, etc -->
|planet=
|affiliations=
|aliases=
|rulers=
|members=
|powers=
|ov_preboot=
|ov_reboot=
|ov_threeboot=
|ov_television=
}}

Object

{{genericbox
|era=
|name=
|image=
|caption=
|era=
|debut=
|users=
|manufacturers=
|other_names=
|function=
}}

Full variable list

{{genericbox
|era=
|name=
|name2=
|elseworld=[only if the era is elseworlds!]
|era2=
|elseworld2=
|era3=
|elseworld3=
|image=
|caption=
|debut=
|debut_indv=
|debut_soc=
|first_used=
|left=
|status=
|location=
|users=
|manufacturers=
|other_names=
|aliases=
|function=
|planet=
|affiliations=
|aliases=
|rulers=
|members=
|powers=
|ov_preboot=
|ov_reboot=
|ov_threeboot=
|ov_television=
}}


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