Template:Airport codes: Difference between revisions
Appearance
wikademia>McNeight m try this for making both codes optional, with no ugly remnants |
wikademia>McNeight m one more whack at this... |
||
| Line 3: | Line 3: | ||
|then=([[IATA airport code|IATA]]: '''{{{1}}}''' | |then=([[IATA airport code|IATA]]: '''{{{1}}}''' | ||
|else=( | |else=( | ||
}} | }}{{qif | ||
{{qif | |test={{booland|{{{1|}}}|{{{2|}}}}} | ||
|test={{booland|1|2}} | |||
|then=, | |then=, | ||
|else= | |else= | ||
}} | }}{{qif | ||
{{qif | |||
|test={{{2|}}} | |test={{{2|}}} | ||
|then=[[ICAO airport code|ICAO]]: '''{{{2}}}''') | |then=[[ICAO airport code|ICAO]]: '''{{{2}}}''') | ||
|else=) | |else=) | ||
}} | }} | ||
<noinclude> | |||
{{clear}} | |||
</noinclude> | |||