Template:Comics: Difference between revisions

Template page
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>''{{#if:{{{nolink|}}}|
<includeonly>''{{#if:{{{nolink|}}}
{{comics/switch|{{{1}}}}}&nbsp;{{#if:{{{2|}}}|{{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{comics/switch|{{{1}}}}}&nbsp;#{{{2|}}}}}}}|
|{{comics/switch|{{{1}}}}}&nbsp;{{#if:{{{2|}}}|{{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{comics/switch|{{{1}}}}}&nbsp;#{{{2|}}}}}}}
[[{{comics/switch|{{{1}}}}}&nbsp;{{#if:{{{2|}}}|{{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{comics/switch|{{{1}}}}}&nbsp;#{{{2|}}}}}}}]]}}''</includeonly><noinclude>
|[[{{comics/switch|{{{1}}}}}&nbsp;{{#if:{{{2|}}}|{{#if:{{{short|}}}|{{{2|}}}{{!}}#{{{2|}}}|{{{2|}}}{{!}}{{comics/switch|{{{1}}}}}&nbsp;#{{{2|}}}}}}}]]
}}''</includeonly><noinclude>


This template creates a link to a comic for inline citations, for instance:
This template creates a link to a comic for inline citations, for instance:

Revision as of 05:16, 28 March 2020


This template creates a link to a comic for inline citations, for instance:

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

It can also print out the comic title without being linked:

  • {{comics|starbuck|1|nolink=y}} creates Battlestar Galactica: Starbuck 1|Battlestar Galactica: Starbuck #1

The parameters switch for this template may be found here.