Template:ModlistFlag
From Step Mods | Change The Game
This page is a candidate for deletion! | |
| |
If you disagree with the deletion of this page, please explain why on the discussion page. Admins please check what links here and the page history before deleting. |
Template:ModlistFlag
Discussion:
Purpose & Usage
This is a helper template that is primarily used for the modlist template.
Required Parameters
- flag
- Defines the keyword or text displayed for the flag. Users can enter any text and the flag will display that text. The text can be formatted within this parameter, as well. However, the following keywords are pre-defined and will default to a pre-defined style.
- Dawnguard = DG
- Hearthfire = HF
- Dragonborn = DB
Optional Parameters
- flagBG
- Defined:
flagBG=value
- Default: #40804d
- Defines the background color of the flag. Accepts any valid CSS for color.
- flagGrad
- Defined:
flagGrad=value
- Default: #7db388
- Defines the gradient color the background will fade into (top to bottom). Accepts any valid CSS for color.
- flagFont
- Defined:
flagFont=value
- Default: #dddddd
- Defines the font color the text will be. Accepts any valid CSS for color.
Examples
Simplest call will use the defaults.
- Code:
{{modlistFlag|flag=Custom}}
- Result:
WARNING
This template is deprecated and should not be used. Consider using Template:Icon instead. If that template does not have an icon or decorated text as desired, PM one of the forum moderators or staff, who will work with you to add the site-compatible variants wanted.Custom
Related Templates