Main Page

Difference between revisions of "Template:RingMats"

From Arks-Visiphone
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="table-bordered"
+
{{#if: {{{true|}}}|<div class="table-responsive-md">
!rowspan="4" class="text-center"|<strong>Effects per level</strong>
+
<table class="mx-auto table wikitable table-bordered">
|-
+
                <tr>
| <strong>Lv.1</strong> || <strong>Lv.2</strong> || <strong>Lv.3</strong> || <strong>Lv.4</strong> || <strong>Lv.5</strong> || <strong>Lv.6</strong> || <strong>Lv.7</strong> || <strong>Lv.8</strong> || <strong>Lv.9</strong> || <strong>Lv.10</strong>  
+
                      <th class="text-center" colspan="10">{{{1}}}</th>
|-
+
                </tr>
{{#if: {{{L1|}}}|{{{L1|}}}{{!}}|}}<!--
+
<tr>
 +
<th scope="col">Lv.1</th>
 +
<th scope="col">Lv.2</th>
 +
<th scope="col">Lv.3</th>
 +
<th scope="col">Lv.4</th>
 +
<th scope="col">Lv.5</th>
 +
<th scope="col">Lv.6</th>
 +
<th scope="col">Lv.7</th>
 +
<th scope="col">Lv.8</th>
 +
<th scope="col">Lv.9</th>
 +
<th scope="col">Lv.10</th>
 +
</tr>
 +
<tr>
 +
<td class="text-center">{{{L1}}}</td>
 +
<td class="text-center">{{{L2}}}</td>
 +
<td class="text-center">{{{L3}}}</td>
 +
<td class="text-center">{{{L4}}}</td>
 +
<td class="text-center">{{{L5}}}</td>
 +
<td class="text-center">{{{L6}}}</td>
 +
<td class="text-center">{{{L7}}}</td>
 +
<td class="text-center">{{{L8}}}</td>
 +
<td class="text-center">{{{L9}}}</td>
 +
<td class="text-center">{{{L10}}}</td>
 +
</tr>
 +
<tr>
 +
<th scope="col">Lv.11</th>
 +
<th scope="col">Lv.12</th>
 +
<th scope="col">Lv.13</th>
 +
<th scope="col">Lv.14</th>
 +
<th scope="col">Lv.15</th>
 +
<th scope="col">Lv.16</th>
 +
<th scope="col">Lv.17</th>
 +
<th scope="col">Lv.18</th>
 +
<th scope="col">Lv.19</th>
 +
<th scope="col">Lv.20</th>
 +
</tr>
 +
<tr>
 +
<td class="text-center">{{{L11}}}</td>
 +
<td class="text-center">{{{L12}}}</td>
 +
<td class="text-center">{{{L13}}}</td>
 +
<td class="text-center">{{{L14}}}</td>
 +
<td class="text-center">{{{L15}}}</td>
 +
<td class="text-center">{{{L16}}}</td>
 +
<td class="text-center">{{{L17}}}</td>
 +
<td class="text-center">{{{L18}}}</td>
 +
<td class="text-center">{{{L19}}}</td>
 +
<td class="text-center">{{{L20}}}</td>
 +
</tr>
 +
</table>
 +
</div>|}}<!--
  
-->{{#if: {{{L2|}}}|{{!}}{{{L2|}}}{{!}}|}}<!--
+
-->{{#if: {{{false|}}}|<div class="table-responsive-md">
 +
<table class="mx-auto table wikitable table-bordered">
 +
                <tr>
 +
                      <th class="text-center" colspan="10">{{{1}}}</th>
 +
                </tr>
 +
<tr>
 +
<th scope="col">Lv.1</th>
 +
<th scope="col">Lv.2</th>
 +
<th scope="col">Lv.3</th>
 +
<th scope="col">Lv.4</th>
 +
<th scope="col">Lv.5</th>
 +
<th scope="col">Lv.6</th>
 +
<th scope="col">Lv.7</th>
 +
<th scope="col">Lv.8</th>
 +
<th scope="col">Lv.9</th>
 +
<th scope="col">Lv.10</th>
 +
</tr>
 +
<tr>
 +
<td colspan="10" class="text-center">{{{NA|}}}</td>
 +
</tr>
 +
<tr>
 +
<th scope="col">Lv.11</th>
 +
<th scope="col">Lv.12</th>
 +
<th scope="col">Lv.13</th>
 +
<th scope="col">Lv.14</th>
 +
<th scope="col">Lv.15</th>
 +
<th scope="col">Lv.16</th>
 +
<th scope="col">Lv.17</th>
 +
<th scope="col">Lv.18</th>
 +
<th scope="col">Lv.19</th>
 +
<th scope="col">Lv.20</th>
 +
</tr>
 +
<tr>
 +
<td colspan="10" class="text-center">{{{NA|}}}</td>
 +
</tr>
 +
</table>
 +
</div>|}}
 +
<noinclude>
  
-->{{#if: {{{L3|}}}|{{!}}{{{L3|}}}{{!}}|}}<!--
+
Used with the [[Template:Rings|Rings]] template. Adds the effects per level table in the ring "card".
  
-->{{#if: {{{L4|}}}|{{!}}{{{L4|}}}{{!}}|}}<!--
+
Template overview:
 +
<pre>
 +
Can be displayed in a vertical format or a horizontal format.
  
-->{{#if: {{{L5|}}}|{{!}}{{{L5|}}}{{!}}|}}<!--
+
Vertical:
 +
{{RingMats
 +
| Effects per level
 +
| true=1
 +
| L1 =
 +
| L2 =
 +
| L3 =
 +
| L4 =
 +
| L5 =
 +
| L6 =
 +
| L7 =
 +
| L8 =
 +
| L9 =
 +
| L10 =
 +
| L11 =
 +
| L12 =
 +
| L13 =
 +
| L14 =
 +
| L15 =
 +
| L16 =
 +
| L17 =
 +
| L18 =
 +
| L19 =
 +
| L20 =
 +
}}
  
-->{{#if: {{{L6|}}}|{{!}}{{{L6|}}}{{!}}|}}<!--
+
Horizontal:
 +
{{RingMats | Effects per level | true=1 | L1 = | L2 = | L3 = | L4 = | L5 = | L6 = | L7 = | L8 = | L9 = | L10 = | L11 = | L12 = | L13 = | L14 = | L15 = | L16 = | L17 = | L18 = | L19 = | L20 = }}
 +
</pre>
  
-->{{#if: {{{L7|}}}|{{!}}{{{L7|}}}{{!}}|}}<!--
+
The template follows the basic principle of <code>Variable = Value</code>. You are required to specify all of the variables in order to make this template function.
  
-->{{#if: {{{L8|}}}|{{!}}{{{L8|}}}{{!}}|}}<!--
+
If you want to display a 10 column long "Not Applicable" value instead of an individual value, you can do so by setting <code>true=1</code> to <code>false=1</code> and using <code>NA2 = N/A</code> instead of the normal variables.
  
-->{{#if: {{{L9|}}}|{{!}}{{{L9|}}}{{!}}|}}<!--
+
<pre>
 +
Template usage using the horizontal method (vertical works too):
  
-->{{#if: {{{L10|}}}|{{!}}{{{L10|}}}|}}<!--
+
{{RingMats | Effects per level | false=1 | NA = N/A }}
 
+
</pre>
-->{{#if: {{{NA|}}}|{{!}}colspan="10" class="text-center"{{!}}{{{NA|}}}|}}
+
</noinclude>
|-
 
| <strong>Lv.11</strong> || <strong>Lv.12</strong> || <strong>Lv.13</strong> || <strong>Lv.14</strong> || <strong>Lv.15</strong> || <strong>Lv.16</strong> || <strong>Lv.17</strong> || <strong>Lv.18</strong> || <strong>Lv.19</strong> || <strong>Lv.20</strong>
 
|-
 
{{#if: {{{L11|}}}|{{{L11|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L12|}}}|{{!}}{{{L112|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L13|}}}|{{!}}{{{L13|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L14|}}}|{{!}}{{{L14|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L15|}}}|{{!}}{{{L15|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L16|}}}|{{!}}{{{L16|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L17|}}}|{{!}}{{{L17|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L18|}}}|{{!}}{{{L18|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L19|}}}|{{!}}{{{L19|}}}{{!}}|}}<!--
 
 
 
-->{{#if: {{{L20|}}}|{{!}}{{{L20|}}}|}}<!--
 
 
 
-->{{#if: {{{NA2|}}}|{{!}}colspan="10" class="text-center"{{!}}{{{NA2|}}}|}}
 
|-
 
|}
 

Latest revision as of 23:46, 1 May 2020


Used with the Rings template. Adds the effects per level table in the ring "card".

Template overview:

Can be displayed in a vertical format or a horizontal format.

Vertical:
{{RingMats
| Effects per level
| true=1
| L1 =
| L2 = 
| L3 = 
| L4 = 
| L5 = 
| L6 = 
| L7 = 
| L8 = 
| L9 = 
| L10 = 
| L11 =
| L12 = 
| L13 = 
| L14 = 
| L15 = 
| L16 = 
| L17 = 
| L18 = 
| L19 = 
| L20 = 
}}

Horizontal:
{{RingMats | Effects per level | true=1 | L1 = | L2 = | L3 = | L4 = | L5 = | L6 = | L7 = | L8 = | L9 = | L10 = | L11 = | L12 = | L13 = | L14 = | L15 = | L16 = | L17 = | L18 = | L19 = | L20 = }}

The template follows the basic principle of Variable = Value. You are required to specify all of the variables in order to make this template function.

If you want to display a 10 column long "Not Applicable" value instead of an individual value, you can do so by setting true=1 to false=1 and using NA2 = N/A instead of the normal variables.

Template usage using the horizontal method (vertical works too):

{{RingMats | Effects per level | false=1 | NA = N/A }}