- 0 Talk
SMW page name
Template page
[edit] []
Template documentation
Usage
Edit
{{SMW page name}} is a template which returns a given title's actual page name, even if the title is a redirect. This is useful in error checking and some other situations, in other templates.
This template takes a single unnamed parameter and returns the page name of the associated article if it exists, as plaintext (it may return garbage or nothing if the article doesn't exist).
| Code | Result |
|---|---|
| {{SMW page name|<Legend of Blue Eyes White Dragon>}} | Legend of Blue Eyes White Dragon |
| {{SMW page name|<LOB>}} | Legend of Blue Eyes White Dragon |
| {{SMW page name|<Dark Magician>}} | Dark Magician |
| {{SMW page name|<LOB-005>}} | Dark Magician |
| {{SMW page name|<JUMP-EN049>}} | |
| {{SMW page name|<Some junk page name value>}} |
Note that this template requires Semantic MediaWiki to function; this template will not work if SMW is disabled.
See also
Edit
- {{GetEngName}}
- {{IfSemantics}}
- {{SMWF}}
- {{SMW banner}}
- {{SMW notice}}
| The above documentation is transcluded from Template:SMW page name/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |