Jump to content

Template:Infobox: Difference between revisions

rmv conditionals. this is a _basic_ template for new template editors. Conditionals are not _basic_ tools.
(Restored Usage instructions (none available on the talk page))
(rmv conditionals. this is a _basic_ template for new template editors. Conditionals are not _basic_ tools.)
Line 12: Line 12:
! Data 3 (data hidden if data3 empty or not defined):
! Data 3 (data hidden if data3 empty or not defined):
| {{{data3|}}}
| {{{data3|}}}
{{#if:{{{data4<includeonly>|</includeonly>}}}|<tr><th>Data 4 (row hidden if data4 empty):<td>{{{data4}}} }}
{{#if:{{{data5|}}}||<tr><th>Data 5 (row hidden if data5 not empty):<td>{{{data5}}} }}
|-  
|-  
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
Line 34: Line 32:
! Data 3 (data hidden if data3 empty or not defined):
! Data 3 (data hidden if data3 empty or not defined):
| {{{data3|}}}
| {{{data3|}}}
{{#if:{{{data4|}}}|<tr><th>Data 4 (row hidden if data4 empty):<td>{{{data4}}} }}
{{#if:{{{data5|}}}||<tr><th>Data 5 (row hidden if data5 not empty):<td>{{{data5}}} }}
|-  
|-  
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
Line 43: Line 39:


[[Category:infobox templates|{{PAGENAME}}]]
[[Category:infobox templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[zh:Template:Infobox]]
[[zh:Template:Infobox]]
</noinclude>
</noinclude>