Difference between revisions of "Template:Infobox-Formula"

From Ogame Wiki - Preview (mw1.22)
Jump to: navigation, search
[checked revision][checked revision]
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="Infobox-Formula" width="90%" align="center"  
+
<div class="infobox infobox-formula">
!colspan="2" align="left"| {{#data:{{#ifeq: {{SUBPAGENAME}}|{{PAGENAME}}|en|{{SUBPAGENAME}}}}->Infobox-Formula|Formula:}}
+
<div class="infobox-title">{{#trans:Infobox-Formula-Title}}</div>
 +
<div class="infobox-text">{{{1|}}}
 +
{|
 +
| class="infobox-label" | {{{2|}}}||{{#if:{{{2|}}}|= {{{3|}}}|}}
 
|-
 
|-
|colspan="2" | ''{{{1|}}}''
+
| class="infobox-label" | {{{4|}}}||{{#if:{{{4|}}}|= {{{5|}}}|}}
 
|-
 
|-
| style="width:100px; white-space:nowrap;" | {{{2|}}}||{{#if:{{{2|}}}|= {{{3|}}}|}}
+
| class="infobox-label" | {{{6|}}}||{{#if:{{{6|}}}|= {{{7|}}}|}}
 
|-
 
|-
| style="white-space:nowrap;" | {{{4|}}}||{{#if:{{{4|}}}|= {{{5|}}}|}}
+
| class="infobox-label" | {{{8|}}}||{{#if:{{{8|}}}|= {{{9|}}}|}}
 
|-
 
|-
| style="white-space:nowrap;" | {{{6|}}}||{{#if:{{{6|}}}|= {{{7|}}}|}}
+
| class="infobox-label" | {{{10|}}}||{{#if:{{{10|}}}|= {{{11|}}}|}}
|-
+
| style="white-space:nowrap;" | {{{8|}}}||{{#if:{{{8|}}}|= {{{9|}}}|}}
+
|-
+
| style="white-space:nowrap;" | {{{10|}}}||{{#if:{{{10|}}}|= {{{11|}}}|}}
+
 
|}
 
|}
<noinclude>
+
</div>
 +
<div class="infobox-footer"></div>
 +
</div><noinclude>
  
Usage: Every Label/Formula pair could be empty
+
Usage: Every Label/Formula pair could be empty - use  &amp;nbsp; to force empty lines
<nowiki><pre>
+
<pre><nowiki>
 
{{Infobox-Formula|Description of this formula in italic (could be empty)
 
{{Infobox-Formula|Description of this formula in italic (could be empty)
 
|Label 1|Formula 1
 
|Label 1|Formula 1
Line 25: Line 26:
 
|Label 5|Formula 5
 
|Label 5|Formula 5
 
}}
 
}}
</pre></nowiki>
+
</nowiki></pre>
 
+
 
</noinclude>
 
</noinclude>

Latest revision as of 14:24, 16 September 2012

Formula:

Usage: Every Label/Formula pair could be empty - use &nbsp; to force empty lines

{{Infobox-Formula|Description of this formula in italic (could be empty)
|Label 1|Formula 1
|Label 2|Formula 2
|Label 3|Formula 3
|Label 4|Formula 4
|Label 5|Formula 5
}}
Personal tools
Namespaces

Variants
Actions