Meta:Sandbox
(Redirected from Sandbox)
help pages for further guidance. Even though this is a sandbox, vandalism , spam and other kind of abusive content is not allowed. Content added to this page will not last long. If you prefer to have your own sandbox, feel free to create it. Happy editing!
reset edits
Welcome to the Meta-Wiki sandbox! Feel free to carry out here any tests you wish. Check out our reset edits
Please edit below this line[edit]
The following is a source code snippet from MediaWiki/Help:MagicWords where there is no entry yet for . Page is protected so I cannot edit there, below is the proposed update.
Miscellaneous[edit]
Usage | Input → Output | Description | Version | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{#language:language code}} {{#language:language code|target language code}}
|
{{#language:ar}} → العربية {{#language:ar|en}} → Arabic
|
The full name of the language for the given language code: native name (language autonym) by default, name translated in target language if a target language code is specified. Extension:CLDR must be installed for the translation to work. |
| |||||||||
{{#special:special page name}}
|
{{#special:userlogin}} → Special:UserLogin
|
The localized name for the given canonical Special: page. |
| |||||||||
{{#speciale:special page name}}
|
{{#speciale:userlogin}} → Special:UserLogin
|
The localized and URL-encoded name for the given canonical Special: page. |
| |||||||||
{{#tag:tagname
|
Example for the Cite extension's <ref> tags:
|
Alias for XML-style MediaWiki parser tags or extension tags. It allows a pre-save transform of wiki code and Extension:ParserFunctions within tags before the tag is processed. It also prevents parsing of tags in conditional paths that aren't executed (like in #if statements). Content between tags is passed as the first parameter, and any attributes for the tags can be passed as subsequent parameters. This example:
…can be rewritten like this:
|
|
- ↑ Citation on Sandbox.