Difference between revisions of "Template:Membership cost"

From MidsouthMakers - Memphis Area Hackerpace
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

[edit] [purge] Template documentation

See also