Difference between revisions of "Template:China Expwy exit item"

From blackwiki
Jump to navigation Jump to search
imported>Heights
(replace with XHTML since #if: collides with wikitext)
imported>Heights
m (use colspan if name doesnt exist to make table look nicer)
Line 10: Line 10:
 
   |service=[[File:AB-Tank.svg|20px|link=|Gasoline]][[File:AB-Rast.svg|20px|link=|Service area]]
 
   |service=[[File:AB-Tank.svg|20px|link=|Gasoline]][[File:AB-Rast.svg|20px|link=|Service area]]
 
   |#default=[[File:AB-AS-grün.svg|20px|link=|Exit]]}}</td>
 
   |#default=[[File:AB-AS-grün.svg|20px|link=|Exit]]}}</td>
<td>{{{name}}}</td><td>{{{destinations}}}</td><td>{{{notes}}}</td></tr></includeonly><noinclude>
+
{{#if:{{{name}}}|<td>{{{name}}}</td><td>{{{destinations}}}</td>|<td colspan="2">{{{destinations}}}</td>}}<td>{{{notes}}}</td></tr></includeonly><noinclude>
 
For documentation, please see [[Template:China Start expwy exit box]].
 
For documentation, please see [[Template:China Start expwy exit box]].
 
[[Category:China Expressway exit box templates]]
 
[[Category:China Expressway exit box templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:42, 31 December 2012

For documentation, please see Template:China Start expwy exit box.