From Brotato Wiki
(INITIAL \o/) |
(improve docs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
--><span class="btn btn--link">[{{{link|{{{1|ERROR: Missing link}}}}}} {{{text|{{{2|ERROR: Missing text}}}}}}]</span><!-- | --><span class="btn btn--link">[{{{link|{{{1|ERROR: Missing link}}}}}} {{{text|{{{2|ERROR: Missing text}}}}}}]</span><!-- | ||
--></includeonly></onlyinclude><noinclude> | --></includeonly></onlyinclude><noinclude> | ||
Insert a link styled like a button. Originally intended for mod download 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 == | ||
{{ | <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}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link | link 1 | no description
| String | required |
Text | text 2 | no description
| String | required |