From Brotato Wiki

(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)
Tag: New redirect
 
(updates)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:ExternalLinkButton]]
<onlyinclude><includeonly><!--
--><span class="btn btn--link">[[{{{name|}}}|{{{text|{{{name|}}}}}}]]</span><!--
--></includeonly></onlyinclude><noinclude>
Insert a link styled like a button.
 
''See also: [[Template:ExternalLinkButton|ExternalLinkButton]] (for external links).''
 
== Example ==
 
{{LinkButton|Items|View Items}}
 
 
<templatedata>
{
"params": {
"name": {
"aliases": [
"1"
],
"label": "Page Name",
"example": "Items",
"type": "string",
"required": true,
"suggested": true
},
"text": {
"aliases": [
"2"
],
"label": "Text",
"example": "My Link",
"type": "string",
"required": false,
"suggested": true
}
},
"format": "inline"
}
</templatedata></noinclude>

Revision as of 18:31, 17 December 2022

Insert a link styled like a button.

See also: ExternalLinkButton (for external links).

Example

[[|]]


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page Namename 1

no description

Example
Items
Stringrequired
Texttext 2

no description

Example
My Link
Stringsuggested