From GamingWiki
Jump to: navigation, search
(Created page with "Print a header line of an infobox table. Arguments and their defaults are: <pre> {{Infobox header | colspan = 1 | text = | campaign= }} </pre> {{Infobox begin}} <onlyinclud...")
 
 
Line 2: Line 2:
 
<pre>
 
<pre>
 
{{Infobox header
 
{{Infobox header
 +
| text    =
 
| colspan = 1
 
| colspan = 1
| text    =
 
 
| campaign=  
 
| campaign=  
 
}}
 
}}
 +
</pre>
 +
 +
The <tt>text</tt> parameter may also be passed as a positional parameter:
 +
<pre>
 +
{{Infobox header | Header text here | colspan = 1 }}
 
</pre>
 
</pre>
  
Line 11: Line 16:
 
<onlyinclude><!--
 
<onlyinclude><!--
 
--><nowiki />
 
--><nowiki />
! colspan="{{{colspan|1}}}" | {{{text<includeonly>|</includeonly>}}} <!--
+
! colspan="{{{colspan|1}}}" | {{{text|{{{1|<noinclude>Header text here</noinclude>}}}}}} <!--
 
   -->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<!--
 
   -->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<!--
 
       --><div class="campaign"> [[{{{campaign}}}]]</div><!--
 
       --><div class="campaign"> [[{{{campaign}}}]]</div><!--

Latest revision as of 17:13, 12 August 2011

Print a header line of an infobox table. Arguments and their defaults are:

{{Infobox header
| text    = 
| colspan = 1
| campaign= 
}}

The text parameter may also be passed as a positional parameter:

{{Infobox header | Header text here | colspan = 1 }}

Header text here
[[{{{campaign}}}]]