Form:Asset: Difference between revisions
Appearance
Created page with "<noinclude> Form for creating and editing Asset pages (v1). </noinclude> {{{info |no summary |no preview |no minor edit |no watch |no footer }}} ''Fields marked with (*) are required.'' {{{for template|Asset}}} {| class="formtable" ! Code | {{PAGENAME}} |- ! Label | {{{field|Label}}} |- ! Chapter (*) | {{{field|Chapter |input type=combobox |values from namespace=Chapter |existing values only }}} |- ! Place | {{{field|Place |input type=combobox..." |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Form for creating and editing Asset pages ( | Form for creating and editing Asset pages (v2) | ||
</noinclude> | </noinclude> | ||
{{{info | {{{info | ||
|no summary | |||
|no preview | |||
|no minor edit | |||
|no watch | |||
|no footer | |||
}}} | }}} | ||
{{{for template|Asset}}} | |||
{{{ | <!-- HIDDEN SYSTEM FIELDS (STORED, NOT EDITABLE) --> | ||
{{{field|Label|input type=hidden}}} | |||
{{{field|Sequence|input type=hidden}}} | |||
{{{field|OriginalFilename|input type=hidden}}} | |||
{| class="formtable" | {| class="formtable" | ||
! Chapter (*) | ! Chapter (*) | ||
| {{{field|Chapter | | {{{field|Chapter | ||
|input type=combobox | |||
|values from namespace=Chapter | |||
|existing values only | |||
}}} | }}} | ||
|- | |- | ||
| Line 35: | Line 30: | ||
! Place | ! Place | ||
| {{{field|Place | | {{{field|Place | ||
|input type=combobox | |||
|values from namespace=Place | |||
|existing values only | |||
}}} | }}} | ||
|- | |- | ||
| Line 44: | Line 38: | ||
! Organisation | ! Organisation | ||
| {{{field|Organisation | | {{{field|Organisation | ||
|input type=combobox | |||
|values from namespace=Organisation | |||
|existing values only | |||
}}} | }}} | ||
|- | |- | ||
! | ! Identifier | ||
| {{{field| | | <span id="asset-identifier-display">—</span> | ||
|- | |||
! Sequence (debug) | |||
| <span id="asset-sequence-display">—</span> | |||
|- | |||
! File (*) | |||
| {{{field|File | |||
|input type=upload | |||
|default namespace=File | |||
}}} | }}} | ||
|- | |- | ||
! | ! Original filename | ||
| | | <span id="asset-originalfilename-display">—</span> | ||
|- | |- | ||
! Asset type | ! Asset type | ||
| {{{field|AssetType | | {{{field|AssetType | ||
|input type=combobox | |||
|values from namespace=AssetType | |||
|existing values only | |||
}}} | }}} | ||
|- | |- | ||
! | ! Parent asset | ||
| {{{field| | | {{{field|Parent | ||
|input type=combobox | |||
|values from namespace=Asset | |||
|existing values only | |||
|placeholder=Top level | |||
}}} | }}} | ||
|- | |- | ||
| Line 92: | Line 86: | ||
! Notes | ! Notes | ||
| {{{field|Notes|input type=textarea}}} | | {{{field|Notes|input type=textarea}}} | ||
|} | |} | ||
| Line 122: | Line 92: | ||
{{{end template}}} | {{{end template}}} | ||
{{#tag:html| | |||
<script> | |||
mw.loader.load( | |||
mw.util.getUrl( | |||
'MediaWiki:Asset.js', | |||
{ action: 'raw', ctype: 'text/javascript' } | |||
) | |||
); | |||
</script> | |||
|}} | |||
Latest revision as of 16:26, 18 February 2026
Form for creating and editing Asset pages (v2)
no summary
Asset
Label Sequence OriginalFilename
| Chapter (*) | Chapter |
|---|---|
| Place | Place |
| Organisation | Organisation |
| Identifier | — |
| Sequence (debug) | — |
| File (*) | File |
| Original filename | — |
| Asset type | AssetType |
| Parent asset | Parent |
| Description | Description |
| Notes | Notes |
save
{{{end template}}}
<html> <script> mw.loader.load(
mw.util.getUrl(
'MediaWiki:Asset.js',
{ action: 'raw', ctype: 'text/javascript' }
)
); </script> </html>