コンテンツにスキップ

Template:Clickable button 2/testcases

Blank

[編集]
  • {{clickable button 2}}

Sandbox


Main


[編集]
  • {{clickable button 2|Foo}}

Sandbox

Foo

Main

Foo

URL only

[編集]
  • {{clickable button 2|url=http://www.example.com}}

Sandbox

http://www.example.com

Main

http://www.example.com

[編集]
  • {{clickable button 2|Foo|Bar}}

Sandbox

Bar

Main

Bar

URL and display

[編集]
  • {{clickable button 2|Foo|url=http://www.example.com}}

Sandbox

Foo

Main

Foo

Constructive

[編集]
  • {{clickable button 2|Foo|class=mw-ui-constructive}}

Sandbox

Foo

Main

Foo

Progressive

[編集]
  • {{clickable button 2|Foo|class=mw-ui-progressive}}

Sandbox

Foo

Main

Foo

Destructive

[編集]
  • {{clickable button 2|Foo|class=mw-ui-destructive}}

Sandbox

Foo

Main

Foo

[編集]
  • {{clickable button 2|{{FULLPAGENAME}}}}

Sandbox

Template:Clickable button 2/testcases

Main

Template:Clickable button 2/testcases

Same page constructive

[編集]
  • {{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-constructive}}

Sandbox

Template:Clickable button 2/testcases

Main

Template:Clickable button 2/testcases

Same page progressive

[編集]
  • {{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-progressive}}

Sandbox

Template:Clickable button 2/testcases

Main

Template:Clickable button 2/testcases

Same page destructive

[編集]
  • {{clickable button 2|{{FULLPAGENAME}}|class=mw-ui-destructive}}

Sandbox

Template:Clickable button 2/testcases

Main

Template:Clickable button 2/testcases

Class case

[編集]
  • {{clickable button 2|Foo|class=MW-UI-Constructive}}

Sandbox

Foo

Main

Foo

Old button class red

[編集]
  • {{clickable button 2|Foo|class=ui-button-red|category=no}}

Sandbox

Foo

Main

Foo

Old button class green

[編集]
  • {{clickable button 2|Foo|class=ui-button-green|category=no}}

Sandbox

Foo

Main

Foo

Old button class blue

[編集]
  • {{clickable button 2|Foo|class=ui-button-blue|category=no}}

Sandbox

Foo

Main

Foo

Style

[編集]
  • {{clickable button 2|Foo|style=width:300px}}

Sandbox

Foo

Main

Foo

Arbitrary class

[編集]
  • {{clickable button 2|Foo|class=center}}

Sandbox

Foo

Main

Foo

Bad page name

[編集]
  • {{clickable button 2|Foo<>Bar}}

Sandbox

[[Foo<>Bar|Foo<>Bar]]

Main

[[Foo<>Bar|Foo<>Bar]]

Bad page name with URL specified

[編集]
  • {{clickable button 2|Foo<>Bar|url=http://www.example.com}}

Sandbox

Foo<>Bar

Main

Foo<>Bar

cornerRadius

[編集]
  • {{clickable button 2/sandbox|Foo|cornerRadius=10px}}

Sandbox

Foo

Main

Foo

width height

[編集]
  • {{clickable button 2/sandbox|Foo|width=150px|height=50px}}

Sandbox

Foo

Main

Foo

width height + text size

[編集]
  • {{clickable button 2/sandbox|Foo|width=150px|height=50px|textSize=50px}}

Sandbox

Foo

Main

Foo

borderColor

[編集]
  • {{clickable button 2/sandbox|Foo|borderColor=#FF0000}}

Sandbox

Foo

Main

Foo

borderWidth

[編集]
  • {{clickable button 2/sandbox|Foo|borderWidth=5}}

Sandbox

Foo

Main

Foo