Difference between revisions of "Form:Project"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
 
(52 intermediate revisions by the same user not shown)
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: {{infopop|Mandatory field. To appear in the list, the film must be added to the database, see [[Form:Film]].|float-right}}</p>
  |Type of Work
+
|{{{field
  |property=Type of Work
+
|Film
  |default=Film
+
|input type=tokens
 +
|values from category=Films
 +
|mandatory
 +
|max values=1
 +
|class=form-control
 +
|existing values only
 +
}}}
 +
|-
 +
|<p class="small" title="Mandatory field">AGENCY: {{infopop|Mandatory field. To appear in the list, the agency must be added to the database, see [[Form:Agency]].|float-right}}</p>
 +
|{{{field
 +
|Agency
 +
|input type=tokens
 +
|values from category=Agencies
 +
|mandatory
 +
|max values=1
 +
|class=form-control
 +
|existing values only
 +
}}}
 +
|-
 +
|<p class="small" title="Mandatory field">Project Name: {{infopop|Mandatory field.|float-right}}</p>
 +
|{{{field
 +
|Project Name
 +
|input type=text
 +
|mandatory
 +
|class=form-control
 +
}}}
 +
|-
 +
|<p class="small" title="Mandatory field">AGENCY TEAM: {{infopop|Mandatory field. Agency core functions within the project.|float-right}}</p>
 +
|{{{field
 +
  |Agency Core Function
 +
|input type=tokens
 +
  |values from property=Agency Core Function
 +
  |list
 +
|delimiter=;
 
  |mandatory
 
  |mandatory
 +
|class=form-control
 +
}}}
 +
|-
 +
|<p class="small">MEDIA PARTNER: </p>
 +
|{{{field
 +
|Media Partner Name
 +
|input type=tokens
 +
|values from property=Media Partner Name
 +
|list
 +
|delimiter=;
 +
|class=form-control
 
}}}
 
}}}
<p class="small" title="Mandatory field">TITLE: *</p>
+
|-
 +
|<p class="small">AUDIENCE: </p>
 +
|{{{field
 +
  |Audience
 +
  |input type=radiobutton
 +
  |property=Audience
 +
  |mandatory
 +
  |default=Domestic
 +
}}}
 +
|}
 +
== Assets and/or Content ==
 
{{{field
 
{{{field
  |Title
+
  |Content
  |mandatory
+
  |holds template
 
}}}
 
}}}
<p class="small" title="Mandatory field">YEAR: *</p>
+
== Awards ==
 
