Difference between revisions of "Template:CMF GVI"
Jump to navigation
Jump to search
(Updated with parser functions) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | {{#if:{{{1|}}} | ||
< | | <span class="gvi2 gvi-{{CMF Name|{{{1|}}}|id}}{{#if:{{#pos:{{{2|}}}|.}} | | ||
{{#ifexpr:{{{2}}} < 0.7|<nowiki/> gvi-alpha}} | |||
<span class="icon"> | {{#ifexpr:{{{2}}} >= 0.7 and {{{2}}} < 1|<nowiki/> gvi-beta}} | ||
{{CMF Icon|{{CMF Name|{{{1}}}| | }}{{#if:{{#pos:{{lc:{{{branch|}}}{{{2|}}}}}|dev}}|<nowiki/> gvi-dev}}{{#if:{{#pos:{{lc:{{{branch|}}}{{{2|}}}}}|diag}}|<nowiki/> gvi-diag}}"{{#if:{{{size|}}}|<nowiki/> style="font-size: {{#ifexpr:({{{size}}}/2+0.5)*12<24|{{#expr:({{{size}}}/2+0.5)*12}}|24}}px; height: {{#expr:{{{size}}}*32}}px; width: {{#expr:{{{size}}}*32}}px"}}><span class="icon">{{CMF Icon|{{CMF Name|{{{1}}}|id}}|{{#if:{{{size|}}}|{{#expr:floor({{{size}}}*32-2)}}|30}}|link=:Category:Introduced with {{CMF Name|{{{1}}}}} version {{lc:{{{2|}}}}}|{{#if:{{{2|}}}|{{uc:{{{2}}}}}|?}}}}</span><span class="version">[[:Category:Introduced with {{CMF Name|{{{1}}}}} version {{lc:{{{2|}}}}}|{{#if:{{{2|}}}|{{uc:{{{2}}}}}|?}}]]</span></span> | ||
</span> | | -no game provided- | ||
<span class="version"> | }} | ||
[[Category:Introduced with {{CMF Name|{{{1}}}}} version {{lc:{{{2|}}}}}|{{uc:{{{2}}}}}]] | |||
</span> | |||
</span> | |||
Latest revision as of 02:12, 4 November 2022
-no game provided-