Jump to content

Form:Asset: Difference between revisions

From Costa Sano MediaWiki
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 (v1).
Form for creating and editing Asset pages (v2)
</noinclude>
</noinclude>


{{{info
{{{info
|no summary
|no summary
|no preview
|no preview
|no minor edit
|no minor edit
|no watch
|no watch
|no footer
|no footer
}}}
}}}


''Fields marked with (*) are required.''
{{{for template|Asset}}}


{{{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"
! Code
| {{PAGENAME}}
|-
! Label
| {{{field|Label}}}
|-


! Chapter (*)
! Chapter (*)
| {{{field|Chapter
| {{{field|Chapter
  |input type=combobox
|input type=combobox
  |values from namespace=Chapter
|values from namespace=Chapter
  |existing values only
|existing values only
}}}
}}}
|-
|-
Line 35: Line 30:
! Place
! Place
| {{{field|Place
| {{{field|Place
  |input type=combobox
|input type=combobox
  |values from namespace=Place
|values from namespace=Place
  |existing values only
|existing values only
  |placeholder=Optional – leave empty if using Organisation
}}}
}}}
|-
|-
Line 44: Line 38:
! Organisation
! Organisation
| {{{field|Organisation
| {{{field|Organisation
  |input type=combobox
|input type=combobox
  |values from namespace=Organisation
|values from namespace=Organisation
  |existing values only
|existing values only
  |placeholder=Optional – leave empty if using Place
}}}
}}}
|-
|-


! Parent asset
! Identifier
| {{{field|Parent
| <span id="asset-identifier-display">—</span>
  |input type=combobox
|-
  |values from namespace=Asset
 
  |existing values only
! Sequence (debug)
  |placeholder=Top level (no parent)
| <span id="asset-sequence-display">—</span>
|-
 
! File (*)
| {{{field|File
|input type=upload
}}}
}}}
|-
|-


! Asset source type
! Original filename
| {{{field|AssetSourceType
| <span id="asset-originalfilename-display">—</span>
  |input type=combobox
  |values from namespace=AssetSourceType
  |existing values only
}}}
|-
|-


! Asset type
! Asset type
| {{{field|AssetType
| {{{field|AssetType
  |input type=combobox
|input type=combobox
  |values from namespace=AssetType
|values from namespace=AssetType
  |existing values only
|existing values only
}}}
}}}
|-
|-


! File (*)
! Parent asset
| ''Exactly one file must be uploaded for each Asset.''
| {{{field|Parent
  {{{field|File
|input type=combobox
  |input type=upload
|values from namespace=Asset
  |uploadable
|existing values only
|placeholder=Top level
}}}
}}}
|-
! Language
| {{{field|Language|input type=text|size=20}}}
|-
|-


Line 94: Line 85:
! Notes
! Notes
| {{{field|Notes|input type=textarea}}}
| {{{field|Notes|input type=textarea}}}
|-
! AI processed
| {{{field|AIProcessed|input type=checkbox}}}
|-
! Citation text
| {{{field|CitationText|input type=textarea}}}
|-
! Permalink
| {{{field|Permalink|input type=text|size=60}}}
|-
! Repository
| {{{field|Repository|input type=text|size=60}}}
|-
! Rights
| {{{field|Rights|input type=text|size=60}}}
|-
! Publishable
| {{{field|IsPublishable|input type=checkbox}}}


|}
|}
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}}}