Difference between revisions of "Template:PrevnextCovers"

From Legion Wiki
Jump to navigationJump to search
Line 1: Line 1:
{| width=85% align=center cellspacing="0" cellpadding="2" style="border: 1px solid #C0C0C0; background-color: #F5F5F5; margin-bottom: 3px; padding:3px"
+
{| width=85% align=center cellspacing="0"
|-<!--header-->
+
|- {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}}
|align="left" style="text-align:left; background:{{{era_color}}};"|''&laquo; Previous cover''
+
|preboot|precrisis|pre-crisis|pre-crisis (reprints)|postcrisis|post-crisis|post-crisis (reprints)|glorithverse|glorithverse (reprints)|glorith|5yl|e0|earth-0|lightning saga|lightning saga (reprints)|retroboot|post-flashpoint|post-flashpoint (reprints)=class{{=}}"preboot_heading"
!align="center" colspan="3" style="text-align:center; background:{{{era_color}}}; line-height:1.3; vertical-align:middle" valign="middle"|<span style="font-size:11pt; vertical-align:bottom">{{{issue}}}</span>
+
|postboot|reboot|postzh|post-zero hour|e247|earth-247|post-zero hour (reprints)=class{{=}}"reboot_heading"
|align="right" style="text-align:right; background:{{{era_color}}};"|''Next cover &raquo;''
+
|eprime|post-infinite crisis|post-infinite crisis (reprints)=class{{=}}"threeboot_heading"
 +
|elseworlds=class{{=}}"elseworlds_heading_1"
 +
|cartoon|dcau|lsh cartoon|legion of super heroes cartoon|smallville|lsh cartoon (reprints)=class{{=}}"cartoon_heading"
 +
|{{#switch:{{lc:{{{era_color|Xx}}}}}
 +
|#ff8080|#ffd5f5|#8080ff|#d0e8ff|#cc99ff|#efcfff|#cb9056|#f4e2d2=class{{=}}"preboot_heading"
 +
|#5be85b|#d5ffd5|#70f000=class{{=}}"reboot_heading"
 +
|#96a02c|#efecd1=class{{=}}"threeboot_heading"
 +
|#cccccc|#dadada=class{{=}}"elseworlds_heading_1"
 +
|#ffe25f|#ffb84f|#ffdec4=class{{=}}"cartoon_heading"
 +
|class{{=}}wiki_heading}}
 +
}} }} style="display: block; padding: 5px 4px;-moz-border-radius-topleft: 1em;   border-radius-topleft: 1em; text-align:center"
 +
