Template:Railwaymap: Difference between revisions

From FIBIwiki
Jump to navigation Jump to search
create template
 
fix size by standardizing to size of other railway boxes
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  {|cellspacing="0" style="border: 1px solid #999; float: right; margin: 0 0 1em 1em; width:300px; clear: right; background-color:#DDD;color:#black;"
  {|cellspacing="0" style="border: 1px solid #999; float: right; margin: 0 0 1em 1em; width:330px; clear: right; background-color:#DDD;color:#black;"
| style="width:45px; height:45px; text-align:center; vertical-align: middle;" |[[Image:Railwaymappic.jpg|80px]]
| style="width:45px; height:45px; text-align:center; vertical-align: middle;" |[[Image:Railwaymappic.jpg|80px]]
!colspan="2" align="center" style="background-color:#DDD;color:#black;" |<span style="font-size:8pt;">See our interactive map of<br>{{{railway}}}<br> locations and routes [{{{link}}} on Google Maps]</span>
!colspan="2" align="center" style="background-color:#DDD;color:#black;" |<span style="font-size:8pt;">See our interactive map of<br>{{{railway}}}<br> locations and routes [{{{link}}} on Google Maps]</span>
Line 6: Line 6:
'''Format for template use:'''
'''Format for template use:'''
<pre>
<pre>
{{Battlemap|railway= |link= }}</pre>
{{Railwaymap|railway= |link= }}</pre>
 
Alternatively, this may be clearer and allow easier checking if the Google map link contains unintended line breaks.
{|cellspacing="0" style="border: 1px solid #999; float: right; margin: 0 0 1em 1em; width:330px; clear: right; background-color:#DDD;color:#black;"
| style="width:45px; height:45px; text-align:center; vertical-align: middle;" |[[Image:Railwaymappic.jpg|80px]]
!colspan="2" align="center" style="background-color:#DDD;color:#black;" |<span style="font-size:8pt;">See our interactive map of<br>{{{railway}}}<br> locations and routes [{{{link}}} on Google Maps]</span>
|}
<pre>
{{Railwaymap
|railway=
|link=
}}</pre>
[[Category:Railway templates|Railwaymap]]
[[Category:Railway templates|Railwaymap]]
</noinclude>
</noinclude>

Latest revision as of 14:54, 5 November 2009

See our interactive map of
{{{railway}}}
locations and routes [{{{link}}} on Google Maps]

Format for template use:

{{Railwaymap|railway= |link= }}

Alternatively, this may be clearer and allow easier checking if the Google map link contains unintended line breaks.

See our interactive map of
{{{railway}}}
locations and routes [{{{link}}} on Google Maps]
{{Railwaymap
|railway= 
|link= 
}}