User:Proton/Indicator: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
|Dragonborn=DB | |Dragonborn=DB | ||
|{{{6}}} | |{{{6}}} | ||
}} }}{{#if: {{{1|}}} | {{#if: {{{2|}}} | <div style=" | }} }}{{#if: {{{1|}}} | {{#if: {{{2|}}} |<div style="background-color:{{{3}}}; background:-webkit-linear-gradient({{{3}}}, {{{4}}}); background:-moz-linear-gradient({{{bgcolor}}}, {{{4}}}); background:-o-linear-gradient({{{3}}}, {{{4}}}); background:linear-gradient({{{3}}}, {{{4}}}); border-radius:2px; display:inline-block; padding:2px; text-align:center; vertical-align:middle; width:100%;"><span style="font-size:1.12em; font-weight:bold; color:{{{5}}};">''{{#var:text}}''</span></div>}} }}</includeonly><noinclude>__NOTOC__ | ||
== Purpose & Usage == | == Purpose & Usage == |
Revision as of 20:18, November 2, 2020
Purpose & Usage
{{Indicator|width|height|s_gradient|e_gradient|text}}
Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient.
Examples
Code:
{{Indicator|32|20|#739472|#5C6F5C|#A8C9A7|AB}}
Result:
AB
Code:
{{Indicator|32|20|#ff0000|#440000|#000|Dawnguard}}
Result:
DG
See Also
None