Permanently protected template

Template:Bridge: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(93 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Bridge" template.
This is the "Bridge" template.
Use [[Form:Bridge|Bridge Form]] to add/edit a bridge entry.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
Line 23: Line 26:
|Link3=
|Link3=
|Poster=
|Poster=
|Postdate=
|Posted=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
</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=Integer|Coordinates=Coordinates|Description=Wikitext|Article=Page|Image=File|Link1=URL|Link2=URL|Link3=URL|Poster=String|Postdate=Integer}}
<noinclude>
</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|}}}|Postdate={{{Postdate|}}} }}
{{#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}}
</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>
{{#ifeq:{{NAMESPACE}}| Info | <div class="irlbody irlbow">{{IRL header|cat=Bridges|toc=no}} }}
<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|}}}|400px|frameless|center|{{{Name|}}}|link={{{Article|}}} ]] }}
| colspan="5" |{{{Description|}}} {{#if:{{{Article|}}}|[[{{{Article|}}}|Article]]| }}
|-
|-
| colspan="4" | Waterway: {{{Water|}}}
| colspan="4" | Waterway: {{{Water|}}}
Line 48: 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">
<div class="mw-collapsible-content">
{{#cargo_display_map:point= {{{Coordinates|}}}|service=googlemaps|width=400px|height=300px|zoom=14}}
{{Map Embed|coord={{{Coordinates|}}}|zoom=12|width=640}}
</div>
</div></div> }}
</div> }}
|-
| colspan="5" | {{{Description|}}} {{#if:{{{Article|}}}|[[{{{Article|}}}|Read Article]] }}
|-
| colspan="5" | {{#if:{{{Link1|}}}|[{{{Link1|}}}] }} {{#if:{{{Link2|}}}|<br/>[{{{Link2|}}}] }} {{#if:{{{Link3|}}}|<br/>[{{{Link3|}}}] }}
|}
|}
{{#default_form:Bridge}}
</div> <!-- END IRL TOP -->
[[Category:{{{County|}}} County Locale]]
{{#ifeq:{{NAMESPACE}} | Info | {{#if:{{{Link1|}}} | <div class="irlcontentmiddle noprint">
[[Category:{{{Water|}}} Bridges]]
==Web Links==
[[Category:Bridges]]
[{{{Link1|}}}] {{#if:{{{Link2|}}}|<br/>[{{{Link2|}}}] }} {{#if:{{{Link3|}}}|<br/>[{{{Link3|}}}] }}</div> | }}
[[Category:{{{Water|}}} Bridges]][[Category:{{{County|}}} County Bridges]]{{#default_form:Bridge}}
</div> <!-- END IRL BODY -->
| }}
</includeonly>
</includeonly>
<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