Form:Project: Difference between revisions

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
Created page with "<includeonly> {{{info|page name=<Project[Title]> {{#if:<Project[Original Release Year]>|(<Project[Original Release Year]>)}} }}} {{{for template|Project}}} {{{end template}}}..."
 
No edit summary
 
(65 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}}}<!-- -->
 
{|
|-
|<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>
|{{{field
|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
|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">AUDIENCE: </p>
|{{{field
  |Audience
  |input type=radiobutton
  |property=Audience
  |mandatory
  |default=Domestic
}}}
|}
== Assets and/or Content ==
{{{field
|Content
|holds template
}}}
== Awards ==
{{{field
|Awards
|holds template
}}}
{{{end template}}}
{{{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:
      |{{#ifexpr: {{#var: year}} > 1993 | true }}
      |{{#var: year}},{{#vardefine: year | {{#expr: {{#var: year}} - 1 }} }}
    }}
    |,
    |unique, print=list
  }}
  |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
}}}
|- id="creative"
|
|{{{field
  |Social Campaign Media
  |input type=combobox
  |values from property=Social Campaign Media
  |placeholder=Select or Type in
  |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
  |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}}}
__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 15:42, February 15, 2026