Misplaced Pages

Template:TFNSW platforms/row: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:TFNSW platforms Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 17:14, 3 November 2024 view sourceGonnym (talk | contribs)Autopatrolled, Extended confirmed users, Template editors223,346 editsNo edit summary← Previous edit Latest revision as of 20:27, 14 November 2024 view source Matrix (talk | contribs)Extended confirmed users, Rollbackers, Template editors5,452 edits per mw:Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis#Avoid_using_background:_none_or_background:_transparent for night mode compatibility 
Line 1: Line 1:
{{#if: {{{n|}}}{{{stop|}}}| {{#if: {{{n|}}}{{{stop|}}}|
<tr><th style="background:transparent">{{{number}}}</th> <tr><th>{{{number}}}</th>
{{TFNSW platforms/line|color={{{color|}}}|background={{{background|}}}|n={{{n|}}}}} {{TFNSW platforms/line|color={{{color|}}}|background={{{background|}}}|n={{{n|}}}}}
<td>{{{stop|}}}</td> <td>{{{stop|}}}</td>
<td>{{{notes|}}}</td> <td>{{{notes|}}}</td>
</tr>|{{#if: {{{a|}}}{{{a_stop|}}}{{{b|}}}{{{b_stop|}}}{{{c|}}}{{{c_stop|}}}{{{d|}}}{{{d_stop|}}}{{{e|}}}{{{e_stop|}}}{{{f|}}}{{{f_stop|}}}{{{g|}}}{{{g_stop|}}}{{{h|}}}{{{h_stop|}}}{{{i|}}}{{{i_stop|}}} | </tr>|{{#if: {{{a|}}}{{{a_stop|}}}{{{b|}}}{{{b_stop|}}}{{{c|}}}{{{c_stop|}}}{{{d|}}}{{{d_stop|}}}{{{e|}}}{{{e_stop|}}}{{{f|}}}{{{f_stop|}}}{{{g|}}}{{{g_stop|}}}{{{h|}}}{{{h_stop|}}}{{{i|}}}{{{i_stop|}}} |
<tr><th style="background:transparent" rowspan="{{#expr:{{#if:{{{a|}}}{{{a_stop|}}}|1|0}}+{{#if:{{{b|}}}{{{b_stop|}}}|1|0}}+{{#if:{{{c|}}}{{{c_stop|}}}|1|0}}+{{#if:{{{d|}}}{{{d_stop|}}}|1|0}}+{{#if:{{{e|}}}{{{e_stop|}}}|1|0}}+{{#if:{{{f|}}}{{{f_stop|}}}|1|0}}+{{#if:{{{g|}}}{{{g_stop|}}}|1|0}}+{{#if:{{{h|}}}{{{h_stop|}}}|1|0}}+{{#if:{{{i|}}}{{{i_stop|}}}|1|0}}}}">{{{number}}}</th> <tr><th rowspan="{{#expr:{{#if:{{{a|}}}{{{a_stop|}}}|1|0}}+{{#if:{{{b|}}}{{{b_stop|}}}|1|0}}+{{#if:{{{c|}}}{{{c_stop|}}}|1|0}}+{{#if:{{{d|}}}{{{d_stop|}}}|1|0}}+{{#if:{{{e|}}}{{{e_stop|}}}|1|0}}+{{#if:{{{f|}}}{{{f_stop|}}}|1|0}}+{{#if:{{{g|}}}{{{g_stop|}}}|1|0}}+{{#if:{{{h|}}}{{{h_stop|}}}|1|0}}+{{#if:{{{i|}}}{{{i_stop|}}}|1|0}}}}">{{{number}}}</th>
{{TFNSW platforms/line|color={{{a_color|}}}|background={{{a_background|}}}|n={{{a|}}}}} {{TFNSW platforms/line|color={{{a_color|}}}|background={{{a_background|}}}|n={{{a|}}}}}
<td>{{{a_stop|}}}</td> <td>{{{a_stop|}}}</td>

Latest revision as of 20:27, 14 November 2024

Template documentation

This subtemplate is primarily used by {{TFNSW platforms}} to generate a row, or a group of rows, corresponding to a single platform. In a few select cases, it is used directly, but generally this is not encouraged.

See also

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.