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: | ||
− | {| | + | {| 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="-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=" | + | {| style="width: 95%; margin: 0.5em 2.5%; font-size:95%" cellspacing="2" |
− | |style=" | + | {{!}}- |
− | | | + | {{#if:{{{debut|</includeonly>}}} | |
− | + | {{!}} 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="vertical-align: middle" {{!}}{{{debut_indv}}} |
− | + | {{!}}- | |
− | | | + | {{!}} style="vertical-align: top" {{!}}'''First appearance [society]''' |
− | + | {{!}} style="vertical-align: middle" {{!}}{{{debut_soc}}}}} | |
− | | | + | }} |
− | + | {{!}}- | |
+ | {{#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 | ||
+ | |- | ||
| | | | ||
− | {| | + | {| style="width: 95%; margin: 0 2.5% 0.5em 2.5%; font-size:95%" cellspacing="2" |
− | | | + | {{!}}- |
− | + | {{#if:{{{status<includeonly>|</includeonly>}}} | | |
− | + | {{!}} style="vertical-align: top" {{!}}'''Status''' | |
− | + | {{!}} style="vertical-align: middle" {{!}}{{{status}}} | |
− | + | }} | |
− | | | + | {{!}}- |
− | + | {{#if:{{{location<includeonly>|</includeonly>}}} | | |
− | ! | + | {{!}} style="vertical-align: top" {{!}}'''Location''' |
− | | | + | {{!}} style="vertical-align: middle" {{!}}{{{location}}} |
− | + | }} | |
− | | | + | {{!}}- |
− | + | {{#if:{{{users<includeonly>|</includeonly>}}} | | |
− | | | + | {{!}} style="vertical-align: top" {{!}}'''Users''' |
− | + | {{!}} style="vertical-align: middle" {{!}}{{{users}}} | |
− | | | + | }} |
− | + | {{!}}- | |
− | | | + | {{#if:{{{manufacturers<includeonly>|</includeonly>}}} | |
− | + | {{!}} style="vertical-align: top" {{!}}'''Manufacturers''' | |
− | | | + | {{!}} style="vertical-align: middle" {{!}}{{{manufacturers}}} |
− | + | }} | |
− | | | + | {{!}}- |
− | + | {{#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}}} | ||
+ | }} | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
+ | {{#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| | + | <noinclude>{{doc}}[[Category:Infoboxes| Generic]] |
</noinclude> | </noinclude> |
Latest revision as of 08:33, 4 August 2012
|
(Transcluded documentation: view)
For use when a more specific template is unavailable.
Contents
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
| |||||||||||
Reboot
| |||||||||||
Threeboot
| |||||||||||
Television
| |||||||||||
Elseworlds
|