Template:Tag: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly>{{#switch:{{{1|}}} | |#default={{#vardefine:tagColor|#ccc}} }}<div style="min-width: 25px; padding: 0.5em 1em; color: white; background-color:{{#var:tagColor}}">{{{1|}}}</div></includeonly>")
 
No edit summary
Line 2: Line 2:
|
|
|#default={{#vardefine:tagColor|#ccc}}
|#default={{#vardefine:tagColor|#ccc}}
}}<div style="min-width: 25px; padding: 0.5em 1em; 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:51, 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