Main Page

Difference between revisions of "Template:RingMats"

From Arks-Visiphone
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#if: {{{true|}}}|<div class="table-responsive-md">
 
{{#if: {{{true|}}}|<div class="table-responsive-md">
 
<table class="table wikitable table-bordered">
 
<table class="table wikitable table-bordered">
 +
                <tr>
 +
                      <th class="text-center" ><span style="vertical-align:top;writing-mode:vertical-rl;text-orientation:sideways;transform:rotate(180deg);">{{{1}}}</span></th>
 +
                </tr>
 
<tr>
 
<tr>
<th></th>
 
 
<th scope="col">Lv.1</th>
 
<th scope="col">Lv.1</th>
 
<th scope="col">Lv.2</th>
 
<th scope="col">Lv.2</th>
Line 10: Line 12:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td></td>
 
 
<td class="text-center">{{{L1}}}</td>
 
<td class="text-center">{{{L1}}}</td>
 
<td class="text-center">{{{L2}}}</td>
 
<td class="text-center">{{{L2}}}</td>
Line 18: Line 19:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th></th>
 
 
<th scope="col">Lv.6</th>
 
<th scope="col">Lv.6</th>
 
<th scope="col">Lv.7</th>
 
<th scope="col">Lv.7</th>
Line 26: Line 26:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td></td>
 
 
<td class="text-center">{{{L6}}}</td>
 
<td class="text-center">{{{L6}}}</td>
 
<td class="text-center">{{{L7}}}</td>
 
<td class="text-center">{{{L7}}}</td>
Line 34: Line 33:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th class="text-center" ><span style="vertical-align:top;writing-mode:vertical-rl;text-orientation:sideways;transform:rotate(180deg);">{{{1}}}</span></th>
 
 
<th scope="col">Lv.11</th>
 
<th scope="col">Lv.11</th>
 
<th scope="col">Lv.12</th>
 
<th scope="col">Lv.12</th>

Revision as of 09:48, 23 April 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 }}