Editing User:Yfmcpxpj/Sandbox
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 57: | Line 57: | ||
| image = writing_styles.png | | image = writing_styles.png | ||
| titletext = I liked the idea, suggested by h00k on bash.org, of a Twitter bot that messages prominent politicians to tell them when they've unnecessarily used sms-speak abbreviations despite having plenty of characters left. | | titletext = I liked the idea, suggested by h00k on bash.org, of a Twitter bot that messages prominent politicians to tell them when they've unnecessarily used sms-speak abbreviations despite having plenty of characters left. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Line 122: | Line 90: | ||
Alternatively, if the "2x" button needs to link to a different filename (for example, if the filename on xkcd.com doesn't match the filename on explainxkcd.com), the alternate filename can be specified in the <code>override2x</code> parameter. | Alternatively, if the "2x" button needs to link to a different filename (for example, if the filename on xkcd.com doesn't match the filename on explainxkcd.com), the alternate filename can be specified in the <code>override2x</code> parameter. | ||
+ | |||
+ | Code: | ||
Code: | Code: | ||
Line 204: | Line 174: | ||
* [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions MediaWiki: ParserFunctions Extension] | * [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions MediaWiki: ParserFunctions Extension] | ||
− | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##expr | + | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##expr #expr] – evaluate an expression. |
− | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##if | + | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##if #if] – conditional inclusion. |
− | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##ifeq | + | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##ifeq #ifeq] – conditional inclusion from string equality/inequality. |
− | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##ifexpr | + | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##ifexpr #ifexpr] – conditional from the result of an expression. |
** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#StringFunctions StringFunctions] | ** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#StringFunctions StringFunctions] | ||
− | *** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##rpos | + | *** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##rpos #rpos] – return the ''last'' position of the specified text within a string. |
− | *** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##sub | + | *** [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##sub #sub] – return a sub-string. |
* [https://www.mediawiki.org/wiki/Help:Parser_functions_in_templates MediaWiki: Parser functions in templates] | * [https://www.mediawiki.org/wiki/Help:Parser_functions_in_templates MediaWiki: Parser functions in templates] | ||
− |