Difference between revisions of "Form:Project"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
 
(28 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}}}<!-- -->{{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}<!-- -->{{#arraydefine: award
+
{{{for template|Project}}}<!-- -->
  |{{#ask:[[-Has subobject::Project:Awards]]|?Award Type|mainlabel=-|headers=hide|format=array|sep=;}}
 
  |;
 
  |unique,sort=asc
 
}}
 
 
{|
 
{|
 
|-
 
|-
|<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 32: Line 42:
 
  |delimiter=;
 
  |delimiter=;
 
  |mandatory
 
  |mandatory
 +
|class=form-control
 
}}}
 
}}}
 
|-
 
|-
Line 41: Line 52:
 
  |list
 
  |list
 
  |delimiter=;
 
  |delimiter=;
 +
|class=form-control
 
}}}
 
}}}
 
|-
 
|-
Line 65: Line 77:
 
{{{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: *</p>
+
|<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
 
|{{{field
 
   |Award Type
 
   |Award Type
   |input type=dropdown
+
   |input type=tokens
 
   |values from property=Award Type
 
   |values from property=Award Type
 
   |mandatory
 
   |mandatory
 +
  |max values=1
 +
  |class=form-control
 
  }}}
 
  }}}
 
|-
 
|-
|<p class="small" title="Mandatory field">CATEGORY: *</p>
+
|<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
 
|{{{field
 
   |Award Details
 
   |Award Details
   |input type=tree
+
   |input type=SF_Select
   |structure={{#arraymap: {{#arrayprint:award|;}}|;|@|
+
   |function=ask:((Award Type::@@@@))((-Has subobject::Project:Awards));?Award Details;format~plainlist;limit~50;order~asc;headers~hide;mainlabel~-;searchlabel~;sep~,
* @ {{#arraydefine: category|{{#ask:[[-Has subobject::Project:Awards]][[Award Type::@]]|?Award Details|mainlabel=-|headers=hide|format=array|sep=;|manysep=;}}|;}}
+
  |sametemplate
{{#arraymap:{{#arrayprint:category|;}}|;|@|
+
  |field=Award Type
** @
+
   |rmdiv
    |\n}}
+
   |class=form-control
    |\n}}
 
   |hideroot
 
   |depth=0
 
 
  }}}
 
  }}}
 
|-
 
|-
|<p class="small">YEAR: </p>
+
|<p class="small">YEAR: {{infopop|Mandatory field. The list of values will update itself.|float-right}}</p>
 
|{{{field
 
|{{{field
 
   |Award Year
 
   |Award Year
 
   |input type=dropdown
 
   |input type=dropdown
   |values={{#arraydefine: years
+
   |values={{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}{{#arraydefine: years
 
     |{{#while:
 
     |{{#while:
 
       |{{#ifexpr: {{#var: year}} > 1993 | true }}
 
       |{{#ifexpr: {{#var: year}} > 1993 | true }}
Line 102: Line 113:
 
   |mandatory
 
   |mandatory
 
   |default={{CURRENTYEAR}}
 
   |default={{CURRENTYEAR}}
  }}}
+
  |class=form-control
|-
+
  }}}{{#arrayreset: years}}{{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}
|<p class="small">SEQUENCE NUMBER: </p>
 
|{{{field
 
  |Award Sequence Number
 
  |input type=year
 
}}}
 
 
|-
 
|-
 
|<p class="small">AWARD OUTCOME: </p>
 
|<p class="small">AWARD OUTCOME: </p>
Line 114: Line 120:
 
   |Award Outcome
 
   |Award Outcome
 
   |input type=checkboxes
 
   |input type=checkboxes
   |values=Is Nominated,Is Finalist,Is Winner
+
   |property=Award Outcome
   |show on select=Is Winner=>ranks;
+
   |show on select=Won=>ranks;
 +
  |list
 +
  |delimiter=,
 
  }}}
 
  }}}
 
|- id="ranks"
 
|- id="ranks"
Line 123: Line 131:
 
   |input type=dropdown
 
   |input type=dropdown
 
   |values=Gold,Silver,Bronze
 
   |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}}}
Line 135: 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 143: 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 150: 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
 
  }}}
 
  }}}
 
|-
 
|-
Line 157: Line 188:
 
   |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 166: 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 178: Line 212:
 
   |delimiter=\n
 
   |delimiter=\n
 
   |placeholder=One video link URL per line
 
   |placeholder=One video link URL per line
 +
  |class=form-control
 
  }}}
 
  }}}
 
|}
 
|}

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