Difference between revisions of "Template:Prevnext"
From Legion Wiki
Jump to navigationJump to searchm |
m |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| width=85% align=center | + | {| width=85% align=center cellspacing="0" |
− | |- | + | |- {{#if:{{{era|Xx}}}|{{#switch:{{lc:{{{era|Xx}}}}} |
− | | | + | |preboot|precrisis|pre-crisis|pre-crisis (reprints)|postcrisis|post-crisis|post-crisis (reprints)|glorithverse|glorithverse (reprints)|glorith|5yl|e0|earth-0|lightning saga|lightning saga (reprints)|retroboot|post-flashpoint|post-flashpoint (reprints)|preboot elseworld|preboot elseworlds=class{{=}}"preboot_heading" |
− | + | |postboot|reboot|postzh|post-zero hour|e247|earth-247|post-zero hour (reprints)|reboot elseworld|reboot elseworlds=class{{=}}"reboot_heading" | |
− | |align=" | + | |eprime|post-infinite crisis|post-infinite crisis (reprints)|threeboot elseworld|threeboot elseworlds=class{{=}}"threeboot_heading" |
− | + | |elseworlds=class{{=}}"elseworlds_heading_1" | |
− | + | |cartoon|dcau|lsh cartoon|legion of super heroes cartoon|smallville|lsh cartoon (reprints)|tv elseworld|tv elseworlds=class{{=}}"cartoon_heading" | |
− | + | |{{#switch:{{lc:{{{era_color|Xx}}}}} | |
− | + | |#ff8080|#ffd5f5|#8080ff|#d0e8ff|#cc99ff|#efcfff|#cb9056|#f4e2d2=class{{=}}"preboot_heading" | |
− | + | |#5be85b|#d5ffd5|#70f000=class{{=}}"reboot_heading" | |
− | |align="left"|{{{prev_series}}} | + | |#96a02c|#efecd1=class{{=}}"threeboot_heading" |
− | | | + | |#cccccc|#dadada=class{{=}}"elseworlds_heading_1" |
− | + | |#ffe25f|#ffb84f|#ffdec4=class{{=}}"cartoon_heading" | |
− | |- | + | |class{{=}}wiki_heading}} |
− | |align=" | + | }} }} 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">''« Previous'' </span><span style="float:right;width:10em;text-align:right;font-size:80%;margin-right:5px"> ''Next »''</span><span {{#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" | |
− | === | + | |#5be85b|#d5ffd5|#70f000=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" |
− | | | + | |{{#switch:{{lc:{{{era|Xx}}}}} |
− | | | + | |precrisis|pre-crisis|pre-crisis (reprints)=class{{=}}"preboot_prec_heading" |
− | + | |postcrisis|post-crisis|post-crisis (reprints)=class{{=}}"preboot_postc_heading" | |
− | + | |glorithverse|glorith|5yl|glorithverse (reprints)=class{{=}}"preboot_5yl_heading" | |
− | + | |e0|earth-0|lightning saga|lightning saga (reprints)|retroboot|retroboot (reprints)=class{{=}}"preboot_retro_heading" | |
− | }} | + | |post-flashpoint|post-flashpoint (reprints)=class{{=}}"preboot_postfp_heading" |
− | < | + | |preboot elseworld|preboot elseworlds=class{{=}}"preboot_elseworlds_heading" |
+ | |postzh|post-zero hour|post-zero hour (reprints)=class{{=}}"reboot_postzh_heading" | ||
+ | |e247|earth-247=class{{=}}"reboot_e247_heading" | ||
+ | |reboot elseworld|reboot elseworlds=class{{=}}"reboot_elseworlds_heading" | ||
+ | |threeboot|eprime|earth-prime|earth-prime (reprints)|post-infinite crisis|post-infinite crisis (reprints)=class{{=}}"threeboot_eprime_heading" | ||
+ | |threeboot elseworld|threeboot elseworlds=class{{=}}"threeboot_elseworlds_heading" | ||
+ | |elseworlds=class{{=}}"elseworlds_heading" | ||
+ | |dcau=class{{=}}"cartoon_dcau_heading" | ||
+ | |lsh cartoon|legion of super heroes cartoon|lsh cartoon (reprints)=class{{=}}"cartoon_lsh_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: {{{volume|}}} | Volume {{{volume|1}}}|{{#if: {{{annual_no|}}} |, Annual {{{annual_no|1}}}|{{#if:{{{issue_year|}}}|<nowiki> </nowiki>''{{{issue_year|}}}''| #{{{issue_no}}}}}}}}}|{{{elseworld_name|{{{event|[[Category:Pages using issue variable]]{{{issue}}}}}}}}}}}</span>{{#if: {{{series2|}}} |<span style="font-size:80%;text-transform:none" class="{{issue/erastyle|{{{era|}}}}}"><br>a.k.a. '''''{{{series2}}}''''' #{{{issue_no2}}}</span>}} | ||
+ | |- 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: {{{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}}}}}} </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_continuity1|{{{next_continuity}}}}}}</span><span style="float:left;position:absolute;left:-9999px"> | ||
+ | ---- | ||
+ | </span> | ||
+ | |- | ||
+ | {{#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}}} </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_continuity2}}}</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%">{{#if:{{{prev_series|}}}|{{{prev_series}}}|{{#if:{{{prev_series_no|}}}|[[{{{series}}} {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} {{{prev_series_no}}}|''{{{series}}}'' {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} #{{{prev_series_no}}}]]|{{#if:{{{issue_no|}}}|[[{{{series}}} {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} {{#expr:{{{issue_no}}}-1}}|''{{{series}}}'' {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} #{{#expr:{{{issue_no}}}-1}}]]|{{{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%">{{#if:{{{next_series|}}}|{{{next_series}}}|{{#if:{{{next_series_no|}}}|[[{{{series}}} {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} {{{next_series_no}}}|''{{{series}}}'' {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} #{{{next_series_no}}}]]|{{#if:{{{issue_no|}}}|[[{{{series}}} {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} {{#expr:{{{issue_no}}}+1}}|''{{{series}}}'' {{#if:{{{vol_no|}}}|v{{{vol_no|}}}}} #{{#expr:{{{issue_no}}}+1}}]]|{{{next_series}}}}}}}}}</span><span style="float:left;position:absolute;left:-9999px"> | ||
+ | ---- | ||
+ | </span> | ||
+ | |- | ||
+ | | width="100%" align="center" {{#if: {{{publication2|}}}|style="border: 1px solid black;border-top:0px;border-bottom:0px; background: #FFFFFF;text-align:center;padding:1px 4px"|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}}} </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> | ||
+ | |- | ||
+ | {{#if: {{{publication2|}}} |{{!}} 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: {{{publication2|}}} |<span style="line-height:1.1">'''{{{publication2|}}}'''<br /></span>}}<span style="float:left;text-align:left;min-width:40%">{{{prev_publication2}}} </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_publication2}}}</span>}} | ||
+ | |}<noinclude>{{doc}}[[Category:Templates]]</noinclude> |
Latest revision as of 14:16, 11 October 2012
« Previous Next »{{{series}}} #{{{issue_no}}} |
---|
{{{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
| |||||||||||
Reboot
| |||||||||||
Threeboot
| |||||||||||
Television
| |||||||||||
Elseworlds
|