Difference between revisions of "Template:explain"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Waldir moved page Template:Explain to Template:explain: pages are case-sensitive now)
 
(2 intermediate revisions by one other user not shown)
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>Usage: <nowiki>{{Explain|xkcd_num|optional_link_text}}</nowiki>
 
  
 
Links to the page here in explainxkcd.com that describes a given xkcd comic, where:
 
Links to the page here in explainxkcd.com that describes a given xkcd comic, where:
Line 7: Line 6:
  
 
Examples:
 
Examples:
: <nowiki>{{Explain|1040}}</nowiki> links to the explanation of {{Xkcd|1040}} posted here on explainxkcd.com
+
: <nowiki>{{Explain|1040}}</nowiki> links to the explanation of xkcd comic 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"
 
: <nowiki>{{Explain|1040|Server Problem}}</nowiki> links to the same page, but with the link text of "Server Problem"
 
</noinclude>
 
</noinclude>

Latest revision as of 08:23, 12 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 comic 1040 posted here on explainxkcd.com
{{Explain|1040|Server Problem}} links to the same page, but with the link text of "Server Problem"