Difference between revisions of "Template:T chart"

From Pathfinder Wiki
Line 1: Line 1:
<!--This template will create a T-chart.  The left and right headings are specified in the variables left_heading and right_heading.  Each row is specified with left_N and right_N, where N is a number from 1-6, and left_N shows up in the left column, right_N in the right column.
+
<!--This template will create a T-chart.  The left and right headings are specified in the variables left_heading and right_heading.  Each row is specified with left_N and right_N, where N is a number from 1-6, and lef
 
-->
 
-->
{| class="wikitable" style="border-width:0;margin: auto;" cellpadding="10"  
+
{| class="wikitable" style="border-width:0;margin: auto;" cellpadding="10"
 
|- bgcolor="#CCCCCC"
 
|- bgcolor="#CCCCCC"
 
!style="text-align:right;border-top:none 4px;border-right:solid 4px;border-bottom:solid 4px;border-left:none;"| {{{left_heading}}}
 
!style="text-align:right;border-top:none 4px;border-right:solid 4px;border-bottom:solid 4px;border-left:none;"| {{{left_heading}}}
Line 7: Line 7:
 
|-
 
|-
 
|style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"| {{{L1}}}
 
|style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"| {{{L1}}}
|style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"| {{{R1}}}{{#if: {{{L2|}}}|
+
|style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"| {{{R1}}}
 +
 
 +
{{#if: {{{L2|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L2}}}
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L2}}}
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R2}}}| }}{{#if:{{{L3|}}}|
+
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R2}}}| }}
 +
 
 +
{{#if:{{{L3|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L3}}}
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L3}}}
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R3}}}| }}{{#if:{{{L4|}}}|
+
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R3}}}| }}
 +
 
 +
{{#if:{{{L4|}}}|
 
{{!}}-
 
{{!}}-
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L4}}}
+
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L4|}}}
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R4}}}| }}{{#if:{{{L5|}}}|
+
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R4}}}| }}
 +
 
 +
{{#if:{{{L5|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L5}}}
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L5}}}
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{L5}}}| }}{{#if:{{{L6|}}}|
+
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{L5}}}| }}
 +
 
 +
{{#if:{{{L6|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L6}}}
 
{{!}}style="text-align:right;border-top:dashed 4px;border-right:solid 4px;border-bottom:none;border-left:none;"{{!}} {{{L6}}}
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R6}}}|}}
+
{{!}}style="text-align:left; border-top:dashed 4px;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R6}}}| }}
 
|}
 
|}

Revision as of 01:10, 9 May 2020

{{{left_heading}}} {{{right_heading}}}
{{{L1}}} {{{R1}}}