Difference between revisions of "Template:Outeralink"

From Legion Wiki
Jump to navigationJump to search
m
Line 1: Line 1:
<includeonly><span class="{{{3|{{{class|elseworlds}}}_outera}}}" style="padding:1px 2px;border-radius:3px 0">[[{{{1|{{{link}}}}}}|{{{2|{{{linktext|{{{1|{{{link}}}}}}}}}}}}]]</span></includeonly><noinclude>{{doc}} [[Category:Templates]]</noinclude>
+
<span class="{{#if:{{{era|}}}|{{Issuelink/erastyle|{{{era|}}}}}|{{{3|{{{class|elseworlds}}}_outera}}}}}" style="padding:1px 2px;border-radius:3px 0">{{#if:{{{series<includeonly>|</includeonly>}}} | [[{{{series}}}{{#if: {{{vol_no<includeonly>|</includeonly>}}}|_v{{{vol_no}}}}}{{#if: {{{annual_no|}}} |_Annual {{{annual_no|}}}|{{#if: {{{issue_no<includeonly>|</includeonly>}}}|_{{{issue_no}}}}}}}{{!}}''{{{series}}}''{{#if: {{{vol_no<includeonly>|</includeonly>}}} |&nbsp;v{{{vol_no}}}}}{{#if: {{{annual_no|}}}|, Annual&nbsp;{{{annual_no|}}}|}}{{#if: {{{issue_no<includeonly>|</includeonly>}}}|<nowiki>&nbsp;#</nowiki>{{{issue_no}}}]]|[[{{{1|{{{link}}}}}}{{!}}{{{2|{{{linktext|{{{1|{{{link}}}}}}}}}}}}]]}}
 +
</span></includeonly><noinclude>{{doc}} [[Category:Templates]]</noinclude>

Revision as of 11:35, 27 October 2012

{{#if:{{{series}}} | [[{{{series}}}_v{{{vol_no}}}_{{{issue_no}}}|{{{series}}} v{{{vol_no}}} #{{{issue_no}}}]]

</includeonly>

(Transcluded documentation: view)

This template is used for linking of issues in areas such as {{Prevnext}} while backgrounding them with a colour to indicate a different era. It accepts the following basic arguments:

{{outeralink
|series= 
|vol_no=
|issue_no=
|annual_no=
|era=}}

Examples

{{Outeralink|series=Legionnaires|issue_no=0|era=postzh}}: {{#if:Legionnaires | Legionnaires #0

{{Outeralink|series=Legion of Super-Heroes|vol_no=7|issue_no=0|era=postfp}}: {{#if:Legion of Super-Heroes | Legion of Super-Heroes v7 #0

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


See also