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" | + | {| width=85% align=center cellspacing="0" |
− | + | |- {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}} | |
− | + | |Post-Zero Hour=class{{=}}"reboot_heading" | |
− | + | |{{#switch:{{lc:{{{era_color|Xx}}}}} | |
− | + | |#5be85b=class{{=}}"reboot_heading" | |
− | |- | + | |class{{=}}wiki_heading}} |
− | |align=" | + | }} }} 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">''« Previous'' </span><span {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}} | |
− | + | |Post-Zero Hour=class{{=}}"reboot_postzh_heading" | |
− | + | |{{#switch:{{lc:{{{era_color|Xx}}}}} | |
− | |align=" | + | |#5be85b=class{{=}}"reboot_postzh_heading" |
− | + | |style{{=}}"color:yellow"}} | |
− | + | }} }}>{{{issue}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px"> ''Next »''</span> | |
− | + | |- | |
− | |align=" | + | | 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}}} </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By 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"> |
− | + | ---- | |
− | + | </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}}} </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By 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}}} </span><span style="float:left;position:absolute;left:-9999px"><br></span>''By 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 color2era_color |
---|