Difference between revisions of "Template:Prevnext"

From Legion Wiki
Jump to navigationJump to search
(Add info on colours)
(Let's see how this goes in situ...)
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''
+
|Post-Zero Hour=class{{=}}"reboot_heading"
!align="center" style="text-align:center; background:{{{era_color}}}; line-height:1.3; vertical-align:bottom" valign="bottom"|<span style="font-size:11pt; vertical-align:bottom">{{{issue}}}</span>
+
|{{#switch:{{lc:{{{era_color|Xx}}}}}
|align="right" style="text-align:right; background:{{{era_color}}};"|''Next &raquo;''
+
|#5be85b=class{{=}}"reboot_heading"
|-<!--continuity-->
+
|class{{=}}wiki_heading}}
|align="left" style="line-height:1.2"|{{{prev_continuity}}}
+
}} }} style="display: block; padding: 5px 4px;-moz-border-radius-topleft: 1em;   border-radius-topleft: 1em; text-align:center"
|align="center" style="line-height:1.2"|''By continuity''
+
! 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}}}}}
|align="right" style="line-height:1.2"|{{{next_continuity}}}
+
|Post-Zero Hour=class{{=}}"reboot_postzh_heading"
|-<!--series-->
+
|{{#switch:{{lc:{{{era_color|Xx}}}}}
|align="left" style="line-height:1.2"|{{{prev_series}}}
+
|#5be85b=class{{=}}"reboot_postzh_heading"
|align="center" style="line-height:1.2"|''By series''
+
|style{{=}}"color:yellow"}}
|align="right" style="line-height:1.2"|{{{next_series}}}
+
}} }}>{{{issue}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span>
|-<!--publication-->
+
|-
|align="left" style="line-height:1.2"|{{{prev_publication}}}
+
| 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">
|align="center" style="line-height:1.2"|''By publication''
+
----
|align="right" style="line-height:1.2"|{{{next_publication}}}
+
</span>
 +
|-
 +
| 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_series}}}&nbsp; </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By&nbsp;series''<span style="float:left;position:absolute;left:-9999px"><br></span><span style="float:right;text-align:right;min-width:40%">{{{next_series}}}</span><span style="float:left;position:absolute;left:-9999px">
 +
----
 +
</span>
 +
|-
 +
| 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"|<span style="float:left;text-align:left;min-width:40%">{{{prev_publication}}}&nbsp; </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By&nbsp;publication''<span style="float:left;position:absolute;left:-9999px"><br></span><span style="float:right;text-align:right;min-width:40%">{{{next_publication}}}</span>
 
|}<noinclude>
 
|}<noinclude>
 
This should be placed at the '''bottom''' of issue pages, as the last thing before the categories.
 
This should be placed at the '''bottom''' of issue pages, as the last thing before the categories.

Revision as of 11:45, 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