Template:Alignment grid

From Heroes

(Difference between revisions)
m
m
Line 5: Line 5:
   </tr>
   </tr>
   <tr>
   <tr>
-
     <td style="{{ #ifeq: {{{lg|}}} | on | {{Alignment grid/on}} | {{Alignment grid/off}} }}">[[Lawful Good|LG]]</td>
+
     <td style="{{Alignment grid/{{{lg}}}}}">[[Lawful Good|LG]]</td>
     <td style="{{ #ifeq: {{{ng|}}} | on | {{Alignment grid/on}} | {{Alignment grid/off}} }}">[[Neutral Good|NG]]</td>
     <td style="{{ #ifeq: {{{ng|}}} | on | {{Alignment grid/on}} | {{Alignment grid/off}} }}">[[Neutral Good|NG]]</td>
     <td style="{{ #ifeq: {{{cg|}}} | on | {{Alignment grid/on}} | {{Alignment grid/off}} }}">[[Chaotic Good|CG]]</td>
     <td style="{{ #ifeq: {{{cg|}}} | on | {{Alignment grid/on}} | {{Alignment grid/off}} }}">[[Chaotic Good|CG]]</td>

Revision as of 22:23, 24 February 2008

Allineamenti
LG NG CG
LN N CN
LE NE CE

Usage

Use this template to provide a grid of alignments, to show which of them are applicable for a suitable purpose. For example, use the grid to show which alignments a druid may take.

{{Alignment grid
| on  | on  | on
| off | off | off
| on  | off | off
}}

This will produce:

Allineamenti
LG LN LE
NG N NE
CG CN CE

Simply place the word "on" in any location that you want to turn on.

Personal tools
Siti ufficiosi: