Difference between revisions of "Template:Membership cost"
Jump to navigation
Jump to search
(Created page with '{{#switch: {{{1|{{{membership|full}}}}}} | maker | full = {{Membership cost/base}} | family = {{#ifexpr: {{{2|{{{num_members|2}}}}}} < 1 | {{Membership cost/base}} | {{#ifexpr: {…') |
(added more options to the switch) |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|{{{membership|full}}}}}} | {{#switch: {{{1|{{{membership|full}}}}}} | ||
| maker | | maker | ||
+ | | regular | ||
| full = {{Membership cost/base}} | | full = {{Membership cost/base}} | ||
| family = {{#ifexpr: {{{2|{{{num_members|2}}}}}} < 1 | {{Membership cost/base}} | {{#ifexpr: {{{2|{{{num_members|2}}}}}} > 5 | {{#expr: 5 * ( {{Membership cost/base}} - 10 ) + 10 + {{Membership cost/base}} * {{{2|({{{num_members|2}}}}}} - 5) }} | {{#expr: {{{2|{{{num_members|2}}}}}} * ( {{Membership cost/base}} - 10 ) + 10 }} }} }} | | family = {{#ifexpr: {{{2|{{{num_members|2}}}}}} < 1 | {{Membership cost/base}} | {{#ifexpr: {{{2|{{{num_members|2}}}}}} > 5 | {{#expr: 5 * ( {{Membership cost/base}} - 10 ) + 10 + {{Membership cost/base}} * {{{2|({{{num_members|2}}}}}} - 5) }} | {{#expr: {{{2|{{{num_members|2}}}}}} * ( {{Membership cost/base}} - 10 ) + 10 }} }} }} |
Revision as of 18:56, 29 July 2010
45
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
[edit] [ ] Template documentation
See also
The above documentation is transcluded from Template:Membership cost/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |