Difference between revisions of "Template:T chart"

From Pathfinder Wiki
 
(17 intermediate revisions by the same user not shown)
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:dashed;border-bottom:solid 4px;border-left:none;"| {{{left_heading}}}
!style="text-align:left; border-top:none 4px;border-left:solid 4px;border-bottom:solid 4px;border-right:none;"| {{{right_heading}}}
+
!style="text-align:left; border-top:none 4px;border-left:dashed;border-bottom:solid 4px;border-right:none;"| {{{right_heading}}}
 
|-
 
|-
|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:none;border-right:dashed;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:none;border-left:dashed;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:none;border-right:dashed;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:none;border-left:dashed;border-bottom:none;border-right:none;"{{!}} {{{R2}}}| }}
 +
{{#if:{{{L3|}}}|
 +
{{!}}- style="vertical-align:top;"
 +
{{!}}style="text-align:right;border-top:none;border-right:dashed;border-bottom:none;border-left:none;"{{!}} {{{L3}}}
 +
{{!}}style="text-align:left; border-top:none;border-left:dashed;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;"{{!}} {{{L3}}}
+
{{!}}style="text-align:right;border-top:none;border-right:dashed;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;"{{!}} {{{R3}}}| }}{{#if:{{{L4|}}}|
+
{{!}}style="text-align:left; border-top:none;border-left:dashed;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;"{{!}} {{{L4|}}}
+
{{!}}style="text-align:right;border-top:none;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;"{{!}} {{{R4}}}| }}{{#if:{{{L5|}}}|
+
{{!}}style="text-align:left; border-top:none;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R5}}}| }}
 +
{{#if:{{{L6|}}}|
 
{{!}}-
 
{{!}}-
{{!}}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:none;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;"{{!}} {{{L5}}}| }}{{#if:{{{L6|}}}|
+
{{!}}style="text-align:left; border-top:none;border-left:solid 4px;border-bottom:none;border-right:none;"{{!}} {{{R6}}}| }}
{{!}}-
 
{{!}}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}}}|}}
 
 
|}
 
|}

Latest revision as of 21:46, 9 May 2020

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