Template:Tag: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#switch:{{{1|}}}
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#switch:{{{1|}}}
|Daily={{#vardefine:tagColor|#e6b49b}}
|
|Combat={{#vardefine:tagColor|#97ace4}}
|#default={{#vardefine:tagColor|#ccc}}
|#default={{#vardefine:tagColor|#ccc}}
}}<div style="min-width: 25px; padding: 0.25em 0.5em; color: white; background-color:{{#var:tagColor}}">{{{1|}}}</div></includeonly>
}}<div style="min-width: 25px; padding: 0.25em 0.5em; color: white; background-color:{{#var:tagColor}}">{{{1|}}}</div></includeonly>

Revision as of 01:57, 7 February 2024

Documentation

Description

This template is used to create the stylized tags that are used in-game.

Usage

{{Tag|<tag name>}}

Example

<div style="display: flex; gap: 3px;">
{{Tag|Daily}}
{{Tag|Combat}}
</div>
Daily
Combat