Difference between revisions of "Template:explain"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Created page with "<includeonly>[[{{{1|}}}|{{{2|xkcd {{{1|}}}}}}]]</includeonly> <noinclude>Usage: <nowiki>{{Explain|xkcd_num|optional_link_text}}</nowiki></noinclude>")
 
Line 1: Line 1:
 
<includeonly>[[{{{1|}}}|{{{2|xkcd {{{1|}}}}}}]]</includeonly>
 
<includeonly>[[{{{1|}}}|{{{2|xkcd {{{1|}}}}}}]]</includeonly>
<noinclude>Usage: <nowiki>{{Explain|xkcd_num|optional_link_text}}</nowiki></noinclude>
+
<noinclude>Usage: <nowiki>{{Explain|xkcd_num|optional_link_text}}</nowiki>
 +
 
 +
Links to the page here in explainxkcd.com that describes a given xkcd comic, where:
 +
: '''xkcd_num''' is the specific comic number being referenced
 +
: '''optional_link_text''' is the optional link text.  If omitted, it defaults to "xkcd xkcd_num"
 +
 
 +
Examples:
 +
: <nowiki>{{Explain|1040}}</nowiki> links to the explanation of {{Xkcd|1040}} posted here on explainxkcd.com
 +
: <nowiki>{{Explain|1040|Server Problem}}</nowiki> links to the same page, but with the link text of "Server Problem"
 +
</noinclude>

Revision as of 06:45, 2 August 2012

Usage: {{Explain|xkcd_num|optional_link_text}}

Links to the page here in explainxkcd.com that describes a given xkcd comic, where:

xkcd_num is the specific comic number being referenced
optional_link_text is the optional link text. If omitted, it defaults to "xkcd xkcd_num"

Examples:

{{Explain|1040}} links to the explanation of xkcd 1040 posted here on explainxkcd.com
{{Explain|1040|Server Problem}} links to the same page, but with the link text of "Server Problem"