Form: Announce: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
(Created page with "<includeonly> {{{for template|Announce}}} {{{field |Subject |input type=text with autocomplete |values from property=Subject }}} {{{field |Title |input type=text with autoco...")
 
No edit summary
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{{info|page name=<Announce[Namespace]>:<Announce[Subject]> {{#time:Ymd|now}}<unique number;start=001>}}}
{{{for template|Announce}}}
{{{for template|Announce}}}
 
<div class="alert alert-warning text-center small">
'''Note''': Reports on found NSFW/NSFL media will not be approved and is better discussed in the relevant [https://discord.gg/Wpz3Vks Discord channel].
</div>
{{{field|Namespace|hidden}}}
<div>'''Subject'''</div>
{{{field
{{{field
|Subject
|Subject
|input type=text with autocomplete
|input type=tokens
|values from property=Subject
|values from property=Subject
|placeholder=The title of the found media
|class=form-control
}}}
}}}
 
<div>'''Article'''</div>
{{{field
{{{field
|Title
|Article
|input type=text with autocomplete
|input type=dropdown
|values from namespace=
|values=Article exists,Article does not exist
}}}
|show on select=Article does not exist=>image-upload;Article exists=>select-article;
 
|mandatory
{{{field
|default=Article exists
|No article
|class=form-control
|input type=checkbox
}}}
|show on select=Yes=>image-upload;
}}} No article yet
 
<div id="image-upload">
<div id="image-upload">
<div>'''Image'''</div>
{{{field
{{{field
|Image
|Image
|input type=text
|input type=text
|uploadable
|uploadable
|placeholder=Upload a new image here or input the name of the existing image
|class=form-control
}}}
}}}
</div>
</div>
 
<div id="select-article">
{{{field
|Title
|input type=tokens
|max values=1
|values from namespace=Main
|placeholder=Start typing to auto search article titles
|class=form-control
}}}
</div>
<div>'''Status'''</div>
{{{field
{{{field
|Status
|Status
Line 34: Line 51:
|mandatory
|mandatory
|default=Partially found
|default=Partially found
|class=form-control
}}}
}}}
 
<div>'''Found by'''</div>
{{{field
{{{field
|Found by user
|Found by user
|input type=tokens
|input type=tokens
|values from namespace=User
|values from namespace=User
|placeholder=The name/s of whoever found the media (start typing to auto search LMW users where applicable)
|list
|delimiter=,
|class=form-control
}}}
}}}
 
<div>'''Available at'''</div>
{{{field
{{{field
|Found by URL
|Found by URL
|input type=text
|input type=text
|placeholder=Link to the found media
|class=form-control
}}}
}}}
 
<div>'''On'''</div>
{{{field
{{{field
|Date found
|Date found
|input type=datepicker
|input type=datepicker
|default=now
|class=form-conrtrol
}}}
{{{field
|Submitted by
|default=current user
|hidden
}}}
{{{field
|Report
|hidden
}}}
}}}
{{{end template}}}
{{{end template}}}


{{{standard input|save|label=Announce}}} {{{standard input|cancel}}}
{{{standard input|save|label=Announce}}} {{{standard input|cancel}}}
</includeonly>
</includeonly><noinclude>
 
</noinclude>

Latest revision as of 16:21, 27 March 2023