Difference between revisions of "Template:Blockbox"

From Block library
Jump to: navigation, search
m (Reverted edits by Mbbxwca5 (talk) to last revision by Mcbssce)
Line 2: Line 2:
 
<div class="blockbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="blockbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="blockox-image">[[File:{{{image}}}|300px]]</div>}}
 
<div class="blockox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
+
<table>{{#if:{{{representative|}}}|<tr>
     <th>Parameter 1</th>
+
     <th>Representative</th>
     <td>{{{param1}}}</td>
+
     <td>{{{representative}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
+
</tr>}}{{#if:{{{defect|}}}|<tr>
     <th>Parameter 2</th>
+
     <th>Defect groups</th>
     <td>{{{param2}}}</td>
+
     <td>{{{defect}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
+
</tr>}}{{#if:{{{inertialquotients|}}}|<tr>
     <th>Parameter 3</th>
+
     <th>Inertial quotients</th>
     <td>{{{param3}}}</td>
+
     <td>{{{inertialquotients}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
+
</tr>}}{{#if:{{{k(B)|}}}|<tr>
     <th>Parameter 4</th>
+
     <th><math>k(B)=</math></th>
     <td>{{{param4}}}</td>
+
     <td>{{{k(B)}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
+
</tr>}}{{#if:{{{l(B)|}}}|<tr>
     <th>Parameter 5</th>
+
     <th><math>l(B)=</math></th>
     <td>{{{param5}}}</td>
+
     <td>{{{l(B)}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Revision as of 17:06, 29 August 2018

Blockbox
{{#if:|
[[File:{{{image}}}|300px]]
}} {{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}
Representative {{{representative}}}
Defect groups {{{defect}}}
Inertial quotients {{{inertialquotients}}}
[math]k(B)=[/math] {{{k(B)}}}
[math]l(B)=[/math] {{{l(B)}}}