Form:Asset: Difference between revisions
Appearance
No edit summary |
No 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 | |||
}}} | }}} | ||
|- | |- | ||
! | ! 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|Parent | ||
|input type=combobox | |||
|values from namespace=Asset | |||
|existing values only | |||
|placeholder=Top level | |||
}}} | }}} | ||
|- | |- | ||
| Line 94: | Line 85: | ||
! Notes | ! Notes | ||
| {{{field|Notes|input type=textarea}}} | | {{{field|Notes|input type=textarea}}} | ||
|} | |} | ||
| Line 124: | Line 91: | ||
{{{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 18:07, 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}}}