Difference between revisions of "Form:Project"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{{for template|Project}}} | {{{for template|Project}}} | ||
{{#vardefine: year|{{#expr: {{CURRENTYEAR}} + 2}}}} | {{#vardefine: year|{{#expr: {{CURRENTYEAR}} + 2}}}} | ||
+ | |||
+ | <p class="small">TITLE:</p> | ||
+ | {{{field | ||
+ | |Title | ||
+ | |mandatory | ||
+ | }}} | ||
<p class="small">YEAR:</p> | <p class="small">YEAR:</p> | ||
{{{field | {{{field | ||
|Original Release Year | |Original Release Year | ||
|input type=dropdown | |input type=dropdown | ||
− | |values={{#arraydefine: years|{{#while: | + | |values={{#arraydefine: years |
− | |{{#ifexpr: {{#var: year}} > | + | |{{#while: |
+ | |{{#ifexpr: {{#var: year}} > 1993 | true }} | ||
|{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }} | |{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }} | ||
}} | }} |