模板:Navbar/testcases
这是Template:Navbar及其沙盒的测试样例。刷新本页以更新内容。 如果这里有许多复杂的模板的用例,可能会因为MediaWiki的技术限制而出错。 您还可以用Special:展开模板来测试模板的使用效果。 您可以通过以下链接测试本模板在不同皮肤下的效果: |
Navbar/sandbox
Option (high-level) | Option (detail) | Parameters | Navbar | Navbar/sandbox |
---|---|---|---|---|
Normal | Normal | {{Navbar/sandbox|Template Name}}
|
||
With other text | {{Navbar/sandbox|Template Name|text=This template:}}
|
|||
No text | {{Navbar/sandbox|Template Name|plain=1}}
|
|||
With brackets | {{Navbar/sandbox|Template Name|plain=1|brackets=1}}
|
|||
Inline | {{Navbar/sandbox|Template Name}}
|
Lorem | IpsumLorem | Ipsum|
Inline, plain | {{Navbar/sandbox|Template Name|plain=1}}
|
Lorem | IpsumLorem | Ipsum|
With color option | {{Navbar/sandbox|Template Name|fontstyle=color:green}}
|
|||
Linking to non-template pages | {{Navbar/sandbox|User:Foo}}
|
|||
Linking to non-template pages | {{Navbar/sandbox|:Foo}}
|
|||
Mini | Makes Navbar display in a mini version. | {{Navbar/sandbox|Template Name|mini=1}}
|
||
With brackets. | {{Navbar/sandbox|Template Name|mini=1|brackets=1}}
|
|||
Mini colors | {{Navbar/sandbox|Template Name|mini=1|fontstyle=color:green}}
|
|||
Inline | {{Navbar/sandbox|Template Name|mini=1}}
|
Lorem | IpsumLorem | Ipsum|
View only | For a full simpler access option | {{Navbar/sandbox|Template Name|viewplain=1}}
|
||
For a simpler access option | {{Navbar/sandbox|Template Name|miniv=1}}
|
|||
For protected templates | {{Navbar/sandbox|Template Name|noedit=1}}
|
|||
For protected templates, mini | {{Navbar/sandbox|Template Name|noedit=1|mini=1}}
|