Template:Comics: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
* <code><nowiki>{{comics|1880|1}}</nowiki></code> creates {{comics|1880|1}} | * <code><nowiki>{{comics|1880|1}}</nowiki></code> creates {{comics|1880|1}} | ||
* <nowiki>{{comics|bsgvsbsg|1}}</nowiki> creates {{comics|bsgvsbsg|1}} | * <code><nowiki>{{comics|bsgvsbsg|1}}</nowiki></code> creates {{comics|bsgvsbsg|1}} | ||
* <nowiki>{{comics|cw|1}}</nowiki> creates {{comics|cw|1}} | * <code><nowiki>{{comics|cw|1}}</nowiki></code> creates {{comics|cw|1}} | ||
* <nowiki>{{comics|origins|1}}</nowiki> creates {{comics|origins|1}} | * <code><nowiki>{{comics|origins|1}}</nowiki></code> creates {{comics|origins|1}} | ||
* <nowiki>{{comics|starbuck|1}}</nowiki> creates {{comics|starbuck|1}} | * <code><nowiki>{{comics|starbuck|1}}</nowiki></code> creates {{comics|starbuck|1}} | ||
* <nowiki>{{comics|vol3|1}}</nowiki> creates {{comics|vol3|1}} | * <code><nowiki>{{comics|vol3|1}}</nowiki></code> creates {{comics|vol3|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.: | 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.: | ||
* <nowiki>{{comics|starbuck|1|short=y}}</nowiki> creates {{comics|starbuck|1|short=y}} | * <code><nowiki>{{comics|starbuck|1|short=y}}</nowiki></code> creates {{comics|starbuck|1|short=y}} | ||
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): | 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): | ||
* <nowiki>{{comics|starbuck|1|nolink=y}}</nowiki> creates {{comics|starbuck|1|nolink=y}} | * <code><nowiki>{{comics|starbuck|1|nolink=y}}</nowiki></code> creates {{comics|starbuck|1|nolink=y}} | ||
* <nowiki>''{{comics|starbuck|1|nolink=y}}''</nowiki> creates ''{{comics|starbuck|1|nolink=y}}'' | * <code><nowiki>''{{comics|starbuck|1|nolink=y}}''</nowiki></code> creates ''{{comics|starbuck|1|nolink=y}}'' | ||
* <nowiki>{{comics|starbuck|1|nolink=y|template=y}}</nowiki> creates {{comics|starbuck|1|nolink=y|template=y}}<ref>Piping is deliberate so as to be integrated into templates that already have linking abilities built in.</ref> | * <code><nowiki>{{comics|starbuck|1|nolink=y|template=y}}</nowiki></code> creates {{comics|starbuck|1|nolink=y|template=y}}<ref>Piping is deliberate so as to be integrated into templates that already have linking abilities built in.</ref> | ||
* <nowiki>{{comics|starbuck|1|short=y|nolink=y}}</nowiki> creates {{comics|starbuck|1|short=y|nolink=y}}<ref>Not that this is really necessary, anyway...</ref> | * <code><nowiki>{{comics|starbuck|1|short=y|nolink=y}}</nowiki></code> creates {{comics|starbuck|1|short=y|nolink=y}}<ref>Not that this is really necessary, anyway...</ref> | ||
It can also be used to link to the proper comic issue, but with custom text to be hyperlinked. | It can also be used to link to the proper comic issue, but with custom text to be hyperlinked. | ||
* <nowiki>{{comics|vol3|1|In the Beginning}}</nowiki> creates {{comics|vol3|1|In the Beginning}} | * <code><nowiki>{{comics|vol3|1|In the Beginning}}</nowiki></code> creates {{comics|vol3|1|In the Beginning}} | ||
The parameters switch for this template may be [[/switch|found here]]. | The parameters switch for this template may be [[/switch|found here]]. | ||
Revision as of 18:31, 23 August 2025
Documentation
This template creates a link to a comic for inline citations, for instance:
{{comics|1880|1}}creates (Comics: Steampunk Battlestar Galactica 1880 #1){{comics|bsgvsbsg|1}}creates (Comics: Battlestar Galactica vs. Battlestar Galactica #1){{comics|cw|1}}creates (Comics: Battlestar Galactica: Cylon War #1){{comics|origins|1}}creates (Comics: Battlestar Galactica: Origins #1){{comics|starbuck|1}}creates (Comics: Battlestar Galactica: Starbuck #1){{comics|vol3|1}}creates (Comics: Classic 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.:
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 Battlestar Galactica: Starbuck 1''{{comics|starbuck|1|nolink=y}}''creates Battlestar Galactica: Starbuck 1{{comics|starbuck|1|nolink=y|template=y}}creates Battlestar Galactica: Starbuck 1|Battlestar Galactica: Starbuck #1[1]{{comics|starbuck|1|short=y|nolink=y}}creates #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 (Comics: In 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:
It is important that the "marvel" call be entirely lowercase.
Parameters switch for the Marvel list may be found here.