Template:Btn: Difference between revisions

Template page
(Created page with "<includeonly><div class="sc-btn">{{#if:{{{1|}}} | {{#ifeq:{{{3|}}} | e | [{{{1}}} {{{2|{{{1}}}}}}] | [[ {{{1}}} | {{{2|{{{1}}}}}} ]]}} |NO LINK}}</div></includeonly> <noinclude> {{Doc}} </noinclude>")
 
No edit summary
Line 3: Line 3:
{{Doc}}
{{Doc}}
</noinclude>
</noinclude>
[[Category:Universal]]

Revision as of 19:48, 28 May 2023


Template DocumentationEdit This Documentation

Syntax

{{btn|LINK|LABEL|e}}

Arguments:

  1. LINK: The page name or external URL to link to.
  2. LABEL: The text to show in the button, will use the link text if not supplied-
  3. e: Set "e" at the end of the template if linking to an external URL, it will look broken otherwise.

Examples

Internal Link

{{btn|Help:Editing|Help Page}}

External Link

{{btn|https://supercombo.gg|supercombo.gg|e}}

This documentation is automatically transcluded from Template:Btn/Documentation and is not included when this page is transcluded.