Difference between revisions of "Form:Project"

From Hollywood in Pixels Wiki
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}} > 1994 | true }}
+
    |{{#while:
 +
       |{{#ifexpr: {{#var: year}} > 1993 | true }}
 
       |{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }}
 
       |{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }}
 
     }}
 
     }}

Revision as of 16:41, September 7, 2021