Template:xkcd
explain xkcd: It's 'cause you're dumb.
(Difference between revisions)
(ewKjzFgtvmiZY) |
m (Reverted edits by 27.54.182.157 (talk) to last revision by Relic) |
||
| Line 1: | Line 1: | ||
| − | + | <includeonly>[http://xkcd.com/{{{1|}}} {{{2|xkcd {{{1|}}}}}}][[Category:Links to xkcd.com]]</includeonly><noinclude> | |
| + | |||
| + | This template provides a shortcut markup for creating a link to the actual xkcd.com site. | ||
| + | |||
| + | '''Usage:''' <nowiki>{{xkcd|comic number|optional link text}}</nowiki> | ||
| + | |||
| + | '''Examples:''' | ||
| + | :<nowiki>{{xkcd|1040}}</nowiki> results in [http://xkcd.com/1040 1040]. | ||
| + | :<nowiki>{{xkcd|1040|Server Problem}}</nowiki> results in [http://xkcd.com/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]]. | ||
| + | |||
| + | [[Category:Templates]] | ||
| + | </noinclude> | ||
Latest revision as of 07:41, 22 February 2013
This template provides a shortcut markup for creating a link to the actual xkcd.com site.
Usage: {{xkcd|comic number|optional link text}}
Examples:
- {{xkcd|1040}} results in 1040.
- {{xkcd|1040|Server Problem}} results in 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.