Template:Clickable button: Difference between revisions

    叶子和他的Vtuber们
    (Created page with "<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{text|{{{1|Button text}}}}}}</span><noinclude> == Example == {{Clickable button|color=white}} → <nowiki>{{Clickable button|color=white}}</nowiki> {{Clickable button|color=red}} → <nowiki>{{Clickable button|color=red}}</nowiki> {{Clickable button|color=blue}} → <nowiki>{{Clickable...")
     
    (No difference)

    Latest revision as of 12:29, 21 December 2022

    Button text

    Example

    Button text → {{Clickable button|color=white}}

    Button text → {{Clickable button|color=red}}

    Button text → {{Clickable button|color=blue}}

    text → [[target|{{Clickable button|text}}]] (for links. To add links, transclude this template inside wikilinks after the pipebar: [[target title|{{Clickable button|text}}]]. Or better use {{clickable button 2}} which adds links automatically)