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:...")
 
mNo edit summary
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").

Revision as of 11:54, 28 June 2024

? Argument ERROR

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 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

</noninclude>