Template:ModlistFlag: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 4: Line 4:
|Dragonborn=DB
|Dragonborn=DB
|{{{flag}}}}}'''</span></includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Formatting Templates]]
|{{{flag}}}}}'''</span></includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Formatting Templates]]
{{delete|reason=This template was created to support users creating mod listings for Guides on their user pages. Users should now take advantage of our Framework. Removing these will discourage this behavior<br>[[File:TechAngel85Avatar.png|22px|alt=TechAngel Avatar|class=rounded-circle]] [[User:TechAngel85|TechAngel85]]}}


= {{FULLPAGENAME}} =
= {{FULLPAGENAME}} =

Revision as of 00:09, July 27, 2021


Icon delete.png This page is a candidate for deletion!
Reason:
"This template was created to support users creating mod listings for Guides on their user pages. Users should now take advantage of our Framework. Removing these will discourage this behavior
TechAngel Avatar TechAngel85"
If you disagree with the deletion of this page, please explain why on the discussion page.

Template:ModlistFlag[edit source]

Discussion:

Purpose & Usage[edit source]

This is a helper template that is primarily used for the modlist template.

Required Parameters[edit source]

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[edit source]

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[edit source]

Simplest call will use the defaults.

Code: {{modlistFlag|flag=Custom}}
Result:

Custom

Related Templates[edit source]