Template:Whyte and Template:Whyte/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Special case 0-8-4 as the main article is not about the wheel arrangement |
m fix |
||
Line 1: | Line 1: | ||
{{nowrap|{{#switch: {{{1|}}} |
<includeonly>{{nowrap|{{#if: {{{1|}}}|{{#switch: {{{1|}}}{{{2|}}}| |
||
<!-- Place any wheel arrangements WITH SUFFIXES, which (root+suffix combined) are disambiguation pages or the wheel arangement isn't the primary topic, below --> |
|||
⚫ | |||
foobar = [[WP:Example|foobar]] |
|||
⚫ | |||
<!-- end of list --> |
|||
⚫ | |||
|{{#if: {{{2|}}}| |
|||
⚫ | |||
{{#ifexist: {{{1|}}}{{{2|}}} |
|||
⚫ | |||
|[[{{{1|}}}{{{2|}}}]]}}<!-- Gives a direct link if there is one --> |
|||
⚫ | |||
|{{# |
|{{#switch: {{{1|}}} |
||
<!-- Place any wheel arrangements WITHOUT SUFFIXES, which are dab pages, below --> |
|||
⚫ | |||
|4-4-2 = [[4-4-2 (locomotive)|4-4-2]]{{Whyte suffix|{{{2|}}}|{{{3|}}}}} |
|||
⚫ | |||
}}}}}}<noinclude> |
|||
|6w = [[6w (locomotive)|6w]]{{Whyte suffix|{{{2|}}}|{{{3|}}}}} |
|||
|8w = [[8w (locomotive)|8w]]{{Whyte suffix|{{{2|}}}|{{{3|}}}}} |
|||
{{doc}} |
|||
<!--end of list --> |
|||
</noinclude> |
|||
⚫ | |||
}} |
|||
}}| |
|||
<!-- This should duplicate above --> |
|||
{{#switch: {{{1|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
<!--end of duplication --> |
|||
}} |
|||
}}|{{error|[[Template:Whyte]] used without any parameters}}}}</includeonly><noinclude>{{doc}}</noinclude> |