Template:Waterbody: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 8: Line 8:
{{Waterbody
{{Waterbody
|Name=
|Name=
|County=
|Type=
|Type=
|Water=
|Water=
|County=
|Coordinates=
|Coordinates=
|Description=
|Description=
Line 24: Line 24:
</noinclude>
</noinclude>
<noinclude>
<noinclude>
{{#cargo_declare:_table=bridge|Name=String|Road=String|Water=String|City=String|County=String|Type=String|Builder=String|Length=Integer|Height=Integer|Built=Date|FDOT=String|Coordinates=Coordinates|Description=Wikitext|Article=Page|Image=File|Link1=URL|Link2=URL|Link3=URL|Poster=String|Posted=String}}
{{#cargo_declare:_table=bridge|Name=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=bridge|Name={{{Name|}}}|Road={{{Road|}}}|Water={{{Water|}}}|City={{{City|}}}|County={{{County|}}}|Type={{{Type|}}}|Builder={{{Builder|}}}|Length={{{Length|}}}|Height={{{Height|}}}|Built={{{Built|}}}|FDOT={{{FDOT|}}}|Coordinates={{{Coordinates|}}}|Description={{{Description|}}}|Article={{{Article|}}}|Image={{{Image|}}}|Link1={{{Link1|}}}|Link2={{{Link2|}}}|Link3={{{Link3|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}</includeonly>
</noinclude><includeonly>{{#cargo_store:_table=bridge|Name={{{Name|}}}|Type={{{Type|}}}|Water={{{Water|}}}|County={{{County|}}}|Coordinates={{{Coordinates|}}}|Description={{{Description|}}}|Image={{{Image|}}}|Article={{{Article|}}}|Link1={{{Link1|}}}|Link2={{{Link2|}}}|Link3={{{Link3|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}</includeonly>
<includeonly>
<includeonly>
<div class="irlbody">
<div class="irlbody">
Line 35: Line 35:
| colspan="5" | {{#if:{{{Image|}}}|[[File:{{{Image|}}}|310px|frameless|center|{{{Name|}}}|link={{{Article|}}} ]] }}
| colspan="5" | {{#if:{{{Image|}}}|[[File:{{{Image|}}}|310px|frameless|center|{{{Name|}}}|link={{{Article|}}} ]] }}
|-
|-
| colspan="4" | Waterway: {{{Water|}}}
| colspan="2" | Type: {{{Type|}}}
| style="text-align: right;" | Road: {{{Road|}}}
| colspan="3" style="text-align: right;" | {{#if:{{{Water|}}}|Main Basin: {{{Water|}}} }}
|-
| colspan="3" | City: {{{City|}}}
| colspan="2" style="text-align: right;" | County: {{{County|}}}
|-
| colspan="3" | Type: {{{Type|}}}
| colspan="2" style="text-align: right;" | {{#if:{{{Builder|}}}|Builder:{{{Builder|}}} }}
|-
| colspan="2" | {{#if:{{{FDOT|}}}|DOT: {{{FDOT|}}} }}
| {{#if:{{{Length|}}}|L: {{{Length|}}}' }}
| {{#if:{{{Height|}}}|H: {{{Height|}}}' }}
| style="text-align: right;" | {{#if:{{{Built|}}}|Built: {{{Built|}}} }}
|-
|-
| colspan="5" |{{#if:{{{Coordinates|}}}|<div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Map" data-collapsetext="Hide Map">Location: {{{Coordinates|}}}  
| colspan="5" |{{#if:{{{Coordinates|}}}|<div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Map" data-collapsetext="Hide Map">County: {{{County|}}}<br/>Location: {{{Coordinates|}}}  
<div class="mw-collapsible-content">Tap for an active map.
<div class="mw-collapsible-content">Tap for an active map.



Revision as of 10:13, April 21, 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=
|Type=
|Water=
|County=
|Coordinates=
|Description=
|Image=
|Article=
|Link1=
|Link2=
|Link3=
|Poster=
|Posted=
}}


This template defines the table "bridge". 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