Difference between revisions of "Template:Button"
A fragment of the Garden of Remembering
|
|
Line 1: |
Line 1: |
| <onlyinclude>{{#if:{{{3|{{{external|}}}}}}
| | <span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}">{{{1|Button text}}}</span> |
| | <span class="plainlinks">[{{{1|{{{target|//parameter_target_is_empty.de}}}}}} <span class="submit ui-button ui-widget ui-state-default ui-corner-all {{Clickable button/iconclass
| |
| |{{{4|{{{iconPrimary|}}}}}}
| |
| |{{{5|{{{iconSecondary|}}}}}}
| |
| |{{{2|{{{text|<noinclude>x</noinclude>}}}}}}
| |
| }} {{{class|}}}" role="button" aria-disabled="false"><!-- // -->{{#if:{{{4|{{{iconPrimary|}}}}}}
| |
| |<span class="ui-button-icon-primary ui-icon {{{4|{{{iconPrimary}}}}}}"> </span>
| |
| }}<span class="ui-button-text">{{{2|{{{text|Parameter '''text''' is empty}}}}}}</span>{{#if:{{{5|{{{iconSecondary|}}}}}}
| |
| |<span class="ui-button-icon-secondary ui-icon {{{5|{{{iconSecondary|}}}}}}"> </span>
| |
| }}</span>]</span><!--
| |
| -->
| |
| | [[{{{1|{{{target|Parameter target is empty!}}}}}}|<span class="submit ui-button ui-widget ui-state-default ui-corner-all {{Clickable button/iconclass
| |
| |{{{4|{{{iconPrimary|}}}}}}
| |
| |{{{5|{{{iconSecondary|}}}}}}
| |
| |{{{2|{{{text|<noinclude>x</noinclude>}}}}}}
| |
| }} {{{class|}}}" role="button" aria-disabled="false"><!-- // -->{{#if:{{{4|{{{iconPrimary|}}}}}}
| |
| |<span class="ui-button-icon-primary ui-icon {{{4|{{{iconPrimary}}}}}}"> </span>
| |
| }}<span class="ui-button-text">{{{2|{{{text|Parameter '''text''' is empty}}}}}}</span>{{#if:{{{5|{{{iconSecondary|}}}}}}
| |
| |<span class="ui-button-icon-secondary ui-icon {{{5|{{{iconSecondary|}}}}}}"> </span>
| |
| }}</span>]]
| |
| }}<!--
| |
| | |
| | |
| -->
| |
| </onlyinclude>
| |
| {{documentation}}
| |
| <!-- Add categories and interwikis to Template:Clickable button/doc subpage, not here! -->
| |
Revision as of 19:12, 9 September 2019