User:FortMax/Template:Comicnav: Difference between revisions

From MediaWiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(15 intermediate revisions by 5 users not shown)
Line 4: Line 4:
|{{ #if: {{{prev|}}}|'''[[{{{prev}}}|Previous Issue]]'''|}} || style="text-align:right;padding-left:1em;"|{{ #if: {{{next|}}}|'''[[{{{next}}}|Next Issue]]'''|}}
|{{ #if: {{{prev|}}}|'''[[{{{prev}}}|Previous Issue]]'''|}} || style="text-align:right;padding-left:1em;"|{{ #if: {{{next|}}}|'''[[{{{next}}}|Next Issue]]'''|}}
|-
|-
|{{ #if: {{{seriesname2|}}} |  
|{{ #if: {{{seriesname2|}}} | '''{{ #if: {{{series2|}}} | [[{{{series2}}}|{{{seriesname2}}}]] | {{{seriesname2}}} }} > {{ #if: {{#ifexpr: {{{issuenumber2}}} }} | {{{issuenumber2}}}''' | Issue #{{{issuenumber2}}}''' }} |}}
'''{{ #if: {{{series2|}}} | [[{{{series2}}}|{{{seriesname2}}}]] | {{{seriesname2}}} }} > {{ #if: {{#ifexpr: {{{issuenumber2}}} }} | {{{issuenumber2}}}''' | Issue #{{{issuenumber2}}}''' }} |}}
|-
|-
|{{ #if: {{{prev2|}}}|'''[[{{{prev2}}}|Previous Issue]]'''|}} || style="text-align:right;padding-left:1em;"|{{ #if: {{{next2|}}}|'''[[{{{next2}}}|Next Issue]]'''|}}
|{{ #if: {{{prev2|}}}|'''[[{{{prev2}}}|Previous Issue]]'''|}} || style="text-align:right;padding-left:1em;"|{{ #if: {{{next2|}}}|'''[[{{{next2}}}|Next Issue]]'''|}}
Line 22: Line 21:
'''Second value:''' Issue #.  (If you provide a #, the template adds 'issue' before it.  If not a number, it simply uses the value you provide, useful for Annuals.)
'''Second value:''' Issue #.  (If you provide a #, the template adds 'issue' before it.  If not a number, it simply uses the value you provide, useful for Annuals.)


So to create a navigation box for Blackthorne Publishing's [[The Test]], in the [[Transformers in 3D]] series, you would use: <nowiki>{{User:FortMax/Template:Comicnav|Transformers in 3D|1}}</nowiki>.
So to create a navigation box for Blackthorne Publishing's "[[The Test (issue)|The Test]]", in the [[Transformers in 3-D]] series, you would use: <nowiki>{{User:FortMax/Template:Comicnav|Transformers in 3-D|1}}</nowiki>.


This results in:
This results in:
{{User:FortMax/Template:Comicnav|Transformers in 3D|1}}
{{User:FortMax/Template:Comicnav|Transformers in 3-D|1}}


==Optional Values==
==Optional Values==
Line 38: Line 37:




So, returning to [[The Test]], it's the first issue, so there will be no '''prev''', but we can set a '''next''' value, and though [[Transformers in 3D]] is the title of the series- the series is commonly referred to as 'Blackthorne's TF series,' so let's make the '''seriesname''' 'Blackthorne'. <br/>
So, returning to [[The Test (issue)|The Test]], it's the first issue, so there will be no '''prev''', but we can set a '''next''' value, and though [[Transformers in 3-D]] is the title of the series- the series is commonly referred to as 'Blackthorne's TF series,' so let's make the '''seriesname''' 'Blackthorne'. <br/>
<nowiki>{{User:FortMax/Template:Comicnav|Transformers in 3D|1|next=Transformers in 3D #2|seriesname=Blachthorne}}</nowiki>
<nowiki>{{User:FortMax/Template:Comicnav|Transformers in 3-D|1|next=Transformers in 3-D issue 2|seriesname=Blachthorne}}</nowiki>


{{User:FortMax/Template:Comicnav|Transformers in 3D|1|next=Transformers in 3D issue 2|seriesname=Blachthorne}}
{{User:FortMax/Template:Comicnav|Transformers in 3-D|1|next=Transformers in 3-D issue 2|seriesname=Blachthorne}}


Prev2 and Next2 are included for the Marvel UK comics for linking to the previous and next issues for when the story splits off from the US comic or for reprints in the UK comic of UK stories.
Prev2 and Next2 are included for the Marvel UK comics for linking to the previous and next issues for when the story splits off from the US comic or for reprints in the UK comic of UK stories.
Line 47: Line 46:
For [[The Enemy Within!]], which was printed twice in the original UK run, you would use
For [[The Enemy Within!]], which was printed twice in the original UK run, you would use
   
   
<nowiki>{{User:FortMax/Template:Comicnav | Generation 1 (Marvel Comics) | Issues #s 13 - 17 | seriesname=Marvel UK | prev=Man of Iron! | next=Raiders of the Last Ark | seriesname2=Reprint | issuenumber2=Issue #s 308 - 317 | prev2=In the National Interest | next2=The Big Shutdown! }}</nowiki>
<nowiki>{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | Issues #s 13 - 17 | seriesname=Marvel UK | prev=Man of Iron (issue) | next=Raiders of the Last Ark | seriesname2=Reprint | issuenumber2=Issue #s 308 - 317 | prev2=In the National Interest | next2=The Big Shutdown! }}</nowiki>


{{User:FortMax/Template:Comicnav | Generation 1 (Marvel Comics) | Issues #s 13 - 17 | seriesname=Marvel UK | prev=Man of Iron! | next=Raiders of the Last Ark | seriesname2=Reprint | issuenumber2=Issue #s 308 - 317 | prev2=In the National Interest | next2=The Big Shutdown! }}
{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | Issues #s 13 - 17 | seriesname=Marvel UK | prev=Man of Iron (issue) | next=Raiders of the Last Ark | seriesname2=Reprint | issuenumber2=Issue #s 308 - 317 | prev2=In the National Interest | next2=The Big Shutdown! }}


For [[The New Order]], where the preceding comic depended on which side of the pond you were on:
For [[The New Order]], where the preceding comic depended on which side of the pond you were on:


<nowiki>
<nowiki>
{{User:FortMax/Template:Comicnav | Generation 1 (Marvel Comics) | 5 | seriesname=Marvel US | prev=The Last Stand | next=The Worse of Two Evils! | series2=Generation 1 (Marvel Comics) | seriesname2=Marvel UK | issuenumber2=Issue #s 22 - 23 | prev2=Raiders of the Last Arc | next2=The Worse of Two Evils! }}</nowiki>
{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | 5 | seriesname=Marvel US | prev=The Last Stand | next=The Worse of Two Evils! | series2=The Transformers (Marvel comic) | seriesname2=Marvel UK | issuenumber2=Issue #s 22 - 23 | prev2=Raiders of the Last Ark | next2=The Worse of Two Evils! }}</nowiki>


{{User:FortMax/Template:Comicnav | Generation 1 (Marvel Comics) | 5 | seriesname=Marvel US | prev=The Last Stand | next=The Worse of Two Evils! | series2=Generation 1 (Marvel Comics) | seriesname2=Marvel UK | issuenumber2=Issue #s 22 - 23 | prev2=Raiders of the Last Arc | next2=The Worse of Two Evils! }}
{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | 5 | seriesname=Marvel US | prev=The Last Stand | next=The Worse of Two Evils! | series2=The Transformers (Marvel comic) | seriesname2=Marvel UK | issuenumber2=Issue #s 22 - 23 | prev2=Raiders of the Last Ark | next2=The Worse of Two Evils! }}


...it's easier than it looks, just crib from another page that has it set up.
...it's easier than it looks, just crib from another page that has it set up.
[[Category: Templates]]
</noinclude>
</noinclude><div id="wikia-credits"><br /><br /><small>From [http://transformers.wikia.com Teletraan I: The Transformers Wiki], a [http://www.wikia.com Wikia] wiki.</small></div>

Latest revision as of 00:57, 25 June 2016


{{User:FortMax/Template:Comicnav | series | issuenumber | seriesname=prettyname | prev=previssue | next=nextissue | series2=secondserieslink | seriesname2=secondseriestitle |issuenumber2=reprintissues | prev2=previssue | next2=nextissue }}

The {{User:FortMax/Template:Comicnav}} template is used to create basic navigation for a comic book, pointing to the previous and next issues, and allowing you to 'jump up' to an article about the series in general.

Markup is similar (but slightly less friendly than) {{episodenav}}.

Required Values

[edit]

{{User:FortMax/Template:Comicnav}} requires two values separated by pipes, and can accept 3 additional named values.

First value: Overall series link
Second value: Issue #. (If you provide a #, the template adds 'issue' before it. If not a number, it simply uses the value you provide, useful for Annuals.)

So to create a navigation box for Blackthorne Publishing's "The Test", in the Transformers in 3-D series, you would use: {{User:FortMax/Template:Comicnav|Transformers in 3-D|1}}.

This results in:

Transformers in 3-D > Issue #1

Optional Values

[edit]

Prev: Link to a previous issue.
Next: Link to the next issue.
Seriesname: Text to display instead of the series link (first value)
Seriesname2: Text for second series. This field must have a value to include the second series
Series2: 2nd series link. Include when the 2nd printing was in a different series
Prev2: Link to a previous issue for 2nd printing.
Next2: Link to the next issue for 2nd printing.


So, returning to The Test, it's the first issue, so there will be no prev, but we can set a next value, and though Transformers in 3-D is the title of the series- the series is commonly referred to as 'Blackthorne's TF series,' so let's make the seriesname 'Blackthorne'.
{{User:FortMax/Template:Comicnav|Transformers in 3-D|1|next=Transformers in 3-D issue 2|seriesname=Blachthorne}}

Blachthorne > Issue #1
Next Issue

Prev2 and Next2 are included for the Marvel UK comics for linking to the previous and next issues for when the story splits off from the US comic or for reprints in the UK comic of UK stories.

For The Enemy Within!, which was printed twice in the original UK run, you would use

{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | Issues #s 13 - 17 | seriesname=Marvel UK | prev=Man of Iron (issue) | next=Raiders of the Last Ark | seriesname2=Reprint | issuenumber2=Issue #s 308 - 317 | prev2=In the National Interest | next2=The Big Shutdown! }}

Marvel UK > Issues #s 13 - 17
Previous Issue Next Issue
Reprint > Issue #s 308 - 317
Previous Issue Next Issue

For The New Order, where the preceding comic depended on which side of the pond you were on:

{{User:FortMax/Template:Comicnav | The Transformers (Marvel comic) | 5 | seriesname=Marvel US | prev=The Last Stand | next=The Worse of Two Evils! | series2=The Transformers (Marvel comic) | seriesname2=Marvel UK | issuenumber2=Issue #s 22 - 23 | prev2=Raiders of the Last Ark | next2=The Worse of Two Evils! }}

Marvel US > Issue # 5
Previous Issue Next Issue
Marvel UK > Issue #s 22 - 23
Previous Issue Next Issue

...it's easier than it looks, just crib from another page that has it set up.