Form:Web Link: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(36 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOINDEX__ | |||
<noinclude> | <noinclude> | ||
This is the "Web Link" entry form. | This is the "Web Link" entry form. | ||
Line 27: | Line 28: | ||
The Web Link Name is preset at the form start. Admin edit only. | The Web Link Name is preset at the form start. Admin edit only. | ||
If this a new | If this a new link and you need to change the name, press your browser's back button to return to the start of the form. If this is an existing link and you need to change the name, create a new entry with the correct name and then delete the improperly named page. | ||
If this is an existing link and you need to change the name, create a new | |||
</div> | </div> | ||
<div class=" | <div class="irlformrow2"> | ||
<span class="irlformrowlabel">*Link URL</span> | <span class="irlformrowlabel">*Link URL</span> | ||
Line 38: | Line 37: | ||
Enter the link's full URL (https://...) | Enter the link's full URL (https://...) | ||
</div> | </div> | ||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">*Description</span> | |||
{{{field|Description|input=textarea|rows=5|maxlength=640|placeholder=Enter a brief description of the web link.|mandatory}}} | |||
</div> | |||
<div class="irlformrow2"> | <div class="irlformrow2"> | ||
<span class="irlformrowlabel"> | <span class="irlformrowlabel">Text Body</span> | ||
Optional: Enter a full text body for the link's page. | |||
{{{field| | {{{field|Text_Body|input type=textarea|rows=14|editor=visualeditor|class=toolbarOnTop|placeholder=Enter additional page content here.}}} | ||
</div> | </div> | ||
<div class="irlformrow1"> | <div class="irlformrow1"> | ||
<span class="irlformrowlabel"> | <span class="irlformrowlabel">Region: </span>{{{field|Region|input type=dropdown|values={{Form Values Region}}}}} | ||
{{{field| | <p>Select a region if applicable.</p> | ||
</div> | </div> | ||
<div class="irlformrow2"> | <div class="irlformrow2"> | ||
<span class="irlformrowlabel">Logo Image</span> | <span class="irlformrowlabel">Logo Image</span> | ||
{{{field|Site Logo|input type=text|uploadable|image preview|default filename= | {{{field|Site Logo|input type=text with autocomplete|values from namespace=File|size=36|maxlength=300|uploadable|image preview|default filename=Link_logo_{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}.jpg|placeholder= Enter file name or upload image.}}} | ||
If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images]) | If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images]) | ||
If the image is not on this server, upload a | If the image is not on this server, upload a .jpg image from your device. | ||
</div> | </div> | ||
<div class="irlformrow1"> | <div class="irlformrow1"> | ||
<span class="irlformrowlabel">Screenshot Image</span> | <span class="irlformrowlabel">Screenshot Image</span> | ||
{{{field|Screenshot|input type=text|uploadable|image preview|default filename= | {{{field|Screenshot|input type=text with autocomplete|values from namespace=File|size=36|maxlength=300|uploadable|image preview|default filename=Link_screenshot_{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}.jpg|placeholder=Enter file name or upload image}}} | ||
If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images]) | If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images]) | ||
If the image is not on this server, upload a | If the image is not on this server, upload a .jpg image from your device. | ||
</div> | </div> | ||
<div class="irlformrow2"> | <div class="irlformrow2"> | ||
<span class="irlformrowlabel">*Link Type</span> | |||
Select an object type for this entry. | |||
{{{field|Type|input type=tree|width=320px|height=400px|top category=Resource_Directory_Type|hideroot|depth=2|mandatory}}} | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">*Topic</span> | <span class="irlformrowlabel">*Topic</span> | ||
{{{field|Topic|input type= | Select a main topic. | ||
{{{field|Topic|input type=tree|width=320px|height=400px|top category=Form Values Topic|hideroot|depth=2|mandatory}}} | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">Sub Topics</span> | |||
Optional: Select a subtopic. | |||
{{{field|Subtopic|input type=tree|width=320px|height=400px|top category=Form Values Topic|hideroot|depth=2}}} | |||
</div> | </div> | ||
<div class="irlformrow1"> | <div class="irlformrow1"> | ||
<span class="irlformrowlabel"> | <span class="irlformrowlabel">Location</span> | ||
<p>Optional: Show a map if the web link is a place or location.</p> | |||
{{{field| | Show a Map: {{{field|ShowMap|input type=radiobutton|values=Show Map|show on select=Show Map=>showmap}}} | ||
<div id="showmap"> | |||
To set the coordinates: Zoom in and click on the location. The Address Location method isn't working. | |||
{{{field|Coordinates|input type=googlemaps|starting bounds=26.70,-82.63;29.36,-78.55}}} | |||
</div> | |||
</div> | </div> | ||
<div class="irlformrow2"> | <div class="irlformrow2"> | ||
<span class="irlformrowlabel">Admin Only Fields</span> | <span class="irlformrowlabel">Admin Only Fields</span> | ||
Line 87: | Line 114: | ||
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|input type=text|size=15|default=current user|restricted}}} | <span class="irlformrowlabel">Poster: </span>{{{field|Poster|input type=text|size=15|default=current user|restricted}}} | ||
<span class="irlformrowlabel">Posted: </span>{{{field| | <span class="irlformrowlabel">Posted: </span>{{{field|Posted|input type=text|size=15|default={{LOCALTIMESTAMP}}|restricted}}} | ||
<span class="irlformrowlabel">Extra Field</span> | |||
{{{field|Extra|input type=textarea|rows=5|autogrow|placeholder=Admin Only.|restricted}}} | |||
<span class="irlformrowlabel">Admin Field</span> | |||
{{{standard input|free text|rows=5|autogrow|placeholder=Admin Only|restricted}}} | |||
</div> | </div> | ||
</div></div> | </div></div> | ||
{{{end template}}} | {{{end template}}} | ||
{{{standard input|minor edit}}} {{{standard input|watch}}} | {{{standard input|minor edit}}} {{{standard input|watch}}} |
Latest revision as of 08:24, January 5, 2022
This is the "Web Link" entry form.
Enter the name of your web link and press enter. If an edit form opens, then the Link Name you entered is already in the directory. You can edit the existing link or press your browser's back button and enter a new Web Link Name.