Template:TNIH: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "<span style="display:inline-block; position:relative; vertical-align:middle; width:16px; height:16px; border:3px solid #{{#switch: {{{1}}}|1=00d4aa|2=ff0000|2A=ff0000|3=7f2aff|4=ff7f2a|H=b3b3b3|888888}}; border-radius:20%; background:white; text-align:center; color:black; font-weight:Bold; font-size:10px;"><span style="position: absolute; white-space:nowrap; width:16px; height:10px; line-height:10px; top:3px; left:0; text-align:center;">{{{1|?}}}</span></span> {{#switch:...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="display:inline-block; position:relative; vertical-align:middle; width:16px; height:16px; border:3px solid #{{#switch: {{{1}}}|1=00d4aa|2=ff0000|2A=ff0000|3=7f2aff|4=ff7f2a|H=b3b3b3|888888}}; border-radius:20%; background:white; text-align:center; color:black; font-weight:Bold; font-size:10px;"><span style="position: absolute; white-space:nowrap; width:16px; height:10px; line-height:10px; top:3px; left:0; text-align:center;">{{{1|?}}}</span></span> {{#switch: {{{1}}}|1=Cape Cod-Falcavia line|2=Chittagong-New Orthinia line|2A=Chittagong Bypass line|3=Chittagong Northwards line|4=Sahrai-Calcutta line|H=Hainan-Indochina Subway connector|Argument ERROR}}<noinclude>
<span style="display:inline-block; position:relative; vertical-align:middle; width:16px; height:16px; border:3px solid #{{#switch: {{{1}}}|1=00d4aa|2=ff0000|2A=ff0000|3=7f2aff|4=ff7f2a|H=b3b3b3|888888}}; border-radius:20%; background:white; text-align:center; color:black; font-weight:Bold; font-size:10px;"><span style="position: absolute; white-space:nowrap; width:16px; height:10px; line-height:10px; top:3px; left:0; text-align:center;">{{{1|?}}}</span></span><noinclude>
==Documentation==
==Documentation==
Used for [[Transnational Ice Highway|Transnational Ice Highway's]] station listings to indicate transfers to other lines.
Used for [[Transnational Ice Highway|Transnational Ice Highway's]] station listings to indicate transfers to other lines.
Line 5: Line 5:
'''<code><nowiki>{{TNIH|1}}</nowiki></code>'''
'''<code><nowiki>{{TNIH|1}}</nowiki></code>'''


#Line code (omit first letter "K")
#Line code


The line color around the box and the line name will automatically adjust based on the line code input, and as such will not be able to accept custom line codes linked to line colors under this specific coding (will instead display a gray line and "Argument ERROR").
The line color around the box and the line name will automatically adjust based on the line code input, and as such will not be able to accept custom line codes linked to line colors under this specific coding (will instead display a gray line and "Argument ERROR").
Line 18: Line 18:
*{{TNIH|4}}
*{{TNIH|4}}
*{{TNIH|H}}
*{{TNIH|H}}
</noninclude>
</noinclude>

Latest revision as of 13:03, 28 June 2024

?

Documentation

Used for Transnational Ice Highway's station listings to indicate transfers to other lines.

{{TNIH|1}}

  1. Line code

The line color around the box and the line name will automatically adjust based on the line code input, and as such will not be able to accept custom line codes linked to line colors under this specific coding (will instead display a gray line and "Argument ERROR").


Current lines:

  • 1
  • 2
  • 2A
  • 3
  • 4
  • H