{{{field
 
{{{field
  |Original Release Year
+
  |Awards
|input type=dropdown
+
|holds template
|values={{#arraydefine: years
+
}}}
 +
{{{end template}}}
 +
{{{for template|Award|multiple|embed in field=Project[Awards]|add button text=Add an Award}}}
 +
{|
 +
|-
 +
|<p class="small" title="Mandatory field">AWARD: {{infopop|Mandatory field. To appear in the list, the Award and its categories must be added to the database, see [[Form:Awards]].|float-right}}</p>
 +
|{{{field
 +
  |Award Type
 +
  |input type=tokens
 +
  |values from property=Award Type
 +
  |mandatory
 +
  |max values=1
 +
  |class=form-control
 +
}}}
 +
|-
 +
|<p class="small" title="Mandatory field">CATEGORY: {{infopop|Mandatory field. To appear in the list, the Award and its categories must be added to the database, see [[Form:Awards]].|float-right}}</p>
 +
|{{{field
 +
  |Award Details
 +
  |input type=SF_Select
 +
  |function=ask:((Award Type::@@@@))((-Has subobject::Project:Awards));?Award Details;format~plainlist;limit~50;order~asc;headers~hide;mainlabel~-;searchlabel~;sep~,
 +
  |sametemplate
 +
  |field=Award Type
 +
  |rmdiv
 +
  |class=form-control
 +
}}}
 +
|-
 +
|<p class="small">YEAR: {{infopop|Mandatory field. The list of values will update itself.|float-right}}</p>
 +
|{{{field
 +
  |Award Year
 +
  |input type=dropdown
 +
  |values={{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}{{#arraydefine: years
 
     |{{#while:
 
     |{{#while:
 
       |{{#ifexpr: {{#var: year}} > 1993 | true }}
 
       |{{#ifexpr: {{#var: year}} > 1993 | true }}
Line 27: Line 111:
 
     |unique, print=list
 
     |unique, print=list
 
   }}
 
   }}
|default={{CURRENTYEAR}}
+
  |mandatory
  |mandatory
+
  |default={{CURRENTYEAR}}
 +
  |class=form-control
 +
  }}}{{#arrayreset: years}}{{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}
 +
|-
 +
|<p class="small">AWARD OUTCOME: </p>
 +
|{{{field
 +
  |Award Outcome
 +
  |input type=checkboxes
 +
  |property=Award Outcome
 +
  |show on select=Won=>ranks;
 +
  |list
 +
  |delimiter=,
 +
}}}
 +
|- id="ranks"
 +
|<p class="small">RANK: </p>
 +
|{{{field
 +
  |Award Winner Rank
 +
  |input type=dropdown
 +
  |values=Gold,Silver,Bronze
 +
  |class=form-control
 +
}}}
 +
|-
 +
|<p class="small">ASSET REF ID: {{infopop|Copy a corresponding Ref ID in the Assets section and paste it here.|float-right}}</p>
 +
|{{{field
 +
  |Asset Ref ID
 +
  |input type=text
 +
  |class=form-control
 +
  |placeholder=Copy a corresponding Ref ID in the Assets section and paste it here.
 +
}}}
 +
|}
 +
{{{end template}}}
 +
{{{for template|Content|multiple|embed in field=Project[Content]|add button text=Add a Record}}}
 +
{|
 +
|-
 +
|<p class="small">TYPE: </p>
 +
|{{{field
 +
|Asset Category
 +
|input type=dropdown
 +
|property=Asset Category
 +
|show on select=Social Creative=>creative;
 +
|class=form-control
 
}}}
 
}}}
<p class="small" title="Mandatory field">STUDIO: *</p>
+
|- id="creative"
{{{field
+
|
  |Studio
+
|{{{field
  |input type=tokens
+
  |Social Campaign Media
  |values from property=Studio Name
+
  |input type=combobox
  |list
+
  |values from property=Social Campaign Media
  |delimiter=;
+
  |placeholder=Select or Type in
  |mandatory
+
  |class=form-control
 +
}}}
 +
|-
 +
|<p class="small">ASSET ID: {{infopop|Restricted field, its value is auto generated.|float-right}}</p>
 +
|{{{field
 +
  |Asset ID
 +
  |input type=text
 +
  |default=uuid
 +
  |class=form-control
 +
  |restricted
 +
  |mandatory
 +
}}}
 +
|-
 +
|<p class="small">DESCRIPTION: </p>
 +
|{{{field
 +
  |Asset Description
 +
  |input type=textarea
 +
  |placeholder=Asset and/or content description
 +
  |class=form-control
 +
  |editor=visualeditor
 +
}}}
 +
|-
 +
|<p class="small">INNOVATIONS: </p>
 +
|{{{field
 +
  |Innovative Features
 +
  |input type=textarea
 +
  |placeholder=First-to-market activations or Tech innovations
 +
  |class=form-control
 +
  |editor=visualeditor
 +
}}}
 +
|-
 +
|<p class="small">LIVE URL: {{infopop|Must be a valid URL.|float-right}}</p>
 +
|{{{field
 +
  |Has URL
 +
  |input type=regexp
 +
  |base type=url
 +
  |regexp=/^$!^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/
 +
  |placeholder=URL of the website
 +
  |class=form-control
 
}}}
 
}}}
 +
|-
 +
|<p class="small">IMAGE GALLERY: {{infopop|You will be able to drag and drop a batch of images right on the project page after saving your work.|float-right}}</p>
 +
|
 +
|-
 +
|<p class="small">VIDEO LINKS: {{infopop|Add valid URLs to videos stored on the main video content providers (see list [https://www.mediawiki.org/wiki/Extension:EmbedVideo#Supported_services here]). One URL per line.|float-right}}</p>
 +
|{{{field
 +
  |Video
 +
  |input type=textarea
 +
  |list
 +
  |delimiter=\n
 +
  |placeholder=One video link URL per line
 +
  |class=form-control
 +
}}}
 +
|}
 
{{{end template}}}
 
{{{end template}}}
 +
__NOTOC__
 +
__NOEDITSECTION__
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{#formlink: form=Project
 
{{#formlink: form=Project
   |link text=Add a Project
+
   |link text=<span class="mw-ui-button">Add a Project</span>
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:01, September 16, 2021