Template:Main/testcases
limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. to examine the results of template uses. You can also use Special:ExpandTemplates You can test how this page looks in the different skins and parsers with these links: |
The first output example in each pair is the main template, and second is the sandbox.
Parameter category
{{Main |category=false}}
→ Error: no page names specified (help).{{Main/sandbox |category=false}}
→ Error: no page names specified (help).
Positional parameters
{{Main|John}}
→{{Main/sandbox|John}}
→
{{Main|John|George}}
→{{Main/sandbox|John|George}}
→
{{Main|John|George|Ringo}}
→{{Main/sandbox|John|George|Ringo}}
→
Other namespaces links
{{Main|:Category:John}}
→{{Main/sandbox|:Category:John}}
→
{{Main|Template:John|George}}
→{{Main/sandbox|Template:John|George}}
→
{{Main|Talk:John|George|Ringo}}
→{{Main/sandbox|Talk:John|George|Ringo}}
→
With anchor links
{{Main|Lion#Etymology}}
→{{Main/sandbox|Lion#Etymology}}
→
Missing positional parameter
{{Main|John|}}
→{{Main/sandbox|John|}}
→
Parameter l2
{{Main|History of the United States|RMS Titanic|WindSeeker |l2=RMS ''Titanic''}}
→{{Main/sandbox|History of the United States|RMS Titanic|WindSeeker |l2=RMS ''Titanic''}}
→