Template:Main/testcases
Appearance
This is the template test cases page for the sandbox of Template:Main. 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: |
The first output example in each pair is the main template, and second is the sandbox.
Parameter category
[edit]{{Main|category=false}}
→ Error: no page names specified (help).{{Main/sandbox|category=false}}
→ Error: no page names specified (help).
Positional parameters
[edit]{{Main|John}}
→{{Main/sandbox|John}}
→
{{Main|John|George}}
→{{Main/sandbox|John|George}}
→
{{Main|John|George|Ringo}}
→{{Main/sandbox|John|George|Ringo}}
→
Other namespaces links
[edit]{{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
[edit]{{Main|Lion#Etymology}}
→{{Main/sandbox|Lion#Etymology}}
→
Missing positional parameter
[edit]{{Main|John|}}
→{{Main/sandbox|John|}}
→
Parameter l2
[edit]{{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''}}
→