跳转到内容

Template:Other uses/testcases

维基百科,自由的百科全书
Testcases
Label Code {{other uses}} output {{other uses/sandbox}} output
No parameters {{other uses}}
One parameter {{other uses|PAGE1}}
Two parameters {{other uses|PAGE1|PAGE2}}
Three parameters {{other uses|PAGE1|PAGE2|PAGE3}}
Section link {{other uses|PAGE#SECTION}}
Category link without initial colon {{other uses|Category:Test category}}
Category link with initial colon {{other uses|Category:Test category}}
Piped label {{other uses|PAGE{{!}}LABEL}}
Gap before one parameter {{other uses||PAGE2}}
Double gap before one parameter {{other uses|||PAGE3}}
Gap between two parameters {{other uses|PAGE1||PAGE3}}