From Brotato Wiki

(use new Template:DLC_Badge; and fix a closing span that shouldn't have been there)
(add templatedata)
Line 19: Line 19:
|}
|}


</noinclude>
 
<templatedata>
{
"params": {
"link": {
"aliases": [
"1"
],
"label": "Link (Page Name)",
"type": "string",
"required": true
},
"text": {
"aliases": [
"2"
],
"label": "Text Override",
"description": "By default, the link's text matches the page name. Use this option to override the text",
"type": "string",
"suggested": true
}
}
}
</templatedata></noinclude>

Revision as of 22:35, 3 November 2024


Add a "DLC" text badge to a link. Accepts a link as the first parameter, and optional text. If no text is specified, the link will be used as the text.

Code Result
{{DLC_Link|Curse}} Curse(DLC)
{{DLC_Link|Curse|View the Curse Page}} View the Curse Page(DLC)


No description.

Template parameters

ParameterDescriptionTypeStatus
Link (Page Name)link 1

no description

Stringrequired
Text Overridetext 2

By default, the link's text matches the page name. Use this option to override the text

Stringsuggested