User:FortMax/Template:Comicnav: Difference between revisions
mNo edit summary |
|||
| (48 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| style="background:#f9f9ff;border:solid 1px #d8dcdc;padding:.5em 1em .4em 1em;" | <includeonly>{| style="background:#f9f9ff;border:solid 1px #d8dcdc;padding:.5em 1em .4em 1em;" | ||
| colspan=2 | | | colspan=2 | '''{{ #if: {{{seriesname|}}} | [[{{{1}}}|{{{seriesname}}}]] | [[{{{1}}}]] }} > {{ #if: {{#ifexpr: {{{2}}} }} | {{{2}}} | Issue #{{{2}}} }} ''' | ||
'''{{ #if: {{{seriesname|}}} | [[{{{1}}}|{{{seriesname}}}]] | [[{{{1}}}]] }} > {{ #if: {{#ifexpr: {{{2}}} }} | {{{2}}} | Issue #{{{2}}} }} ''' | |||
|- | |- | ||
|{{ #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: {{{ | |{{ #if: {{{seriesname2|}}} | '''{{ #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]]'''|}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
'''<nowiki>{{ | '''<nowiki>{{User:FortMax/Template:Comicnav | series | issuenumber | seriesname=prettyname | prev=previssue | next=nextissue | series2=secondserieslink | seriesname2=secondseriestitle |issuenumber2=reprintissues | prev2=previssue | next2=nextissue }}</nowiki>''' | ||
The <nowiki>{{Comicnav}}</nowiki> template is used to create basic navigation for a comic book, | The <nowiki>{{User:FortMax/Template:Comicnav}}</nowiki> 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) <nowiki>{{episodenav}}</nowiki>. | Markup is similar (but slightly less friendly than) <nowiki>{{episodenav}}</nowiki>. | ||
==Required Values== | ==Required Values== | ||
<nowiki>{{ | <nowiki>{{User:FortMax/Template:Comicnav}}</nowiki> requires two values separated by pipes, and can accept 3 additional named values. | ||
'''First value:''' Overall series link<br/> | '''First value:''' Overall series link<br/> | ||
'''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 | 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 3-D|1}} | ||
==Optional Values== | ==Optional Values== | ||
'''Prev:''' Link to a previous issue. <br/> | '''Prev:''' Link to a previous issue. <br/> | ||
'''Next:''' Link to the next issue.<br/> | '''Next:''' Link to the next issue.<br/> | ||
'''Seriesname:''' Text to display instead of the series link (first value) | '''Seriesname:''' Text to display instead of the series link (first value)<br/> | ||
'''Seriesname2:''' Text for second series. This field must have a value to include the second series<br/> | |||
'''Series2:''' 2nd series link. Include when the 2nd printing was in a different series<br/> | |||
'''Prev2:''' Link to a previous issue for 2nd printing. <br/> | |||
'''Next2:''' Link to the next issue for 2nd printing.<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>{{ | <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 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. | |||
For [[The Enemy Within!]], which was printed twice in the original UK run, you would use | |||
<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 | 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: | |||
<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 | 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. | ||
</noinclude> | |||
</noinclude | |||
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.

