Difference between revisions of "Template:Prevnext"

From Legion Wiki
Jump to navigationJump to search
Line 14: Line 14:
 
|class{{=}}wiki_heading}}
 
|class{{=}}wiki_heading}}
 
}} }} style="display: block; padding: 5px 4px;-moz-border-radius-topleft: 1em;  border-radius: 1em 0 0 0; text-align:center"
 
}} }} style="display: block; padding: 5px 4px;-moz-border-radius-topleft: 1em;  border-radius: 1em 0 0 0; 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}}}}}
+
! 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 style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span><span {{#switch:{{lc:{{{era_color|Xx}}}}}
 
|#ff8080|#ffd5f5=class{{=}}"preboot_prec_heading"
 
|#ff8080|#ffd5f5=class{{=}}"preboot_prec_heading"
 
|#8080ff|#d0e8ff=class{{=}}"preboot_postc_heading"
 
|#8080ff|#d0e8ff=class{{=}}"preboot_postc_heading"
Line 40: Line 40:
 
|lsh cartoon|legion of super heroes cartoon|lsh cartoon (reprints)=class{{=}}"cartoon_lsh_heading"
 
|lsh cartoon|legion of super heroes cartoon|lsh cartoon (reprints)=class{{=}}"cartoon_lsh_heading"
 
|tv elseworld|tv elseworlds|smallville=class{{=}}"cartoon_elseworlds_heading"
 
|tv elseworld|tv elseworlds|smallville=class{{=}}"cartoon_elseworlds_heading"
|style{{=}}"color:yellow"}}}}>{{#if:{{{series<includeonly>|</includeonly>}}} | ''{{{series}}}'' {{#if: {{{vol_no|}}} |<span style="text-transform:lowercase">v{{{vol_no|1}}}</span>}}{{#if: {{{annual_no<includeonly>|</includeonly>}}} |, Annual {{{annual_no|1}}}|<nowiki> #</nowiki>{{{issue_no}}}}}|{{{issue}}}}}</span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px">&nbsp; ''Next &raquo;''</span>
+
|style{{=}}"color:yellow"}}}}>{{#if:{{{series<includeonly>|</includeonly>}}} | ''{{{series}}}'' {{#if: {{{vol_no|}}} |<span style="text-transform:lowercase">v{{{vol_no|1}}}</span>}}{{#if: {{{annual_no<includeonly>|</includeonly>}}} |, Annual {{{annual_no|1}}}|<nowiki> #</nowiki>{{{issue_no}}}}}|{{{issue}}}}}{{#if: {{{series2|}}} |<span style="font-size:80%;" class="{{issue/erastyle|{{{era|}}}}}"><br>a.k.a. '''''{{{series2}}}''''' #{{{issue_no2}}}</span>}}</span>
 
|- id="pn_reprint" 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|}}}}}
 
|-
 
|-

Revision as of 21:16, 5 December 2011

« Previous    Next »{{{series}}} , Annual 1
{{{prev_continuity}}} 
By continuity
{{{next_continuity}}}

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

{{{prev_publication}}} 
By publication
{{{next_publication}}}
(Transcluded documentation: view)

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

Variables

{{Prevnext
|era=
|series=
|vol_no=
|issue_no=
|story1=
|prev_continuity=
|next_continuity=
|story2=
|prev_continuity2=
|next_continuity2=
|prev_series=
|next_series=
|prev_publication=
|next_publication=
}}

Eras

Use the following in the era= variable. e.g., for Pre-Crisis comics, use

|era=precrisis

:

Continuity family
Era variable
Preboot
Pre-Crisis (until Feb 1986) precrisis
Post-Crisis (Mar 1986-Aug 1989) postcrisis
Five Years Later/Glorithverse (Aug 1989-Aug 1994) 5yl
Retroboot (overlaps with Threeboot Aug 2006-Jan 2009,
main Feb 2009-Aug 2011)
retroboot
Post-Flashpoint (Sep 2011-present) postfp
Reboot
Post-Zero Hour (Aug 1994-Oct 2004) postzh
Earth-247 (never main version,
occasional use May 2006 onward)
e247
Threeboot
Earth-Prime (Oct 2004-Jan 2009,
occasional use thereafter)
eprime
Television
Based on Legion of Super Heroes cartoon lshcartoon
Based on DCAU
(Superman: TAS, Justice League Unlimited)
dcau
Elseworlds
Any, use |elseworld=NAME to specify elseworlds