Jump to content

Template:Template link with magic/testcases

From Wikipedia, the free encyclopedia

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}}