Difference between revisions of "Form:Project"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
 
(47 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">AGENCY TEAM: *</p>
+
|<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
 
|{{{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=;
 +
|class=form-control
 
}}}
 
}}}
 
|-
 
|-
Line 43: Line 59:
 
   |Audience
 
   |Audience
 
   |input type=radiobutton
 
   |input type=radiobutton
   |values=International,Domestic
+
   |property=Audience
 
   |mandatory
 
   |mandatory
 
   |default=Domestic
 
   |default=Domestic
Line 60: 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|Content|multiple|embed in field=Project[Content]|add button text=Add a Record}}}
 
{{{for template|Content|multiple|embed in field=Project[Content]|add button text=Add a Record}}}
Line 71: Line 152:
 
  |property=Asset Category
 
  |property=Asset Category
 
  |show on select=Social Creative=>creative;
 
  |show on select=Social Creative=>creative;
}}}  
+
|class=form-control
 +
}}}
 
|- id="creative"
 
|- id="creative"
 
|
 
|
Line 79: Line 161:
 
   |values from property=Social Campaign Media
 
   |values from property=Social Campaign Media
 
   |placeholder=Select or Type in
 
   |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
 +
  |restricted
 +
  |mandatory
 
  }}}
 
  }}}
 
|-
 
|-
Line 86: Line 179:
 
   |input type=textarea
 
   |input type=textarea
 
   |placeholder=Asset and/or content description
 
   |placeholder=Asset and/or content description
 +
  |class=form-control
 +
  |editor=visualeditor
 
  }}}
 
  }}}
 
|-
 
|-
 
|<p class="small">INNOVATIONS: </p>
 
|<p class="small">INNOVATIONS: </p>
 
|{{{field
 
|{{{field
   |Innnovative Features
+
   |Innovative Features
 
   |input type=textarea
 
   |input type=textarea
 
   |placeholder=First-to-market activations or Tech innovations
 
   |placeholder=First-to-market activations or Tech innovations
 +
  |class=form-control
 +
  |editor=visualeditor
 
  }}}
 
  }}}
 
|-
 
|-
|<p class="small">LIVE URL: </p>
+
|<p class="small">LIVE URL: {{infopop|Must be a valid URL.|float-right}}</p>
 
|{{{field
 
|{{{field
 
  |Has URL
 
  |Has URL
Line 102: Line 199:
 
  |regexp=/^$!^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/
 
  |regexp=/^$!^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/
 
  |placeholder=URL of the website
 
  |placeholder=URL of the website
 +
|class=form-control
 
}}}
 
}}}
 
|-
 
|-
|<p class="small">IMAGE GALLERY: </p>
+
|<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>
|You will be able to drag and drop a batch of images right on the project page after saving your work.
+
|
 
|-
 
|-
|<p class="small">VIDEO LINKS: </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
 
|{{{field
 
   |Video
 
   |Video
Line 114: Line 212:
 
   |delimiter=\n
 
   |delimiter=\n
 
   |placeholder=One video link URL per line
 
   |placeholder=One video link URL per line
 +
  |class=form-control
 
  }}}
 
  }}}
 
|}
 
|}
Line 121: Line 220:
 
</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