! style="display: block; font-family:Gill Sans,Verdana,Helvetica Neue,Helvetica,Helv,sans-serif;font-size:125%;text-transform: uppercase;text-align:center;width:100%" align="center" width="100%"|<span style="float:left;text-align:center;width:10em;text-align:left;font-size:80%;margin-left:5px">''&laquo; Previous'' &nbsp;</span><span {{#switch:{{lc:{{{era_color|Xx}}}}}
 +
|#ff8080|#ffd5f5=class{{=}}"preboot_prec_heading"
 +
|#8080ff|#d0e8ff=class{{=}}"preboot_postc_heading"
 +
|#cc99ff|#efcfff=class{{=}}"preboot_5yl_heading"
 +
|#cb9056|#f4e2d2=class{{=}}"preboot_retro_heading"
 +
|#5be85b|#d5ffd5|#70f000=class{{=}}"reboot_postzh_heading"
 +
|#96a02c|#efecd1=class{{=}}"threeboot_eprime_heading"
 +
|#cccccc|#dadada=class{{=}}"elseworlds_heading"
 +
|#ffe25f=class{{=}}"cartoon_dcau_heading"
 +
|#ffb84f|#ffdec4=class{{=}}"cartoon_lsh_heading"
 +
|{{#switch:{{lc:{{{era|Xx}}}}}
 +
|precrisis|pre-crisis|pre-crisis (reprints)=class{{=}}"preboot_prec_heading"
 +
|postcrisis|post-crisis|post-crisis (reprints)=class{{=}}"preboot_postc_heading"
 +
|glorithverse|glorith|5yl|glorithverse (reprints)=class{{=}}"preboot_5yl_heading"
 +
|e0|earth-0|lightning saga|lightning saga (reprints)|retroboot|retroboot (reprints)=class{{=}}"preboot_retro_heading"
 +
|post-flashpoint|post-flashpoint (reprints)=class{{=}}"preboot_postfp_heading"
 +
|postzh|post-zero hour|post-zero hour (reprints)=class{{=}}"reboot_postzh_heading"
 +
|e247|earth-247=class{{=}}"reboot_e247_heading"
 +
|threeboot|eprime|earth-prime|earth-prime (reprints)|post-infinite crisis|post-infinite crisis (reprints)=class{{=}}"threeboot_eprime_heading"
 +
|elseworlds=class{{=}}"elseworlds_heading"
 +
|dcau=class{{=}}"cartoon_dcau_heading"
 +
|lsh cartoon|legion of super heroes cartoon|lsh cartoon (reprints)=class{{=}}"cartoon_lsh_heading"
 +
|style{{=}}"color:yellow"}}}}>{{#if:{{{series<includeonly>|</includeonly>}}} | <includeonly>[[{{{series}}} {{#if: {{{vol_no|}}} |v{{{vol_no|}}}}} {{{issue_no}}}{{!}}</includeonly>''{{{series}}}'' {{#if: {{{vol_no|}}} |<span style="text-transform:lowercase">v{{{vol_no|1}}}</span>}} #{{{issue_no}}}<includeonly>]]</includeonly>|{{{issue}}}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span>
 +
|- id="pn_reprint" style="height:1.2em;line-height:1.2em" {{Issue/reprint|reprint={{{reprint|}}}|era={{{era|}}}|era_color={{{era_color|}}}}}
 +
|-
 +
| width="100%" align="center" style="border: 1px solid black;border-top:0px; background: #FFFFFF;   -moz-border-radius-bottomright: 1em;  border-radius-bottomright: 1em;text-align:center;padding:1px 4px 3px 4px"|
 +
{| width="100%" align="center" cellspacing="0" cellpadding="2" style="background:none;border:none"
 
|-<!--thumbnails-->
 
|-<!--thumbnails-->
 
|align="left"|''By publication''
 
|align="left"|''By publication''
Line 20: Line 57:
 
|align="right"|{{{next_series_issue}}}
 
|align="right"|{{{next_series_issue}}}
 
|align="right"|{{{next_publication_issue}}}
 
|align="right"|{{{next_publication_issue}}}
 +
|}
 
|}<noinclude>
 
|}<noinclude>
 
This should be placed at the '''bottom''' of cover pages, as the last thing before the categories.
 
This should be placed at the '''bottom''' of cover pages, as the last thing before the categories.
Line 25: Line 63:
 
===Variables===
 
===Variables===
 
<pre>{{PrevnextCovers
 
<pre>{{PrevnextCovers
|era_color=
+
|era=
|issue=
+
|series=
 +
|vol_no=
 +
|issue_no=
 
|prev_series_image=
 
|prev_series_image=
 
|prev_series_issue=
 
|prev_series_issue=

Revision as of 20:07, 28 November 2011

« Previous  {{{series}}} #{{{issue_no}}}  Next »
By publication By series   By series By publication
{{{prev_publication_image}}} {{{prev_series_image}}} {{{next_series_image}}} {{{next_publication_image}}}
{{{prev_publication_issue}}} {{{prev_series_issue}}} {{{next_series_issue}}} {{{next_publication_issue}}}

This should be placed at the bottom of cover pages, as the last thing before the categories.

Variables

{{PrevnextCovers
|era=
|series=
|vol_no=
|issue_no=
|prev_series_image=
|prev_series_issue=
|next_series_image=
|next_series_issue=
|prev_publication_image=
|prev_publication_issue=
|next_publication_image=
|next_publication_issue=
}}

Color Scheme

Template:Era color2
era_color