Form:Agency: Difference between revisions

From Hollywood in Pixels Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
{|
{|
|-
|-
|<p class="small" title="Mandatory field">YEAR OF CREATION: *</p>
|<p class="small" title="Mandatory field">YEAR OF CREATION: {{infopop|Mandatory field. The list will update itself.|float-right}}</p>
|{{{field
|{{{field
  |Year of Creation
  |Year of Creation
Line 19: Line 19:
  |default={{CURRENTYEAR}}
  |default={{CURRENTYEAR}}
  |mandatory
  |mandatory
|class=form-control
}}}
}}}
|-
|-
|<p class="small">WEBSITE: </p>
|<p class="small">WEBSITE: {{infopop|Must be a valid URL.|float-right}}</p>
|{{{field
|{{{field
  |Official Website
  |Official Website
Line 28: Line 29:
  |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
}}}
}}}
|-
|-
Line 35: Line 37:
  |input type=textarea
  |input type=textarea
  |editor=visualeditor
  |editor=visualeditor
|class=form-control
}}}
|-
|<p class="small">SORT KEY: {{infopop|If you want the agency to be sorted differently in the [[:Category:Agencies|list]] (eg. to make "The Flock" to be sorted under "F", enter "Flock, The" here.|float-right}}</p>
|{{{field
|Sort Key
|input type=text
|class=form-control
}}}
}}}
|-
|-
Line 50: Line 60:
{|
{|
|-
|-
|<p class="small" title="Mandatory field">CAPTION: *</p>
|<p class="small" title="Mandatory field">CAPTION: {{infopop|Mandatory field.|float-right}}</p>
|{{{field
|{{{field
  |Asset Title
  |Asset Title
  |input type=text
  |input type=text
  |mandatory
  |mandatory
|class=form-control
}}}  
}}}  
|-
|-
|<p class="small">TYPE: </p>
|<p class="small">TYPE: {{infopop|Mandatory field. The allowed values are stored [[Property:Asset_Category|here]].|float-right}}</p>
|{{{field
|{{{field
  |Asset Category
  |Asset Category
  |input type=dropdown
  |input type=dropdown
  |property=Asset Category
  |property=Asset Category
|class=form-control
|mandatory
}}}  
}}}  
|-
|-
|<p class="small">IMAGE: </p>
|<p class="small">IMAGE: {{infopop|If empty, the default image will be used.|float-right}}</p>
|{{{field
|{{{field
  |Has image
  |Has image
Line 70: Line 83:
  |uploadable
  |uploadable
  |placeholder=Enter the filename or click Upload
  |placeholder=Enter the filename or click Upload
|class=form-control
}}}
}}}
|-
|-
|<p class="small">LINK: </p>
|<p class="small">LINK: {{infopop|Must be a valid URL.|float-right}}</p>
|{{{field
|{{{field
  |Has URL
  |Has URL
Line 79: Line 93:
  |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">NOTES: </p>
|<p class="small">NOTES: {{infopop|This text will be shown as a footnote. Please, keep your notes simple.|float-right}}</p>
|{{{field
|{{{field
  |Has note
  |Has note
  |input type=textarea
  |input type=textarea
|class=form-control
|editor=visualeditor
}}}
}}}
|}
|}

Latest revision as of 18:09, September 18, 2021