Difference between revisions of "Template:Prevnext"

From Legion Wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
{| width=85% align=center cellspacing="0"
 
{| width=85% align=center cellspacing="0"
|- class="{{member/era|{{{era|}}}}}" style="display: block; padding: 5px 4px;-moz-border-radius-topleft: 1em;  border-radius-topleft: 1em; text-align:center"
+
|- {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}}
! 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 class="{{issue/erastyle|{{{era|}}}|era_color={{{era_color|}}}}}"}}
+
|Post-Zero Hour=class{{=}}"reboot_heading"
 +
|{{#switch:{{lc:{{{era_color|Xx}}}}}
 +
|#ff8080|#ffd5f5|#8080ff|#d0e8ff|#cc99ff|#efcfff|#cb9056|#f4e2d2=class{{=}}"preboot_heading"
 +
|#5be85b|#d5ffd5=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 {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}}
 +
|Post-Zero Hour=class{{=}}"reboot_postzh_heading"
 +
|{{#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"
 +
|(none)=class{{=}}"preboot_postfp_heading"
 +
|#5be85b|#d5ffd5=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"
 +
|style{{=}}"color:yellow"}}
 
}} }}>{{{issue}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span>
 
}} }}>{{{issue}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span>
|- style="height:1.2em;line-height:1.2em" {{Issue/reprint|reprint={{{reprint|}}}|era={{{era|}}}|era_color={{{era_color|}}}}}
+
|- 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;border-bottom:0px; background: #FFFFFF;text-align:center;padding:1px 4px"|<span style="float:left;text-align:left;min-width:40%">{{{prev_continuity}}}&nbsp; </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By&nbsp;continuity''<span style="float:left;position:absolute;left:-9999px"><br></span><span style="float:right;text-align:right;min-width:40%">{{{next_continuity}}}</span><span style="float:left;position:absolute;left:-9999px">
 
| width="100%" align="center" style="border: 1px solid black;border-top:0px;border-bottom:0px; background: #FFFFFF;text-align:center;padding:1px 4px"|<span style="float:left;text-align:left;min-width:40%">{{{prev_continuity}}}&nbsp; </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By&nbsp;continuity''<span style="float:left;position:absolute;left:-9999px"><br></span><span style="float:right;text-align:right;min-width:40%">{{{next_continuity}}}</span><span style="float:left;position:absolute;left:-9999px">

Revision as of 13:00, 27 November 2011

« Previous  {{{issue}}}  Next »
{{{prev_continuity}}} 
By continuity
{{{next_continuity}}}

{{{prev_series}}} 
By series
{{{next_series}}}

{{{prev_publication}}} 
By publication
{{{next_publication}}}

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

Variables

{{Prevnext
|era_color=
|issue=
|prev_continuity=
|next_continuity=
|prev_series=
|next_series=
|prev_publication=
|next_publication=
}}

Color Scheme

Template:Era color2
era_color