Help:Infoboxes: Difference between revisions

From Starfleet Command
Jump to navigation Jump to search
created
 
reformatting and adding
Line 1: Line 1:
==Opening & Closing==
<pre>
{| class="infobox"
}}
</pre>
==Title Areas==
'''for ''section title area'' that is always showing:'''
'''for ''section title area'' that is always showing:'''
<pre>
<pre>
Line 13: Line 21:
</pre>
</pre>


==Data Areas==
'''for always showing ''data line'':'''
'''for always showing ''data line'':'''
<pre>
<pre>
Line 26: Line 35:
{{!}} {{{data}}}}}
{{!}} {{{data}}}}}
</pre>
</pre>
'''Bold text'''

Revision as of 13:53, 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
|-

for data lines that hide when empty:

{{#if: {{{data|}}}|
{{!}}- class="infoboxrow"
{{!}} Data
{{!}} {{{data}}}}}

Bold text