Difference between revisions of "Template:exp"
(lol) |
|||
| 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> | ||
| β | This template provides a shortcut markup for creating a link any comic explanation. | + | This template provides a shortcut markup for creating a link to any comic explanation. |
'''Usage:''' <nowiki>{{exp|comic number|optional link text}}</nowiki> | '''Usage:''' <nowiki>{{exp|comic number|optional link text}}</nowiki> | ||
Revision as of 18:54, 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 Server Problem (links to the same page, but with the link text "Server Problem" instead of "1040").
- (recommended) {{xkcd|1040|1040: Server Problem}} results in 1040: Server Problem (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.
