<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_route_diagram%2Fdoc</id>
	<title>Template:Infobox route diagram/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_route_diagram%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Infobox_route_diagram/doc&amp;action=history"/>
	<updated>2026-04-03T22:26:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Infobox_route_diagram/doc&amp;diff=20332&amp;oldid=prev</id>
		<title>Wikipedia&gt;Izno: rm</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Infobox_route_diagram/doc&amp;diff=20332&amp;oldid=prev"/>
		<updated>2021-05-15T23:10:13Z</updated>

		<summary type="html">&lt;p&gt;rm&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This template is deprecated, use {{tl|BS-map}} instead.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adding the following lines when using the BS-map template allows better transclusion of the route map into the info box. &amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|inline={{{inline|}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|legend={{{legend|}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
This template is specially built for fitting route map based on the [[Wikipedia:route diagram template]] set into the infobox &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;map&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; parameter or anything like that, primarily for {{tl|Infobox rail line}}. Direct transclusion of the route diagram without the help of this template might cause the rows of map to &amp;quot;break apart&amp;quot; and look bad in Microsoft [[Internet Explorer 7]]. (Icons that comprising the diagram are not cohesively joining row by row.) This problem doesn&amp;#039;t exist in [[IE8]], [[Firefox]] or [[Safari (web browser)|Safari]].&lt;br /&gt;
&lt;br /&gt;
When preparing the separate route map template which will apply this template, make sure the parameter {{nowrap|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|inline = &amp;lt;includeonly&amp;gt;yes&amp;lt;/includeonly&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} is included in the {{tl|BS-map}} or {{tl|Routemap}} diagram template.&amp;lt;!--&amp;#039;&amp;#039;&amp;#039;do not&amp;#039;&amp;#039;&amp;#039; include any [[Help:Table|Wiki table]] opening, closing syntaxes or &amp;#039;&amp;#039;&amp;#039;BS-table&amp;#039;&amp;#039;&amp;#039; template because this template has already transcluded the {{tl|BS-table3}} and the table ending &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;|}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt;. (Alternatively you can ring them with &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; tags for better presentation in the template page of the map.) Just start your map template with &amp;#039;&amp;#039;&amp;#039;BS(#)&amp;#039;&amp;#039;&amp;#039; row templates but do not forget the required table ending &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;|}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; for [[project:ROUTE#Collapsible sections|collapsible section]] within the map.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;: name of route map template to be transcluded by this template&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;map&amp;#039;&amp;#039;&amp;#039;: inline route map template to be inserted, this parameter has higher priority than parameter &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;legend&amp;#039;&amp;#039;&amp;#039;: switching the types of map legend to be linked. See {{tl|BS-table}} for instruction. Entry &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;route&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; ({{tl|Railway line legend}}) by default.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;navbar&amp;#039;&amp;#039;&amp;#039;: add the {{tl|Navbar}} for the route map template below the diagram within the infobox map section, if parameter &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; is available&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;#039; (default): no Navbar at all&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;&amp;#039;: displaying the Navbar in this format:&lt;br /&gt;
::{|class=wikitable&lt;br /&gt;
|{{small|This diagram: }}{{Navbar|Infobox rdt|plain=1|nodiv=1}}&lt;br /&gt;
|}&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;mini&amp;#039;&amp;#039;&amp;#039;: displaying the Navbar in the minimum form:&lt;br /&gt;
::{|class=wikitable&lt;br /&gt;
|{{Navbar|Infobox rdt|mini=1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example: transcluding {{tl|Fairmount Line}} into {{tl|Infobox rail line}} ==&lt;br /&gt;
{{Infobox rail line&lt;br /&gt;
|box_width = 320px&lt;br /&gt;
|map = {{Infobox rdt|Fairmount Line|legend=no}}&lt;br /&gt;
|map_state = show&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The Wikisyntax below will render at right:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;font-size:90%&amp;quot;&amp;gt;{{Infobox rail line&lt;br /&gt;
|box_width = 320px&lt;br /&gt;
|map = {{Infobox rdt|Fairmount Line|legend=no}}&lt;br /&gt;
|map_state = show&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== When infobox RDT is unnecessary or ineffective ==&lt;br /&gt;
* The rows of map will partially break apart if the text in that BS(#) row template is too long thus forcing a [[soft return]]. This can be solved by moving some of the text to the next BS(#) row template. Increase the width or set by &amp;lt;kbd&amp;gt;auto&amp;lt;/kbd&amp;gt; of the infobox if the text is only slightly lengthy that causes the breaking. Editor should check the infobox template if such parameter is available. For example, &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;box_width&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; of {{tl|Infobox rail line}} and {{tl|Infobox rail service}}. If the soft return is still there to cause the break, and the width of the infobox is clearly wide enough, use the parameter &amp;lt;kbd style=&amp;quot;color:blue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;tw&amp;#039;&amp;#039;&amp;#039;&amp;lt;/kbd&amp;gt; in 1 of the BS(#) row template to increase the text column width until it&amp;#039;s long enough to avoid the soft return.&lt;br /&gt;
&lt;br /&gt;
* There are at least 3 possbilities that applying this template will mess up the whole article layout:&lt;br /&gt;
# Incorrect or non-existing route template name. (This might happen when solely [[transwiki]]ng the syntax of the main article to another Wiki project without the route map template alongside)&lt;br /&gt;
# Bad syntax within the route template. Usually lacking the table closing syntax for BS startCollapsible section.&lt;br /&gt;
# The map parameter of the infobox, such as {{tl|infobox rail}} (protected), restricts the input to 1 single image link only. At this rate, editor should consider changing infobox or give up the idea to transclude route map template into the infobox. You can just use the [[WP:ROUTE#Structure of the map table|standalone route map format]] and place it following the infobox.&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Pages using infobox route diagram with superfluous legend}}&lt;br /&gt;
* {{clc|Pages using infobox route diagram with superfluous navbar}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Rail routemap templates]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Izno</name></author>
	</entry>
</feed>