Template:Clickable button 2/testcases
From The TTSCpedia
42px | This is the template test cases page for the sandbox of Template:Clickable button 2. 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 with these links: |
Blank
{{clickable button 2}}
Sandbox
Main
Link only
{{clickable button 2|Foo}}
Sandbox
Main
URL only
{{clickable button 2|url=http://www.example.com}}
Sandbox
Main
Link and display
{{clickable button 2|Foo|Bar}}
Sandbox
Main
URL and display
{{clickable button 2|Foo|url=http://www.example.com}}
Sandbox
Main
Constructive
{{clickable button 2|Foo|class=mw-ui-constructive}}
Sandbox
Main
Progressive
{{clickable button 2|Foo|class=mw-ui-progressive}}
Sandbox
Main
Destructive
{{clickable button 2|Foo|class=mw-ui-destructive}}
Sandbox
Main
Same page link
{{clickable button 2|{{FULLPAGENAME}}}}
Sandbox
Main
Same page constructive
{{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-constructive}}
Sandbox
Main
Same page progressive
{{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-progressive}}
Sandbox
Main
Same page destructive
{{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-destructive}}
Sandbox
Main
Class case
{{clickable button 2|Foo|class=MW-UI-Constructive}}
Sandbox
Main
Old button class red
{{clickable button 2|Foo|class=ui-button-red|category=no}}
Sandbox
Main
Old button class green
{{clickable button 2|Foo|class=ui-button-green|category=no}}
Sandbox
Main
Old button class blue
{{clickable button 2|Foo|class=ui-button-blue|category=no}}
Sandbox
Main
Style
{{clickable button 2|Foo|style=width:300px}}
Sandbox
Main
Arbitrary class
{{clickable button 2|Foo|class=center}}
Sandbox
Main
Bad page name
{{clickable button 2|Foo<>Bar}}
Sandbox
[[Foo<>Bar| ]]
Main
[[Foo<>Bar| ]]
Bad page name with URL specified
{{clickable button 2|Foo<>Bar|url=http://www.example.com}}
Sandbox
Main