From Brotato Wiki
m (Darkly77 moved page Template:DLC Link to Template:DLCLink: Remove underscore to be consistent with other template names) |
(`DLC_Badge` > `DLCBadge`) |
||
| Line 2: | Line 2: | ||
--><span class="dlc-link"><!-- | --><span class="dlc-link"><!-- | ||
--><span class="dlc-link-item">[[{{{link|{{{1|}}}}}}|{{{text|{{{2|{{{link|{{{1|}}}}}}}}}}}}]]</span><!-- | --><span class="dlc-link-item">[[{{{link|{{{1|}}}}}}|{{{text|{{{2|{{{link|{{{1|}}}}}}}}}}}}]]</span><!-- | ||
-->{{ | -->{{DLCBadge}}<!-- | ||
--></span><!-- | --></span><!-- | ||
--></includeonly></onlyinclude><noinclude> | --></includeonly></onlyinclude><noinclude> | ||
Revision as of 23:06, 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Link (Page Name) | link 1 | no description | String | required |
| Text Override | text 2 | By default, the link's text matches the page name. Use this option to override the text | String | suggested |