「Test」の版間の差分
提供: クールトレイン777の部屋 MediaWiki'sWiki
クールトレイン777 (トーク | 投稿記録) |
クールトレイン777 (トーク | 投稿記録) |
||
1行目: | 1行目: | ||
− | [[ | + | <span class="plainlinks">[{{#if:{{{url|}}} |
+ | |{{{url}}} | ||
+ | |[{{{1|}}}{{!}} | ||
+ | }}<span class="{{#switch:{{lc:{{{class|}}}}}|ui-button-green|ui-button-blue|ui-button-red=submit ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only ui-button-text|#default=mw-ui-button}} {{{class|}}}" role="button" aria-disabled="false" style="{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}}|cursor: default; | ||
+ | {{#switch:{{{class|}}} | ||
+ | | ui-button-blue | mw-ui-progressive = background-color: #2962CB; | ||
+ | | ui-button-green | mw-ui-constructive = background-color: #008B6D; | ||
+ | | ui-button-red | mw-ui-destructive = background-color: #A6170F; | ||
+ | | #default = background-color: #CCC; color: #666; | ||
+ | }}}} {{{style|}}}">{{#if:{{{url|}}} | ||
+ | |{{#if:{{{1|}}} | ||
+ | |{{{1}}} | ||
+ | |{{{url}}} | ||
+ | }}</span>|{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>] | ||
+ | }}]</span>{{#switch:{{lc:{{{class}}}}}|ui-button-green|ui-button-blue|ui-button-red=[[Category:Pages using old style ui-button-color]]|#default=}}<noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |
2019年2月23日 (土) 13:24時点における最新版
[[|]]
- Code:
{{:test|Main Page}}
- Code:
{{:test|Main Page|Cover page}}
- Code:
{{:test|Home|url=http://en.wikipedia.org}}
- Code:
{{:test|Main Page|class=mw-ui-constructive}}
- Code:
{{:test|Main Page|class=mw-ui-destructive}}
- Code:
{{:test|Main Page|class=mw-ui-progressive}}