Examples/Parameter: include (example 4): Difference between revisions
Content added Content deleted
imported>FrozenPlum (This was a tough one to refine and explain, because it's a technicality that needs explaining. Hard to do that in a simple, straight-forward way.) |
imported>FrozenPlum m (Refine this one a bit more) |
||
Line 9: | Line 9: | ||
'''Note:''' Since the last value does not have formatting applied, the comma before it and its value |
'''Note:''' Since the last column value does not have formatting applied, the comma before it and its value <code>,%%</code> could ''technically'' be left off (specifying an empty <code>,</code> suppresses the value from displaying). Without the comma, the column value would still appear because <code>include</code> automatically adds values as-is to the output, <code>tablerow</code> just allows precise positioning of values ''inside its column's formatting''. However, to add more values ''after that'' one, that column's value would then '''have to''' be specified, simply to hold its position within the comma separated list. For this reason, it is generally good practice with <code>tablerow</code> to put all values from an <code>include</code> statement into the corresponding position of <code>tablerow</code>, it can helps avoid confusion on later edits and/or additions. |
||
<pre> |
<pre> |