Form:Project: Difference between revisions

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{{info|page name=<Project[Agency]>/<Project[Film]>|create title=Create Project Page|edit title=Edit Project Page}}}
{{{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: *</p>
|<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
|{{{field
  |Film
  |Film
  |input type=dropdown
  |input type=tokens
  |values from category=Films
  |values from category=Films
  |mandatory
  |mandatory
|max values=1
|class=form-control
|existing values only
}}}
}}}
|-
|-
|<p class="small" title="Mandatory field">AGENCY: *</p>
|<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
|{{{field
  |Agency
  |Agency
  |input type=dropdown
  |input type=tokens
  |values from category=Agencies
  |values from category=Agencies
  |mandatory
  |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: *</p>
|<p class="small" title="Mandatory field">AGENCY TEAM: {{infopop|Mandatory field. Agency core functions within the project.|float-right}}</p>
|{{{field
|{{{field
  |Agency Core Function
  |Agency Core Function
Line 28: Line 42:
  |delimiter=;
  |delimiter=;
  |mandatory
  |mandatory
|class=form-control
}}}
}}}
|-
|-
Line 37: Line 52:
  |list
  |list
  |delimiter=;
  |delimiter=;
  |mandatory
  |class=form-control
}}}
}}}
|-
|-
Line 44: Line 59:
   |Audience
   |Audience
   |input type=radiobutton
   |input type=radiobutton
   |values=International,Domestic
   |property=Audience
   |mandatory
   |mandatory
   |default=Domestic
   |default=Domestic
Line 51: Line 66:
== Assets and/or Content ==
== Assets and/or Content ==
{{{field
{{{field
  |Assets
  |Content
  |holds template
  |holds template
}}}
}}}
Line 61: Line 76:
{{{end template}}}
{{{end template}}}
{{{for template|Award|multiple|embed in field=Project[Awards]|add button text=Add an Award}}}
{{{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}}}
{{{end template}}}
{{{for template|Asset|multiple|embed in field=Project[Assets]|add button text=Add a Record}}}
{{{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}}}
{{{end template}}}
__NOTOC__
__NOTOC__
Line 70: Line 219:
</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