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 == | ||
{{ | <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 |