Jump to content

Form:Asset: Difference between revisions

From Costa Sano MediaWiki
No edit summary
mNo edit summary
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}}}


{| 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 25:
! 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
|placeholder=Use Organisation instead
}}}
}}}
|-
|-
Line 44: Line 34:
! 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
|placeholder=Use Place instead
}}}
}}}
|-
|-


! Parent asset
! Identifier
| {{{field|Parent
| {{{field|Label|readonly}}}
  |input type=combobox
|-
  |values from namespace=Asset
 
  |existing values only
! Sequence
  |placeholder=Top level (no parent)
| {{{field|Sequence|readonly}}}
}}}
|-
 
! File (*)
| {{{field|File|input type=upload}}}
|-
|-


! Asset source type
! Original filename
| {{{field|AssetSourceType
| {{{field|OriginalFilename|readonly}}}
  |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 80:
! 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 86:


{{{end template}}}
{{{end template}}}
{{#tag:html|
<script>
mw.loader.load(
    mw.util.getUrl(
        'MediaWiki:Asset.js',
        { action: 'raw', ctype: 'text/javascript' }
    )
);
</script>
|}}

Revision as of 15:10, 18 February 2026

Form for creating and editing Asset pages (v2)


no summary


Asset

Chapter (*) Chapter
Place Place
Organisation Organisation
Identifier Label
Sequence Sequence
File (*) File
Original filename OriginalFilename
Asset type AssetType
Parent asset Parent
Description Description
Notes Notes

save

{{{end template}}}