Difference between revisions of "Form:Project"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{{info|page name=<Project[Title]> {{#if:<Project[Original Release Year]>|(<Project[Original Release Year]>)}} }}}
+
{{{info|page name=<Project[Agency]>/<Project[Film]>|create title=Create Project Page|edit title=Edit Project Page}}}
 
{{{for template|Project}}}
 
{{{for template|Project}}}
{{#vardefine: year|{{#expr: {{CURRENTYEAR}} + 2}}}}
+
{|
<p class="small" title="Mandatory field">TYPE: *</p>
+
|-
{{{field
+
|<p class="small" title="Mandatory field">FILM: *</p>
  |Type of Work
+
|{{{field
  |property=Type of Work
+
  |Film
  |default=Film
+
  |input type=dropdown
 +
  |values from category=Films
 
  |mandatory
 
  |mandatory
 
}}}
 
}}}
<p class="small" title="Mandatory field">TITLE: *</p>
+
|-
{{{field
+
|<p class="small" title="Mandatory field">AGENCY: *</p>
  |Title
+
|{{{field
 +
  |Agency
 +
|input type=dropdown
 +
|values from category=Agencies
 
  |mandatory
 
  |mandatory
 
}}}
 
}}}
<p class="small" title="Mandatory field">YEAR: *</p>
+
|-
{{{field
+
|<p class="small" title="Mandatory field">AGENCY TEAM: *</p>
  |Original Release Year
+
|{{{field
  |input type=dropdown
+
  |Agency Core Function
  |values={{#arraydefine: years
+
  |input type=tokens
    |{{#while:
+
  |values from property=Agency Core Function
      |{{#ifexpr: {{#var: year}} > 1993 | true }}
+
|list
      |{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }}
+
  |delimiter=;
    }}
 
    |,
 
    |unique, print=list
 
  }}
 
  |default={{CURRENTYEAR}}
 
 
  |mandatory
 
  |mandatory
 
}}}
 
}}}
<p class="small" title="Mandatory field">STUDIO: *</p>
+
|-
 +
|<p class="small">MEDIA PARTNER: </p>
 
{{{field
 
{{{field
  |Studio
+
  |Media Partner Name
 
  |input type=tokens
 
  |input type=tokens
  |values from property=Studio Name
+
  |values from property=Media Partner Name
 
  |list
 
  |list
 
  |delimiter=;
 
  |delimiter=;
 
  |mandatory
 
  |mandatory
 
}}}
 
}}}
 +
|-
 +
|<p class="small">AUDIENCE: </p>
 +
|{{{field
 +
  |Audience
 +
  |input type=radiobutton
 +
  |values=International,Domestic
 +
  |mandatory
 +
  |default=Domestic
 +
}}}
 +
|-
 +
|
 +
|
 +
== Assets and/or Content ==
 +
{{{field
 +
|Assets
 +
|holds template
 +
}}}
 +
|-
 +
|
 +
|
 +
== Awards ==
 +
{{{field
 +
|Awards
 +
|holds template
 +
}}}
 +
}}
 +
|}
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 09:42, September 9, 2021