Template:SmCost: Difference between revisions
Jump to navigation
Jump to search
(Attempt at making this template more compact) |
(overhaul template to not need as much formatting on the input side.) |
||
Line 1: | Line 1: | ||
<includeonly>{| align=center cellspacing=0 cellpadding=5 style="background-color:#{{{bgcolor|}}}; text-align:center" | <includeonly>{| align=center cellspacing=0 cellpadding=5 style="background-color:#{{{bgcolor|}}}; text-align:center" | ||
|- valign=middle align=middle | |- valign=middle align=middle | ||
| {{#switch: {{{ | | {{#switch: {{{w|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{W}}<br>{{{w|}}} | {{{w|}}}{{-}}{{W}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{m|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{M}}<br>{{{m|}}} | {{{m|}}}{{-}}{{M}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{o|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{O}}<br>{{{o|}}} | {{{o|}}}{{-}}{{O}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{s|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{S}}<br>{{{s|}}} | {{{s|}}}{{-}}{{S}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{c|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{C}}<br>{{{c|}}} | {{{c|}}}{{-}}{{C}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{gem|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{Gem}}<br>{{{gem|}}} | {{{gem|}}}{{-}}{{Gem}}}} | ||
| {{#switch: {{{ | | {{#switch: {{{g|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{G}}<br>{{{g|}}} | {{{g|}}}{{-}}{{G}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Examples == | == Examples == | ||
<pre>{{SmCost| | <pre>{{SmCost|vert=y|m=10|g=7500}}</pre> | ||
{{SmCost| | {{SmCost|vert=y|m=10|g=7500}} | ||
<pre>{{SmCost| | |||
{{SmCost| | <pre>{{SmCost|vert=y|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}}</pre> | ||
{{SmCost|vert=y|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}} | |||
<pre>{{SmCost|m=10|g=7500}}</pre> | |||
{{SmCost|m=10|g=7500}} | |||
<pre>{{SmCost|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}}</pre> | |||
{{SmCost|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}} | |||
[[Category: Help templates]]</noinclude> | [[Category: Help templates]]</noinclude> |