Difference between revisions of "Form:Film"

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{{info|page name=<Film[Title]> {{#if:<Film[Original Release Year]>|(<Film[Original Release Year]>)}} }}}
+
{{{info|page name=<Film[Title]> {{#if:<Film[Original Release Year]>|(<Film[Original Release Year]>)}}|create title=Create Film Page|Edit title=Edit Film Page}}}
 
{{{for template|Film}}}
 
{{{for template|Film}}}
 
{{#vardefine: year|{{#expr: {{CURRENTYEAR}} + 2}}}}
 
{{#vardefine: year|{{#expr: {{CURRENTYEAR}} + 2}}}}
<p class="small" title="Mandatory field">TYPE: *</p>
+
{|
{{{field
+
|-
 +
|<p class="small" title="Mandatory field">TYPE: {{infopop|Mandatory field. The list of allowed values is stored [[Property:Type of Work|here]].|float-right}}</p>
 +
|{{{field
 
  |Type of Work
 
  |Type of Work
 
  |property=Type of Work
 
  |property=Type of Work
 
  |default=Film
 
  |default=Film
 
  |mandatory
 
  |mandatory
}}}
+
|class=form-control
<p class="small" title="Mandatory field">TITLE: *</p>
+
}}}  
{{{field
+
|-
 +
|<p class="small" title="Mandatory field">TITLE: {{infopop|Mandatory field.|float-right}}</p>
 +
|{{{field
 
  |Title
 
  |Title
 
  |mandatory
 
  |mandatory
}}}
+
|class=form-control
<p class="small" title="Mandatory field">YEAR: *</p>
+
}}}  
{{{field
+
|-
 +
|<p class="small" title="Mandatory field">YEAR: {{infopop|Mandatory. The original release year. The list of available values will update itself.|float-right}}</p>
 +
|{{{field
 
  |Original Release Year
 
  |Original Release Year
 
  |input type=dropdown
 
  |input type=dropdown
Line 29: Line 35:
 
  |default={{CURRENTYEAR}}
 
  |default={{CURRENTYEAR}}
 
  |mandatory
 
  |mandatory
 +
|class=form-control
 
}}}
 
}}}
<p class="small" title="Mandatory field">STUDIO: *</p>
+
|-
{{{field
+
|<p class="small" title="Mandatory field">STUDIO: {{infopop|Mandatory field. Multiple values are allowed. Please keep to canonical names, avoid unnecessary abbreviations.|float-right}}</p>
 +
|{{{field
 
  |Studio
 
  |Studio
 
  |input type=tokens
 
  |input type=tokens
Line 38: Line 46:
 
  |delimiter=;
 
  |delimiter=;
 
  |mandatory
 
  |mandatory
 +
|class=form-control
 
}}}
 
}}}
<p class="small" title="Mandatory field">STUDIO TEAM:</p>
+
|-
 +
|
 +
|
 +
== STUDIO TEAM ==
 
{{{field
 
{{{field
 
  |Team
 
  |Team
 
  |holds template
 
  |holds template
 
}}}
 
}}}
 +
|}
 
{{{end template}}}
 
{{{end template}}}
 
{{{for template|Team member|multiple|embed in field=Film[Team]|add button text=Add a Member}}}
 
{{{for template|Team member|multiple|embed in field=Film[Team]|add button text=Add a Member}}}
<p class="small">ROLE:</p>
+
{|
{{{field
+
|-
 +
|<p class="small">ROLE: {{infopop|Start typing and choose from the list of the available values. Continue typing if no suggestions were made: pressing Enter will add the new value to the list.|float-right}}</p>
 +
|{{{field
 
   |Studio Team Role
 
   |Studio Team Role
 
   |input type=combobox
 
   |input type=combobox
 
   |values from property=Studio Team Role
 
   |values from property=Studio Team Role
 
   |placeholder=Select or Type in
 
   |placeholder=Select or Type in
 +
  |class=form-control
 
  }}}
 
  }}}
<p class="small">PERSON:</p>
+
|-
{{{field
+
|<p class="small">PERSON: {{infopop|Multiple values are allowed.|float-right}}</p>
   |Person
+
|{{{field
   |input type=combobox
+
   |Persons
 +
   |input type=tokens
 
   |values from property=Person
 
   |values from property=Person
 
   |placeholder=Select or Type in
 
   |placeholder=Select or Type in
 +
  |list
 +
  |delimiter=;
 +
  |class=form-control
 
  }}}
 
  }}}
<p class="small">NOTES: </p>
+
|-
{{{field
+
|<p class="small">NOTES: {{infopop|This text will be shown as a footnote. Please, keep your notes simple.|float-right}}</p>
  |Has notes
+
|{{{field
 +
  |Has note
 
  |input type=textarea
 
  |input type=textarea
 
  |rows=1
 
  |rows=1
 
  |autogrow
 
  |autogrow
 +
|class=form-control
 +
|editor=visualeditor
 
}}}
 
}}}
 +
|}
 
{{{end template}}}
 
{{{end template}}}
 +
__NOTOC__
 +
__NOEDITSECTION__
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{#formlink: form=Film
 
{{#formlink: form=Film
   |link text=Add a Film
+
   |link text=<span class="mw-ui-button">Add a Film</span>
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:43, September 16, 2021