Template:ImageLinkComics: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary Tag: sourceedit |
m (Giving these templates their own CSS ID.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{NAMESPACE}} | <includeonly>{{#switch:{{NAMESPACE}} | ||
|Category=<div id="license">The images below are of, or are related to, the [[DWU|''Doctor Who'' universe]] comic story, ''[[{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|({{{1|}}}comic story)}}|{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|}}]]''. If you see images below which '''have ''nothing'' to do with '''''[[{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|({{{1|}}}comic story)}}|{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|}}]]'' please remove them.</div> | |Category=<div id="license">The images below are of, or are related to, the [[DWU|''Doctor Who'' universe]] comic story, ''[[{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|({{{1|}}}comic story)}}|{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|}}]]''. If you see images below which '''have ''nothing'' to do with '''''[[{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|({{{1|}}}comic story)}}|{{#replace:{{PAGENAME}}|{{{1|}}}comic story images|}}]]'' please remove them.</div> | ||
|#default=<div class="stub-type">[[File:ImagesAvailable.png|link=:Category:{{#replace:{{PAGENAME}}|({{{1|}}}comic story)|}} {{{1|}}}comic story images]]</div> | |#default=<div class="stub-type" id="image-link">[[File:ImagesAvailable.png|link=:Category:{{#replace:{{PAGENAME}}|({{{1|}}}comic story)|}} {{{1|}}}comic story images]]</div> | ||
}}</includeonly><noinclude>[[Category:category templates]][[category:image link templates]]{{documentation}}</noinclude> | }}</includeonly><noinclude>[[Category:category templates]][[category:image link templates]]{{documentation}}</noinclude> |
Latest revision as of 20:23, 2 April 2024
Instructions for {{ImageLinkComics}}
See Template:ImageLinkTV for an understanding of the basic philosophy behind this template. Most of the time, however, you simply place {{ImageLinkComics}} on the story page and the category page and walk away. Super-easy. The only complicated bit is how to handle those handful of comic stories that have something more than just (comic story) as their dab term.
For instance, what do you do when you encounter something like Nova (TVC comic story)?
Easy. You place the following on both the story page and the category page:
{{tlx|ImageLinkComics|TVC }}
Note that the single space between "TVC" and the closing curly braces is required.
Template classification
This template is deliberately classified as "unknown" so that it will show up on a variety of devices, including phones. This is different from the policy used for the similar-looking stub tags, which we class as "notice" templates.