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
Tag: Manual revert
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="sc-btn">{{#if:{{{1|}}} | {{#ifeq:{{{3|}}} | e | [{{{1}}} {{{2|{{{1}}}}}}] | [[ {{{1}}} | {{{2|{{{1}}}}}} ]]}} |NO LINK}}</div></includeonly>
<includeonly><span class="plainlinks">{{#if:{{{1|}}}|{{#ifeq:{{{3|}}}|e|[{{{1}}} <div class="sc-btn">{{{2|{{{1}}}}}}</div>]|[[{{{1}}}|<div class="sc-btn">{{{2|{{{1}}}}}}</div>]]}}|NO LINK}}</span></includeonly><noinclude>
<noinclude>
{{Doc}}
{{Doc}}
[[Category:Universal]]
</noinclude>
</noinclude>

Latest revision as of 20:38, 29 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}}
supercombo.gg

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