Difference between revisions of "Template talk:T chart"
From Pathfinder Wiki
Line 37: | Line 37: | ||
Might be able to make a row show up if either Ln or Rn are present by doing something like this: | Might be able to make a row show up if either Ln or Rn are present by doing something like this: | ||
+ | |||
<nowiki> | <nowiki> | ||
{{#ifexpr: {{#len:{{{L2}}}}}|{{#len:{{{R2}}}}}|code for including the row|}} | {{#ifexpr: {{#len:{{{L2}}}}}|{{#len:{{{R2}}}}}|code for including the row|}} | ||
</nowiki> | </nowiki> |
Revision as of 01:41, 9 May 2020
This template makes a T-chart with up to 6 rows (beside the header). The first row is mandatory, as is the left column of each row that's present.
{{T chart |left_heading=Fruit |
|
Might be able to make a row show up if either Ln or Rn are present by doing something like this:
{{#ifexpr: {{#len:{{{L2}}}}}|{{#len:{{{R2}}}}}|code for including the row|}}