Template:Infobox: Difference between revisions

From Derek
Jump to navigation Jump to search
Mattjb (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
  Caption
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
<!--
  Header
  Header
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
-->{{#if:{{{above|}}}|{{Infobox/row
Subheader
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
-->{{#if:{{{subheader|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader}}}</td></tr>}}<!
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
}} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
|data={{{subheader|{{{subheader1|}}}}}}
|datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}}
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
}} }}<!--
Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
|data={{{subheader2}}}
|datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}}
|rowclass={{{subheaderrowclass2|}}}
}} }}<!--
Image1
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}"
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 15:45, 22 October 2010

{{#ifeq:|yes||

{{#if:|}}{{#if:|{{#if:{{{above}}} |
|{{#if:
|{{#if: | }} }} }} }}{{#ifeq:|yes|{{#if:|{{{title}}}}}}}{{#if:|{{#if: |
|{{#if:
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{subheader2}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image1}}} {{#if:|
{{{caption1}}}}}
|{{#if: | }} }} }}{{#if:|{{#if: |
|{{#if:{{{image2}}}{{#if:|
{{{caption2}}}}}
|{{#if: | }} }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if: |
|{{#if:
|{{#if: | }} }}{{#if:|}}{{#if:|}} {{#ifeq:|yes||
{{{title}}}
{{{above}}}
{{{label}}} |
 }}
{{{data}}}
{{{header}}}
{{{label}}} |
 }}
{{{header}}}
{{{label}}} |
 }}
{{{subheader2}}}
{{{header}}}
{{{label}}} |
 }}
{{{image1}}} {{#if:|
{{{caption1}}}}}
{{{header}}}
{{{label}}} |
 }}
{{{image2}}}{{#if:|
{{{caption2}}}}}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
|
 }}
{{{below}}}
{{#if:| <span|<div}} class="noprint plainlinks navbar" style="background:none; padding:0; font-weight:normal;; font-size:xx-small; ">{{#if:1||This box: }}{{#if:|[}}[[{{#switch:
|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{name}}}            
     |       
   }}

}}|{{#if:1|v|view}}]]  [[|{{#if:1|d|talk}}]]{{#if:||  [{{fullurl:{{#switch:

|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{name}}}            
     |       
   }}
}}|action=edit}}{{#if:1|e|edit}}]}}{{#if:|]}}{{#if:| |}}

}}

{{#ifeq: Infobox | sandbox

|

Template:Template sandbox notice

}}Template:Template otherTemplate:Documentation/core2