Template:Upgraded effect: Difference between revisions
From He is Coming Official Wiki
Gave the responsibility of mathematics to the template, made the numbers colored according to the upgrade tint, and broke up the parameterization of upgraded effects so that it is more flexible to future design changes. |
m Oops! The p-tag wasn't closed properly. |
||
| Line 9: | Line 9: | ||
==Content of Template== | ==Content of Template== | ||
</noinclude>{{{2|Base Effect: param "2"}}}<p style="text-align:right;">at <span style="color:#d0851e">Gold</span>: {{{3|(icon param "3")}}} <span style="color:#d0851e">{{#expr:{{{4|10}}}*2}}</span> {{#ifeq:{{{5|<noinclude>demo</noinclude>}}} | | | {{{5|(icon param "5")}}} <span style="color:#d0851e">{{#expr:{{{6|2}}}*2}}</span>}} | </noinclude>{{{2|Base Effect: param "2"}}}<p style="text-align:right;">at <span style="color:#d0851e">Gold</span>: {{{3|(icon param "3")}}} <span style="color:#d0851e">{{#expr:{{{4|10}}}*2}}</span> {{#ifeq:{{{5|<noinclude>demo</noinclude>}}} | | | {{{5|(icon param "5")}}} <span style="color:#d0851e">{{#expr:{{{6|2}}}*2}}</span>}}<br>at <span style="color:#9af0fd">Diamond</span>: {{{3|(icon param "3")}}} <span style="color:#9af0fd">{{#expr:{{{4|10}}}*4}}</span> {{#ifeq:{{{5|<noinclude>demo</noinclude>}}} | | | {{{5|(icon param "5")}}} <span style="color:#9af0fd">{{#expr:{{{6|2}}}*4}}</span>}}</p> | ||
<br> | |||
at <span style="color:#9af0fd">Diamond</span>: {{{3|(icon param "3")}}} <span style="color:#9af0fd">{{#expr:{{{4|10}}}*4}}</span> {{#ifeq:{{{5|<noinclude>demo</noinclude>}}} | | | {{{5|(icon param "5")}}} <span style="color:#9af0fd">{{#expr:{{{6|2}}}*4}}</span>}}</ | |||
Revision as of 21:52, 12 August 2025
An initial parameter named "1" allows for future mode-select design, in case additional formatting is needed for specialized contexts.
It is recommended that the Base Effect is described precisely how the game states it. For the Gold and Diamond effects, use attribute ![]()
![]()
and status-effect
icons to describe the changes between upgrade levels in as little space as possible.
Parameters "4" and "6" are intended to be numbers that are multiplied by the template 2x and 4x.
Parameters "5" and "6" are OPTIONAL, permitting a second effect to be described in this arithmetic manner.
Content of Template
Base Effect: param "2"
at Gold: (icon param "3") 20 (icon param "5") 4
at Diamond: (icon param "3") 40 (icon param "5") 8


