Form: Media: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
No edit summary
(yep nope that broke it again)
 
(53 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{{info|page name=<LMW[]><LMW[]><LMW[]><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>Title <sup style="color:firebrick">mandatory</sup></p>
{{{field
{{{field
   |Category
   |title
   |hidden
   |input type=text
  |mandatory
  |placeholder=eg. The Day the Clown Cried
}}}
<p>Description</p>
{{{field
  |description
  |input type=text
  |placeholder=eg. unreleased Jerry Lewis film
}}}
<p>Year</p>
{{{field
  |startyear
  |input type=number
  |size=4
}}}
 
{{{field
  |timeframe
  |input type=checkbox
  |default=No
  |show on select=endoflife
}}} Timeframe
<div id="endoflife">
<p>End of life</p>
{{{field
  |endyear
  |input type=number
  |size=4
}}}
</div>
<p>Image</p>
{{{field
  |image
  |uploadable
}}}
}}}
<p>Lost media name</p>
<p>Image caption</p>
{{{field
{{{field
   |Media name
   |imagecaption
   |input type=text with autocomplete
}}}
   |values from category=Lost comics
<div class="alert alert-success">
<p>Status <sup style="color:firebrick">mandatory</sup> [[Property:Has status|<i class="fa fa-pencil"></i>]] </p>
<p>{{{field
  |status
  |input type=dropdown
  |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>
<p>Category <sup style="color:firebrick">mandatory</sup></p>
{{{field
  |category
  |input type=tree
  |top category=Lost media
  |list
  |delimiter=;
  |hideroot
  |height=400
   |mandatory
   |mandatory
}}}
}}}
<p>Article text</p>
{{{standard input|free text}}}
<p>Tags</p>
{{{field
  |tags
  |input type=tokens
  |values from property=Has tag
  |list
  |delimiter=;
}}}
{{{end template}}}


{{{end template}}}
{{{standard input|save}}} {{{standard input|preview}}}
 
{{{standard input|cancel}}}
</includeonly><noinclude>
</includeonly><noinclude>


{{#formlink: form=Media
{{#formlink: form=Media
   |link text=Lost comics
   |link text=Create Page for a Lost Media
  |LMW[Category]=Lost comics
}}
}}
</noinclude>
</noinclude>

Latest revision as of 21:58, 26 April 2019