From Brotato Wiki

(fixes)
(Update docs)
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><!--
--><span class="dlc-link-badge">DLC</span></span><!--
--><span class="dlc-link-badge" style="display: inline-block; margin-left: 3px;font-size: 70%;">{{Color|dlc|(DLC)}}</span></span><!--
--></span><!--
--></span><!--
--></includeonly></onlyinclude><noinclude>
--></includeonly></onlyinclude><noinclude>
Line 8: Line 8:
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.
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.


* {{DLC_Link|Curse}}
{| class="wikitable"
* {{DLC_Link|Curse|View the Curse Page}}
!Code
!Result
|-
|<code><nowiki>{{DLC_Link|Curse}}</nowiki></code>
|{{DLC_Link|Curse}}
|-
|<code><nowiki>{{DLC_Link|Curse|View the Curse Page}}</nowiki></code>
|{{DLC_Link|Curse|View the Curse Page}}
|}


</noinclude>
</noinclude>

Revision as of 15:40, 1 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)