Permanently protected template

Template:Bridge: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 34: Line 34:
</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|}}}|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>
<includeonly>
<includeonly>
<div class="irlbody">
{{#ifeq:{{NAMESPACE}}| Info | <div class="irlbody irlbow">{{IRL header|cat=Bridges|toc=no}} }}
{{#ifeq:{{NAMESPACE}}| Info | {{IRL header|cat=Bridges|toc=no}} }}
<div class="irlcontenttop">
<div class="irlcontenttop">
{| class="wikitable"
{| class="wikitable"
! colspan="5" | {{#if:{{{Article|}}}|[[{{{Article|}}}|{{{Name|}}}]]|{{{Name|}}} }}
! colspan="5" | {{#if:{{{Article|}}} | <span class="irltabletitle"><h3>[[{{{Article|}}}|{{{Name|}}}]]</h3></span> | <span class="irltabletitle"><h3>{{{Name|}}}</h3></span> }}
{{#if:{{{Image|}}} | {{!}}-
{{!}} colspan="5" {{!}} [[File:{{{Image}}}|640px|frameless|left|{{{Name}}}|link={{{Article|}}} ]]
}}
|-
|-
| colspan="5" | {{#if:{{{Image|}}}|[[File:{{{Image|}}}|640px|thumb|center|{{{Name|}}}|link={{{Article|}}} ]] }}
| colspan="5" |{{{Description|}}} {{#if:{{{Article|}}}|[[{{{Article|}}}|Article]]| }}
|-
|-
| colspan="4" | Waterway: {{{Water|}}}
| colspan="4" | Waterway: {{{Water|}}}
Line 56: Line 58:
| style="text-align: right;" | {{#if:{{{Built|}}}|Built: {{{Built|}}} }}
| 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|}}}|{{#if:{{{Image|}}}| <div class="toccolours mw-collapsible" data-expandtext="Show Map" data-collapsetext="Hide Map"> | <div class="toccolours mw-collapsible" data-expandtext="Show Map" data-collapsetext="Hide Map"> }} Location: {{{Coordinates|}}}
<div class="mw-collapsible-content">Tap for an active map.
<div class="mw-collapsible-content">
 
{{Map Embed|coord={{{Coordinates|}}}|zoom=12|width=640}}
{{Map Embed|coord={{{Coordinates|}}}|zoom=13}}
</div></div> }}
</div></div> }}
|-
|}
| colspan="5" |{{{Description|}}} {{#if:{{{Article|}}}|[[{{{Article|}}}|Article]]| }}
</div> <!-- END IRL TOP -->
|-
{{#ifeq:{{NAMESPACE}} | Info | {{#if:{{{Link1|}}} | <div class="irlcontentmiddle noprint">
| colspan="5" | {{#if:{{{Link1|}}}|[{{{Link1|}}}] }} {{#if:{{{Link2|}}}|<br/>[{{{Link2|}}}] }} {{#if:{{{Link3|}}}|<br/>[{{{Link3|}}}] }}
==Web Links==
|}</div></div>
[{{{Link1|}}}] {{#if:{{{Link2|}}}|<br/>[{{{Link2|}}}] }} {{#if:{{{Link3|}}}|<br/>[{{{Link3|}}}] }}</div> | }}
{{#ifeq:{{NAMESPACE}}|Info|[[Category:{{{Water|}}} Bridges]][[Category:{{{County|}}} County Locale]]{{#default_form:Bridge}} }}
[[Category:{{{Water|}}} Bridges]][[Category:{{{County|}}} County Bridges]]{{#default_form:Bridge}}  
</div> <!-- END IRL BODY -->
| }}
</includeonly>
</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 11:38, December 26, 2021

This is the "Bridge" template.

Use Bridge Form to add/edit a bridge entry.

It should be called in the following format:

{{Bridge
|Name=
|Road=
|Water=
|City=
|County=
|Type=
|Builder=
|Length=
|Height=
|Built=
|FDOT=
|Coordinates=
|Description=
|Article=
|Image=
|Link1=
|Link2=
|Link3=
|Poster=
|Posted=
}}


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


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

Bridge Info Box Template

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

Template parameters

ParameterDescriptionTypeStatus
Bridge NameName

Official Name of the Bridge

Stringrequired
Road NumberRoad

The official roadway designation (SR528).

Stringrequired
WaterwayWater

The name of the waterway the bridge spans.

Stringrequired
CityCity

The city or locale the bridge is in.

Unknownrequired
CountyCounty

The name of the county the bridge is in.

Stringrequired
Bridge TypeType

The bridge type (ie: drawbridge, swingspan, concrete girder, etc.)

Stringoptional
BuilderBuilder

Name of the builder that constructed the bridge.

Stringoptional
LengthLength

Length of the bridge in feet./

Numberoptional
HeightHeight

Height of the bridge in feet.

Numberoptional
YearBuilt

Year the bridge was built.

Numberoptional
FDOT NumberFDOT

The Bridge's Florida Department of Transportation designation

Stringoptional
CoordinatesCoordinates

Enter the GIS Coordinates for the bridge location.

Stringoptional
DescriptionDescription

A brief one or two paragraph description of the bridge.

Contentrequired
Related ArticleArticle

A related article title from this site.

Page nameoptional
ImageImage

Enter a .jpg image filename or upload an image.

Filesuggested
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