More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{nolink|}}}| | <includeonly>{{#ifeq:{{{2}}}|marvel|{{void}}|{{{2}}}}}{{#if:{{{nolink|}}}| | ||
{{#if:{{{2|}}}|{{void}}|{{comics/switch|{{{1}}}|{{{2}}}}}}} | {{#if:{{{2|}}}|{{void}}|{{comics/switch|{{{1}}}|{{{2}}}}}}} | ||
{{#if:{{{template|}}}|{{comics/switch|{{{1}}}|{{{2}}}}} {{{2|}}}{{!}}''{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}''|{{#if:{{{2|}}}|{{#if:{{{short|}}}|<nowiki>#</nowiki>{{{2|}}}|{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}}}}}}}|{{#if:{{{3|}}}|{{void}}|''}}[[{{comics/switch|{{{1}}}|{{{2}}}}}{{#if:{{{2|}}}| {{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{{3|{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}}}}}}|{{#if:{{{3|}}}|{{!}}{{{3}}}|{{void}}}}}}]]{{#if:{{{3|}}}|{{void}}|''}} | {{#if:{{{template|}}}|{{comics/switch|{{{1}}}|{{{2}}}}} {{{2|}}}{{!}}''{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}''|{{#if:{{{2|}}}|{{#if:{{{short|}}}|<nowiki>#</nowiki>{{{2|}}}|{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}}}}}}}|{{#if:{{{3|}}}|{{void}}|''}}[[{{comics/switch|{{{1}}}|{{{2}}}}}{{#if:{{{2|}}}| {{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{{3|{{comics/switch|{{{1}}}|{{{2}}}}} #{{{2|}}}}}}}}|{{#if:{{{3|}}}|{{!}}{{{3}}}|{{void}}}}}}]]{{#if:{{{3|}}}|{{void}}|''}} | ||
Line 29: | Line 29: | ||
The parameters switch for this template may be [[/switch|found here]]. | The parameters switch for this template may be [[/switch|found here]]. | ||
=== Marvel Comics === | |||
For Marvel comics, the usage will print out slightly differently, and titles must be called out by their ''issue'' number. | |||
e.g. ''[[Collision Course!]]'' (issue 13) would be called thusly: | |||
<code><nowiki>{{comics|marvel|13}}</nowiki></code> | |||
And thus would print: | |||
{{comics|marvel|13}} | |||
== References == | == References == |
Revision as of 22:51, 13 June 2021
This template creates a link to a comic for inline citations, for instance:
- {{comics|1880|1}} creates 1Steampunk Battlestar Galactica 1880 #1
- {{comics|bsgvsbsg|1}} creates 1Battlestar Galactica vs. Battlestar Galactica #1
- {{comics|cw|1}} creates 1Battlestar Galactica: Cylon War #1
- {{comics|origins|1}} creates 1Battlestar Galactica: Origins #1
- {{comics|starbuck|1}} creates 1Battlestar Galactica: Starbuck #1
- {{comics|vol3|1}} creates 1Classic Battlestar Galactica Vol. 3 #1
This template can also be used to shorten a link down to the issue number itself, when citing multiple comics within the same series, e.g.:
- {{comics|starbuck|1|short=y}} creates 1#1
It can also print out the comic title without being linked, and also strips italics (they can be added on around the template call, of course):
- {{comics|starbuck|1|nolink=y}} creates 1Battlestar Galactica: Starbuck #1
- ''{{comics|starbuck|1|nolink=y}}'' creates 1Battlestar Galactica: Starbuck #1
- {{comics|starbuck|1|nolink=y|template=y}} creates 1Battlestar Galactica: Starbuck 1|Battlestar Galactica: Starbuck #1[1]
- {{comics|starbuck|1|short=y|nolink=y}} creates 1#1[2]
It can also be used to link to the proper comic issue, but with custom text to be hyperlinked.
- {{comics|vol3|1|In the Beginning}} creates 1In the Beginning
The parameters switch for this template may be found here.
Marvel Comics
For Marvel comics, the usage will print out slightly differently, and titles must be called out by their issue number.
e.g. Collision Course! (issue 13) would be called thusly:
{{comics|marvel|13}}
And thus would print: