Template:Waterbody: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 27: Line 27:
{{#cargo_declare:_table=Waterbody|Name=String|WBID=String|Type=String|Water=String|County=String|Coordinates=Coordinates|Description=Wikitext|Image=File|Article=Page|Link1=URL|Link2=URL|Link3=URL|Poster=String|Posted=String}}
{{#cargo_declare:_table=Waterbody|Name=String|WBID=String|Type=String|Water=String|County=String|Coordinates=Coordinates|Description=Wikitext|Image=File|Article=Page|Link1=URL|Link2=URL|Link3=URL|Poster=String|Posted=String}}
</noinclude><includeonly>{{#cargo_store:_table=Waterbody|Name={{{Name|}}}|WBID={{{WBID|}}}|Type={{{Type|}}}|Water={{{Water|}}}|County={{{County|}}}|Coordinates={{#replace:{{{Coordinates|}}}|<nowiki> </nowiki>}}|Description={{{Description|}}}|Image={{{Image|}}}|Article={{{Article|}}}|Link1={{{Link1|}}}|Link2={{{Link2|}}}|Link3={{{Link3|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}</includeonly>
</noinclude><includeonly>{{#cargo_store:_table=Waterbody|Name={{{Name|}}}|WBID={{{WBID|}}}|Type={{{Type|}}}|Water={{{Water|}}}|County={{{County|}}}|Coordinates={{#replace:{{{Coordinates|}}}|<nowiki> </nowiki>}}|Description={{{Description|}}}|Image={{{Image|}}}|Article={{{Article|}}}|Link1={{{Link1|}}}|Link2={{{Link2|}}}|Link3={{{Link3|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}</includeonly>
<includeonly>{{#ifeq:{{NAMESPACE}}| Info | __NOINDEX__<div class="irlbody irlbow">{{IRL header|cat={{{Water|}}} Water Body|toc=no}} }}
<includeonly>{{#ifeq:{{NAMESPACE}}| Info | __NOINDEX__<div class="irlbody irlbow">{{IRL header|cat=Water Body|toc=no}} }}
{| class="wikitable"
{| class="wikitable"
! colspan="2" | {{#if:{{{Article|}}}|<span class="irltabletitle">[[{{{Article|}}}|{{{Name|}}}]]|{{{Name|}}}</span> }}
! colspan="2" | {{#if:{{{Article|}}}|<span class="irltabletitle">[[{{{Article|}}}|{{{Name|}}}]]|{{{Name|}}}</span> }}

Revision as of 11:05, June 17, 2021

This is the "Waterbody" template.

Use Waterbody Form to add/edit a waterbody entry.

It should be called in the following format:

{{Waterbody
|Name=
|WBID=
|Type=
|Water=
|County=
|Coordinates=
|Description=
|Image=
|Article=
|Link1=
|Link2=
|Link3=
|Poster=
|Posted=
}}


This template defines the table "Waterbody". View table.


Template documentation[view] [edit] [history] [purge]

Waterbody Info Box Template

Waterbody Template uses the Waterbody Form to collect info needed for a Waterbody Info Box. The data is stored in Cargo Table: Waterbody.

Template parameters

ParameterDescriptionTypeStatus
Water Body NameName

Water Body Name

Stringrequired
TypeType

Select a water body type.

Stringrequired
BasinWater

Select the main basin this water body connects to.

Stringrequired
CountyCounty

Select a county

Stringrequired
CoordinatesCoordinates

Enter the water body's GIS coordinates.

Stringrequired
DescriptionDescription

A brief one or two paragraph description of the water body.

Contentrequired
ImageImage

Enter a .jpg image filename or upload an image.

Filesuggested
Related ArticleArticle

A related article title from this site.

Page nameoptional
Web Link 1Link1

Full URL pointing to a related web site.

URLoptional
Web Link 2Link2

Full URL pointing to a related web site.

Unknownoptional
Web Link 3Link3

Full URL pointing to a related web site.

URLoptional
PosterPoster

Poster's username. Auto-filled

Auto value
current_user
Useroptional
Post DatePosted

Date the entry was created. Auto-filled

Auto value
{{LOCALTIMESTAMP}}
Stringoptional