List | The key-value list to convert into a table. |
KeyDivClassName | Optional. Name to use for the value of the class attribute in the div tag for the key. Defaults to "KeyDiv". |
ValueDivClassName | Optional. Name to use for the value of the class attribute in the div tag for the value. Defaults to "ValueDiv". |
QuasiTableFromKeyValueList {key1 value1 key2 value2 key3 value3} section_header section_content
-- will create a table that looks like this:
As you can see, it is a header/key followed by content/value.
Note that, in order to get styling, you will want to set the div classes by setting KeyDivClassName
and ValueDivClassName
and then provide your own CSS (alternatively, you can leave them blank).
% QuasiTableFromKeyValueList {key1 value1 key2 value2}
<div class="KeyDiv">key1</div>
<div class="ValueDiv">value1</div>
<div class="KeyDiv">key2</div>
<div class="ValueDiv">value2</div>