Form:Image: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(create form per https://www.mediawiki.org/wiki/Extension:Page_Forms/Manual/Using_Semantic_Forms_for_file_pages_and_uploads)
 
m (fix pull from categories)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
This specific page shouldn't be used to upload an image. Instead use the following upload button on Park or Trail pages (or templates);
This specific page shouldn't be used to upload an image. Instead use the following upload button on Park or Trail pages (or templates);
<pre>
<pre>
{{#formlink:form=YourSemanticFormNameHere
{{#formlink:form=Image
  | link text=Click here to upload a file
  | link text=Click here to upload an Image
  | link type=button
  | link type=button
  | query string=Image[Trail or Park]={{PAGENAME}}
  | query string=Image[Trail or Park]={{PAGENAME}}
}}
}}
</pre>
</pre>
[[Category:Image Class Items]]
</noinclude><includeonly>
</noinclude><includeonly>
{{{info|page name=File:<Image[File name]>}}}
{{{info|page name=File:<Image[File name]>}}}
Line 17: Line 18:
|-
|-
! Trail:
! Trail:
| {{{field|Trail|input type=combobox|property=Trail|values from category=Trail|placeholder=image of which trail?}}}
| {{{field|Trail|input type=token|property=Trail|values from category=Trails|placeholder=image of which trail(s)?}}}
|-
|-
! Park:
! Park:
| {{{field|Park|input type=combobox|property=Park|values from category=Park|placeholder=image of which park?}}}
| {{{field|Park|input type=combobox|property=Park|values from category=Parks|placeholder=image of which park?}}}
|-
! Caption:
| {{{field|Caption|input type=text|property=Has Caption|placeholder=Short caption for image galleries}}}
|}
|}
{{{end template}}}
{{{end template}}}

Latest revision as of 07:23, 28 August 2020

This is the "Image" form. This specific page shouldn't be used to upload an image. Instead use the following upload button on Park or Trail pages (or templates);

{{#formlink:form=Image
 | link text=Click here to upload an Image
 | link type=button
 | query string=Image[Trail or Park]={{PAGENAME}}
}}