Template:Comics

From Battlestar Wiki Media
Revision as of 20:23, 28 March 2020 by Joe Beaudoin Jr. (talk | contribs) (Updated code as deployed on EN.)


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, 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.

The parameters switch for this template may be found here.

References

  1. Piping is deliberate so as to be integrated into templates that already have linking abilities built in.
  2. Not that this is really necessary, anyway...