Help:Infoboxes: Difference between revisions
Jump to navigation
Jump to search
→Data Areas: clarification |
→Data Areas: imagery section |
||
| Line 36: | Line 36: | ||
{{!}} {{{data}}}}} | {{!}} {{{data}}}}} | ||
</pre> | </pre> | ||
'' | |||
==Imagery== | |||
<pre> | |||
|colspan="2"| {{{image|[[Image:''file name''|200px]]}}} | |||
|- | |||
</pre> | |||
Revision as of 14:06, 10 January 2008
Opening & Closing
{| class="infobox"
}}
Title Areas
for section title area that is always showing:
!colspan="2" class="infoboxheading"|Section Title |-
for section title area that hides when all data lines are empty:
|-
{{#if: {{{data1|}}}{{{data2|}}}{{{data3|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Section Title}}
Data Areas
for always showing data line:
|- class="infoboxrow"
|Data||{{{data|}}} tons
|-
The 'Data' represents the displayed name for the line, while 'data' is the name used for the code line inserted in the article. (ex: "|category=")
for data lines that hide when empty:
{{#if: {{{data|}}}|
{{!}}- class="infoboxrow"
{{!}} Data
{{!}} {{{data}}}}}
Imagery
|colspan="2"| {{{image|[[Image:''file name''|200px]]}}}
|-