Difference between revisions of "Template:xkcd"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Protected "Template:xkcd": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
m (It's time to use https guys)
Line 1: Line 1:
<includeonly>[http://xkcd.com/{{{1|}}} {{{2|xkcd {{{1|}}}}}}][[Category:Links to xkcd.com]]</includeonly><noinclude>
+
<includeonly>[https://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.
 
This template provides a shortcut markup for creating a link to the actual xkcd.com site.

Revision as of 09:14, 24 August 2023


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.