Difference between revisions of "Template:exp"
(Was wondering why it was 'including'... ;)) |
|||
| Line 1: | Line 1: | ||
| β | <includeonly>[https://explainxkcd.com/{{{1|}}} {{{2|Explanation of comic {{{1|}}}}}}]</includeonly> | + | <includeonly>[https://explainxkcd.com/{{{1|}}} {{{2|Explanation of comic {{{1|}}}}}}]</includeonly><noinclude> |
This template provides a shortcut markup for creating a link to any comic explanation. | This template provides a shortcut markup for creating a link to any comic explanation. | ||
Revision as of 19:25, 10 December 2025
This template provides a shortcut markup for creating a link to any comic explanation.
Usage: {{exp|comic number|optional link text}}
Examples:
- {{exp|1040}} results in 1040.
- {{exp|1040|Server Problem}} results in Lakes and Oceans (links to the same page, but with the link text "Server Problem" instead of "1040").
- (recommended) {{xkcd|1040|1040: Server Problem}} results in 1040: Lakes and Oceans (links to the same page, but with the link text "Server Problem" instead of "1040").
Note that the styling of the links (the icon after them) is defined in MediaWiki:Common.css.
To link directly to a comic in xkcd.com, use Template:xkcd.
