Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 16:54, 8 March 2025 by Prd (talk | contribs) (Created page with "{{template test cases notice}} == Testing main template == ; Plain template : {{tlm|X3}} : {{tlm|X5|foo=bar}} : {{tlm|X4|2=1=5=hello}} ; Substitution : {{tlm|safesubst:substcheck}} : {{tlm|subst:User:undefined}} ; Template modifiers : {{tlm|msgnw:X0}} : {{tlm|msg:X0}} : {{tlm|raw:X0}} ; Parser function : {{tlm|#expr:2 + 2}} : {{tlm|subst:#switch:<nowiki>{{{1}}}</nowiki>|<nowiki>yes|1|on=1|no|0|off=0</nowiki>}} ; Special : {{tlm|#special:WikimediaWikis}} : {{tlm|#special...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Testing main template

Plain template
{{X3}}
{{X5|foo=bar}}
{{X4|1=5=hello}}
Substitution
{{safesubst:substcheck}}
{{subst:User:undefined}}
Template modifiers
{{msgnw:Template:Void}}
{{msg:Template:Void}}
{{raw:Template:Void}}
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
Lua error in Module:Template_link_with_magic at line 248: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Template_link_with_magic at line 248: attempt to index field 'wikibase' (a nil value).
All together
{{safesubst:msgnw:raw:#invoke:Example|hello}}