Difference between revisions of "Template:Prevnext"

From Legion Wiki
Jump to navigationJump to search
m
Line 43: Line 43:
 
|- 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|}}}}}
 
|-
 
|-
| width="100%" align="center" style="border: 1px solid black;border-top:0px;border-bottom:0px; background: #FFFFFF;text-align:center;padding:1px 4px"|{{#if: {{{story1|}}} |<span style="line-height:1.1">'''{{{story1}}}'''<br /></span>}}<span style="float:left;text-align:left;min-width:40%">{{{prev_continuity1|{{{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_continuity1|{{{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"|{{#if: {{{continuity1|{{{story1|}}}}}} |<span style="line-height:1.1">'''{{{continuity1|{{{story1}}}}}}'''<br /></span>}}<span style="float:left;text-align:left;min-width:40%">{{{prev_continuity1|{{{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_continuity1|{{{next_continuity}}}}}}</span><span style="float:left;position:absolute;left:-9999px">
 
----
 
----
 
</span>
 
</span>
 
|-
 
|-
{{#if: {{{story2|}}} |{{!}} 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="line-height:1.1">'''{{{story2}}}'''<br /></span><span style="float:left;text-align:left;min-width:40%">{{{prev_continuity2}}}&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_continuity2}}}</span><span style="float:left;position:absolute;left:-9999px">
+
{{#if: {{{continuity2|{{{story2}}}}}} |{{!}} 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="line-height:1.1">'''{{{continuity2|{{{story2}}}}}}'''<br /></span><span style="float:left;text-align:left;min-width:40%">{{{prev_continuity2}}}&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_continuity2}}}</span><span style="float:left;position:absolute;left:-9999px">
 
----
 
----
 
</span>}}
 
</span>}}
Line 55: Line 55:
 
</span>
 
</span>
 
|-
 
|-
| width="100%" align="center" style="border: 1px solid black;border-top:0px; background: #FFFFFF;  -moz-border-radius-bottomright: 1em;  border-radius: 0 0 1em 0;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>
+
| width="100%" align="center" style="border: 1px solid black;border-top:0px; background: #FFFFFF;  -moz-border-radius-bottomright: 1em;  border-radius: 0 0 1em 0;text-align:center;padding:1px 4px 3px 4px"|{{#if: {{{publication1|}}} |<span style="line-height:1.1">'''{{{publication1}}}'''<br /></span>}}<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>
 +
|-
 +
{{#if: {{{publication2|}}} |{{!}} 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="line-height:1.1">'''{{{publication2}}}'''<br /></span><span style="float:left;text-align:left;min-width:40%">{{{prev_publication2}}}&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_publication2}}}</span>}}
 
|}<noinclude>{{doc}}[[Category:Templates]]</noinclude>
 
|}<noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 04:18, 8 January 2012

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

{{{story2}}}
{{{prev_continuity2}}} 
By continuity
{{{next_continuity2}}}

{{{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