From Brotato Wiki

m (Darkly77 moved page Template:LinkButton to Template:ExternalLinkButton: rename to "ExternalLinkButton" instead of "LinkButton", this new name is more declarative and opens up "LinkButton" for use with internal wiki links)
(improve docs)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
--></includeonly></onlyinclude><noinclude>
--></includeonly></onlyinclude><noinclude>
Insert a link styled like a button. Originally intended for mod download links. Only works for external links.
Insert a link styled like a button. Originally intended for mod download links. Only works for external links.
''See also: [[Template:LinkButton|LinkButton]] (for internal wiki page links).''


== Example ==
== Example ==


{{LinkButton|https://brotato.wiki.spellsandguns.com/Brotato_Wiki|Brotato Wiki}}
<pre style="display:inline-block;">
{{ExternalLinkButton|URL|TEXT}}
 
{{ExternalLinkButton|https://brotato.wiki.spellsandguns.com/Brotato_Wiki|Brotato Wiki}}
</pre>


{{ExternalLinkButton|https://brotato.wiki.spellsandguns.com/Brotato_Wiki|Brotato Wiki}}


<templatedata>
<templatedata>

Latest revision as of 14:40, 20 December 2022

Insert a link styled like a button. Originally intended for mod download links. Only works for external links.

See also: LinkButton (for internal wiki page links).

Example

{{ExternalLinkButton|URL|TEXT}}

{{ExternalLinkButton|https://brotato.wiki.spellsandguns.com/Brotato_Wiki|Brotato Wiki}}

Brotato Wiki

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Linklink 1

no description

Example
https://example.com
Stringrequired
Texttext 2

no description

Example
My Link
Stringrequired