Difference between revisions of "Template:what if"
m |
m (Removed empty line) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>[https://what-if.xkcd.com/{{{1|}}} {{{2|what if {{{1|}}}}}}][[Category:Links to xkcd.com]]</includeonly><noinclude> | + | <includeonly>[https://what-if.xkcd.com/{{{1|}}} {{{2|what if {{{1|}}}}}}][[Category:Links to xkcd.com]]</includeonly><noinclude>This template provides a shortcut markup for creating a link to a ''[[what if? (blog)|what if?]]'' article on [https://xkcd.com xkcd.com]. |
| − | |||
| − | This template provides a shortcut markup for creating a link to a ''[[what if? (blog)|what if?]]'' article on [https://xkcd.com xkcd.com]. | ||
'''Usage:''' <code><nowiki>{{what if|question number|optional link text}}</nowiki></code> | '''Usage:''' <code><nowiki>{{what if|question number|optional link text}}</nowiki></code> | ||
Revision as of 09:30, 16 August 2023
This template provides a shortcut markup for creating a link to a what if? article on xkcd.com.
Usage: {{what if|question number|optional link text}}
Examples:
-
{{what if|158|Hot Banana}}results inHot Banana
-
{{what if|158}}(not recommended) results inwhat if? 158. It links to the same page, but uses the number instead of the optional link text.
Example in a sentence:
See the ''[[what if? (blog)|what if?]]'' article ''{{what if|158|Hot Banana}}''. results in See the what if? article Hot Banana.
