Difference between revisions of "Form:Agency"
Jump to navigation
Jump to search
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{{info|page name=<Agency[Agency Name]>}}} | + | {{{info|page name=<Agency[Agency Name]>|create title=Create Agency Page|Edit title=Edit Agency Page}}} |
− | {{{for template|Agency}}} | + | {{{for template|Agency}}}<!-- -->{{#vardefine: year|{{CURRENTYEAR}} }}<!-- -->{{{field|Agency Name|hidden}}} |
− | {{#vardefine: year|{{CURRENTYEAR}} }} | ||
− | {{{field | ||
− | |||
− | |||
− | }}} | ||
== About == | == About == | ||
− | <p class="small" title="Mandatory field">YEAR OF CREATION: | + | {| |
− | {{{field | + | |- |
+ | |<p class="small" title="Mandatory field">YEAR OF CREATION: {{infopop|Mandatory field. The list will update itself.|float-right}}</p> | ||
+ | |{{{field | ||
|Year of Creation | |Year of Creation | ||
|input type=dropdown | |input type=dropdown | ||
Line 22: | Line 19: | ||
|default={{CURRENTYEAR}} | |default={{CURRENTYEAR}} | ||
|mandatory | |mandatory | ||
+ | |class=form-control | ||
}}} | }}} | ||
− | <p class="small">WEBSITE: </p> | + | |- |
− | {{{field | + | |<p class="small">WEBSITE: {{infopop|Must be a valid URL.|float-right}}</p> |
+ | |{{{field | ||
|Official Website | |Official Website | ||
|input type=regexp | |input type=regexp | ||
Line 30: | 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 | ||
}}} | }}} | ||
− | <p class="small">SPECIALIZATION: </p> | + | |- |
− | {{{field | + | |<p class="small">SPECIALIZATION: </p> |
+ | |{{{field | ||
|Agency Specialization | |Agency Specialization | ||
|input type=textarea | |input type=textarea | ||
+ | |editor=visualeditor | ||
+ | |class=form-control | ||
}}} | }}} | ||
− | <p class="small"> | + | |- |
− | + | |<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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | {{{field | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
}}} | }}} | ||
− | + | |- | |
− | + | | | |
− | == | + | | |
+ | == PORTFOLIIO == | ||
+ | <small>Up to 12 items.</small> | ||
{{{field | {{{field | ||
− | | | + | |Assets |
|holds template | |holds template | ||
}}} | }}} | ||
− | + | |} | |
{{{end template}}} | {{{end template}}} | ||
− | {{{for template|Asset|multiple|embed in field=Agency[ | + | {{{for template|Asset|multiple|embed in field=Agency[Assets]|add button text=Add Work Samples|maximum instances=12}}} |
− | {{{field | + | {| |
+ | |- | ||
+ | |<p class="small" title="Mandatory field">CAPTION: {{infopop|Mandatory field.|float-right}}</p> | ||
+ | |{{{field | ||
+ | |Asset Title | ||
+ | |input type=text | ||
+ | |mandatory | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | |- | ||
+ | |<p class="small">TYPE: {{infopop|Mandatory field. The allowed values are stored [[Property:Asset_Category|here]].|float-right}}</p> | ||
+ | |{{{field | ||
|Asset Category | |Asset Category | ||
− | | | + | |input type=dropdown |
− | |default= | + | |property=Asset Category |
+ | |class=form-control | ||
+ | |mandatory | ||
+ | }}} | ||
+ | |- | ||
+ | |<p class="small">IMAGE: {{infopop|If empty, the default image will be used.|float-right}}</p> | ||
+ | |{{{field | ||
+ | |Has image | ||
+ | |input type=text | ||
+ | |uploadable | ||
+ | |placeholder=Enter the filename or click Upload | ||
+ | |class=form-control | ||
}}} | }}} | ||
− | {{{field | + | |- |
+ | |<p class="small">LINK: {{infopop|Must be a valid URL.|float-right}}</p> | ||
+ | |{{{field | ||
|Has URL | |Has URL | ||
|input type=regexp | |input type=regexp | ||
+ | |base type=url | ||
|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: {{infopop|This text will be shown as a footnote. Please, keep your notes simple.|float-right}}</p> | |
− | + | |{{{field | |
− | + | |Has note | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <p class="small">NOTES: | ||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{{field | ||
− | |Has | ||
|input type=textarea | |input type=textarea | ||
+ | |class=form-control | ||
+ | |editor=visualeditor | ||
}}} | }}} | ||
+ | |} | ||
{{{end template}}} | {{{end template}}} | ||
__NOTOC__ | __NOTOC__ |
Latest revision as of 18:09, September 18, 2021