Form: Media: Difference between revisions
From The Lost Media Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{info|page name=<LMW[ | {{{info|page name=<LMW[title]>{{#if:<LMW[description]><LMW[startyear]>|_(<LMW[description]>{{#if:<LMW[startyear]>|,_<LMW[startyear]>}}{{#if:<LMW[endyear]>|-<LMW[endyear]>}})}} }}} | ||
{{{for template|LMW}}} | {{{for template|LMW}}} | ||
<p>Name <sup style="color:firebrick">mandatory</sup></p> | <p>Name <sup style="color:firebrick">mandatory</sup></p> | ||
{{{field | {{{field | ||
| | |title | ||
|input type=text | |input type=text | ||
|mandatory | |mandatory | ||
Line 11: | Line 11: | ||
<p>Description</p> | <p>Description</p> | ||
{{{field | {{{field | ||
| | |description | ||
|input type=text | |input type=text | ||
|placeholder=Some help may go here | |placeholder=Some help may go here | ||
Line 17: | Line 17: | ||
<p>Year</p> | <p>Year</p> | ||
{{{field | {{{field | ||
| | |startyear | ||
|input type=number | |input type=number | ||
|size=4 | |size=4 | ||
Line 23: | Line 23: | ||
{{{field | {{{field | ||
| | |timeframe | ||
|input type=checkbox | |input type=checkbox | ||
|default=No | |default=No | ||
Line 31: | Line 31: | ||
<p>End of life</p> | <p>End of life</p> | ||
{{{field | {{{field | ||
| | |endyear | ||
|input type=number | |input type=number | ||
|size=4 | |size=4 | ||
}}} | }}} | ||
</div> | </div> | ||
<p>Image</p> | |||
{{{field | |||
|image | |||
|uploadable | |||
}}} | |||
<p>Image caption</p> | |||
{{{field | |||
|imagecaption | |||
}}} | |||
<div class="alert alert-success"> | <div class="alert alert-success"> | ||
<p>Status <sup style="color:firebrick">mandatory</sup> [[Property:Has status|<i class="fa fa-pencil"></i>]] </p> | <p>Status <sup style="color:firebrick">mandatory</sup> [[Property:Has status|<i class="fa fa-pencil"></i>]] </p> | ||
{{{field | {{{field | ||
| | |status | ||
|input type=dropdown | |input type=dropdown | ||
|property=Has status | |property=Has status | ||
Line 47: | Line 56: | ||
}}} | }}} | ||
<div id="found"> | <div id="found"> | ||
<p>Date found</p> | |||
{{{field | {{{field | ||
|Found | |datefound | ||
| | |input type=datepicker | ||
}}} | }}} | ||
</div> | <p>Found by</p> | ||
{{{field | |||
|foundby | |||
|list | |||
|delimiter=; | |||
|placeholder=Enter names delimited by ";" | |||
}}}</div> | |||
</div> | </div> | ||
<p>Category <sup style="color:firebrick">mandatory</sup></p> | <p>Category <sup style="color:firebrick">mandatory</sup></p> | ||
{{{field | {{{field | ||
| | |category | ||
|input type=tree | |input type=tree | ||
|top category=Lost media | |top category=Lost media | ||
Line 65: | Line 81: | ||
<p>Article text</p> | <p>Article text</p> | ||
{{{standard input|free text}}} | {{{standard input|free text}}} | ||
{{{end template}}} | {{{end template}}} | ||
{{{standard input|save}}} {{{standard input|preview}}} | {{{standard input|save}}} {{{standard input|preview}}} |