Template:Template link with magic/testcases
Appearance
This is the template test cases page for the sandbox of Template:Template link with magic. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Testing main template
[edit]- Plain template
{{X3}}
{{X5|foo=bar}}
{{X4|1=5=hello}}
- Substitution
{{safesubst:substcheck}}
{{subst:User:undefined}}
- Template modifiers
{{msgnw:X0}}
{{msg:X0}}
{{raw:X0}}
- Parser function
{{#expr:2 + 2}}
{{subst:#switch:{{{1}}}|yes|1|on=1|no|0|off=0}}
- Special
{{#special:WikimediaWikis}}
{{#speciale:WikimediaWikis}}
- Interface
{{int:scribunto-doc-page-show}}
- CategoryTree
{{#categorytree:Novels by Douglas Adams}}
- Scribunto
{{#invoke:Example|hello}}
- Wikidata
{{#property:notable work|from=Q42}}
{{#statements:notable work|from=Q42}}
- All together
{{safesubst:msgnw:raw:#invoke:Example|hello}}