Form: Media: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
No edit summary
(yep nope that broke it again)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{{info|page name=<LMW[Has name]>{{#if:<LMW[Has description]><LMW[Has start year]>|_(<LMW[Has description]>{{#if:<LMW[Has start year]>|,_<LMW[Has start year]>}}{{#if:<LMW[Has end year]>|-<LMW[Has end year]>}})}} }}}
{{{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 {{#info: This field is mandatory}}</p>
<p>Title <sup style="color:firebrick">mandatory</sup></p>
{{{field
{{{field
   |Has name
   |title
   |input type=text
   |input type=text
   |mandatory
   |mandatory
  |placeholder=eg. The Day the Clown Cried
}}}
}}}
<p>Description</p>
<p>Description</p>
{{{field
{{{field
   |Has description
   |description
   |input type=text
   |input type=text
  |placeholder=eg. unreleased Jerry Lewis film
}}}
}}}
<p>Year</p>
<p>Year</p>
{{{field
{{{field
   |Has start year
   |startyear
   |input type=Number
   |input type=number
   |size=4
   |size=4
}}}
}}}


{{{field
{{{field
   |Has timeframe
   |timeframe
   |input type=checkbox
   |input type=checkbox
   |default=No
   |default=No
Line 29: Line 31:
<p>End of life</p>
<p>End of life</p>
{{{field
{{{field
   |Has end year
   |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 {{#info: This field is mandatory}}</p>
<p>Status <sup style="color:firebrick">mandatory</sup> [[Property:Has status|<i class="fa fa-pencil"></i>]] </p>
{{{field
<p>{{{field
   |Status
   |status
   |input type=dropdown
   |input type=dropdown
   |property=Has status
   |property=Has status
  |default=Unknown
  |mandatory
  |show on select=Found=>found;
}}}</p>
<p>Status comment</p>
{{{field
  |comment
  |input type=text
  |placeholder=Some help may go here
}}}
}}}
<div id="found">
<p></p>
<p>Date found</p>
{{{field
  |datefound
  |input type=datepicker
}}}
<p>Found by</p>
{{{field
  |foundby
  |list
  |delimiter=;
  |placeholder=Enter names delimited by ";"
}}}</div>
</div>
</div>
<p>Category</p>
<p>Category <sup style="color:firebrick">mandatory</sup></p>
{{{field
{{{field
   |Category
   |category
   |input type=tree
   |input type=tree
   |top category=Lost media
   |top category=Lost media
   |list
   |list
  |delimiter=;
   |hideroot
   |hideroot
   |height=400
   |height=400
  |mandatory
}}}
}}}
<p>Article text</p>
<p>Article text</p>
{{{standard input|free text}}}
{{{standard input|free text}}}
<p>Tags</p>
{{{field
  |tags
  |input type=tokens
  |values from property=Has tag
  |list
  |delimiter=;
}}}
{{{end template}}}
{{{end template}}}



Latest revision as of 21:58, 26 April 2019