Template:Metro lines: Difference between revisions
Jump to navigation
Jump to search
Ozycaevias (talk | contribs) No edit summary |
Ozycaevias (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 65: | Line 65: | ||
<div>{{{line9}}}</div> | <div>{{{line9}}}</div> | ||
<div style="width:15px; background-color:{{{line9-color|black}}}; display:inline;"></div> | <div style="width:15px; background-color:{{{line9-color|black}}}; display:inline;"></div> | ||
</div>|}}<!-- | |||
-->{{#if: {{{line10|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line10-color|gainsboro}}}; display:inline; float:left;"></div> | |||
<div>{{{line10}}}</div> | |||
<div style="width:15px; background-color:{{{line10-color|gainsboro}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line11|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line11-color|crimson}}}; display:inline; float:left;"></div> | |||
<div>{{{line11}}}</div> | |||
<div style="width:15px; background-color:{{{line11-color|crimson}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line12|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line12-color|orangered}}}; display:inline;"></div> | |||
<div>{{{line12}}}</div> | |||
<div style="width:15px; background-color:{{{line12-color|orangered}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line13|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line13-color|goldenrod}}}; display:inline;"></div> | |||
<div>{{{line13}}}</div> | |||
<div style="width:15px; background-color:{{{line13-color|goldenrod}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line14|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line14-color|greenyellow}}}; display:inline;"></div> | |||
<div>{{{line14}}}</div> | |||
<div style="width:15px; background-color:{{{line14-color|greenyellow}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line15|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line15-color|royalblue}}}; display:inline;"></div> | |||
<div>{{{line15}}}</div> | |||
<div style="width:15px; background-color:{{{line15-color|royalblue}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line16|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line16-color|indigo}}}; display:inline;"></div> | |||
<div>{{{line16}}}</div> | |||
<div style="width:15px; background-color:{{{line16-color|indigo}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line17|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line17-color|orchid}}}; display:inline;"></div> | |||
<div>{{{line17}}}</div> | |||
<div style="width:15px; background-color:{{{line17-color|orchid}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line18|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line18-color|lightgrey}}}; display:inline;"></div> | |||
<div>{{{line18}}}</div> | |||
<div style="width:15px; background-color:{{{line18-color|lightgrey}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line19|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line19-color|darkslategrey}}}; display:inline;"></div> | |||
<div>{{{line19}}}</div> | |||
<div style="width:15px; background-color:{{{line19-color|darkslategrey}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{line20|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{line20-color|silver}}}; display:inline; float:left;"></div> | |||
<div>{{{line20}}}</div> | |||
<div style="width:15px; background-color:{{{line20-color|silver}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
--><div> | |||
{{#if: {{{other-systems|}}} | '''Other systems''' |}} | |||
</div><!-- | |||
-->{{#if: {{{other-sys1|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys1-color|red}}}; display:inline; float:left;"></div> | |||
<div>{{{other-sys1}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys1-color|red}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys2|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys2-color|orange}}}; display:inline;"></div> | |||
<div>{{{other-sys2}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys2-color|orange}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys3|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys3-color|yellow}}}; display:inline;"></div> | |||
<div>{{{other-sys3}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys3-color|yellow}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys4|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys4-color|green}}}; display:inline;"></div> | |||
<div>{{{other-sys4}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys4-color|green}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys5|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys5-color|blue}}}; display:inline;"></div> | |||
<div>{{{other-sys5}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys5-color|blue}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys6|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys6-color|purple}}}; display:inline;"></div> | |||
<div>{{{other-sys6}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys6-color|purple}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys7|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys7-color|pink}}}; display:inline;"></div> | |||
<div>{{{other-sys7}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys7-color|pink}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys8|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys8-color|grey}}}; display:inline;"></div> | |||
<div>{{{other-sys8}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys8-color|grey}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys9|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys9-color|black}}}; display:inline;"></div> | |||
<div>{{{other-sys9}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys9-color|black}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys10|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys10-color|gainsboro}}}; display:inline; float:left;"></div> | |||
<div>{{{other-sys10}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys10-color|gainsboro}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys11|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys11-color|crimson}}}; display:inline; float:left;"></div> | |||
<div>{{{other-sys11}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys11-color|crimson}}}; display:inline; float:right;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys12|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys12-color|orangered}}}; display:inline;"></div> | |||
<div>{{{other-sys12}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys12-color|orangered}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys13|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys13-color|goldenrod}}}; display:inline;"></div> | |||
<div>{{{other-sys13}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys13-color|goldenrod}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys14|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys14-color|greenyellow}}}; display:inline;"></div> | |||
<div>{{{other-sys14}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys14-color|greenyellow}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys15|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys15-color|royalblue}}}; display:inline;"></div> | |||
<div>{{{other-sys15}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys15-color|royalblue}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys16|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys16-color|indigo}}}; display:inline;"></div> | |||
<div>{{{other-sys16}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys16-color|indigo}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys17|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys17-color|orchid}}}; display:inline;"></div> | |||
<div>{{{other-sys17}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys17-color|orchid}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys18|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys18-color|lightgrey}}}; display:inline;"></div> | |||
<div>{{{other-sys18}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys18-color|lightgrey}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys19|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys19-color|darkslategrey}}}; display:inline;"></div> | |||
<div>{{{other-sys19}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys19-color|darkslategrey}}}; display:inline;"></div> | |||
</div>|}}<!-- | |||
-->{{#if: {{{other-sys20|}}} | | |||
<div style="display:flex; justify-content:space-between;"> | |||
<div style="width:15px; background-color:{{{other-sys20-color|silver}}}; display:inline; float:left;"></div> | |||
<div>{{{other-sys20}}}</div> | |||
<div style="width:15px; background-color:{{{other-sys20-color|silver}}}; display:inline; float:right;"></div> | |||
</div>|}} | </div>|}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{documentation}} | |||
{{ | |||
}} | |||
</noinclude> | </noinclude> |
Latest revision as of 23:57, 26 August 2019
This is a template used to display metro/public transit lines and color coding alongside a map or other graphic. It can include up to 20 lines and 20 related systems.
Usage
Condensed
{{Metro lines | name = <!-- Name of the system at large (IE: London Underground). Surround with brackets ([[ ]]) to link. --> | line1 = <!-- Name of the line. Surround with brackets ([[ ]]) to link. --> | line2 = | line3 = | line4 = | line5 = | other-systems = <!-- Leave blank to not have the "Other Systems" banner show up. --> | other-sys1 = <!-- Name of the other system related to this one. --> | other-sys2 = | other-sys3 = | other-sys4 = | other-sys5 = }}
Full
{{Metro lines | name = <!-- Name of the system at large (IE: London Underground). Surround with brackets ([[ ]]) to link. --> | line1 = <!-- Name of the line. Surround with brackets ([[ ]]) to link. --> | line1-color = <!-- Can be a hex value (IE #F5F5DC) or a named CSS color (IE beige). Hex values must include the hash (#). --> | line2 = | line2-color = | line3 = | line3-color = | line4 = | line4-color = | line5 = | line5-color = | line6 = | line6-color = | line7 = | line7-color = | line8 = | line8-color = | line9 = | line9-color = | line10 = | line10-color = | line11 = | line11-color = | line12 = | line12-color = | line13 = | line13-color = | line14 = | line14-color = | line15 = | line15-color = | line16 = | line16-color = | line17 = | line17-color = | line18 = | line18-color = | line19 = | line19-color = | line20 = | line20-color = | other-systems = <!-- Leave blank to not have the "Other Systems" banner show up. --> | other-sys1 = <!-- Name of the other system related to this one. --> | other-sys1-color = <!-- Can be a hex value (IE #F5F5DC) or a named CSS color (IE beige). Hex values must include the hash (#). --> | other-sys2 = | other-sys3-color = | other-sys3 = | other-sys4-color = | other-sys4 = | other-sys5-color = | other-sys5 = | other-sys6-color = | other-sys6 = | other-sys6-color = | other-sys7 = | other-sys7-color = | other-sys8 = | other-sys8-color = | other-sys9 = | other-sys9-color = | other-sys10 = | other-sys10-color = | other-sys11 = | other-sys11-color = | other-sys12 = | other-sys12-color = | other-sys13 = | other-sys13-color = | other-sys14 = | other-sys14-color = | other-sys15 = | other-sys15-color = | other-sys16 = | other-sys16-color = | other-sys17 = | other-sys17-color = | other-sys18 = | other-sys18-color = | other-sys19 = | other-sys19-color = | other-sys20 = | other-sys20-color = }}
Example
{{Metro lines | name = Grand City Metro | line1 = Smith Line | line2 = Peterson Line | line3 = North Line | line4 = Newport Line | line5 = Edwards Line | other-systems = yes | other-sys1 = Inter-city Rail | other-sys2 = Airport Transit }}
Grand City Metro
Smith Line
Peterson Line
North Line
Newport Line
Edwards Line
Other systems
Inter-city Rail
Airport Transit