Template:Btn: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
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><templatestyles src="Btn/styles.css"/><div class="sc-btn">{{#if:{{{1|}}} | {{#ifeq:{{{3|}}} | e | [{{{1}}} {{{2|{{{1}}}}}}] | [[ {{{1}}} | {{{2|{{{1}}}}}} ]]}} |NO LINK}}</div></includeonly>
<noinclude>
<noinclude>
{{Doc}}
{{Doc}}
</noinclude>
</noinclude>
[[Category:Universal]]
[[Category:Universal]]

Revision as of 20:11, 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}}
Page Template:Btn/styles.css has no content.

External Link

{{btn|https://supercombo.gg|supercombo.gg|e}}
Page Template:Btn/styles.css has no content.

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