Template:UI Object Template

From HSYCO
Revision as of 17:12, 19 December 2014 by Gionatan (talk | contribs) (Created page with "== Template == The template is html code that is applied to every item. $<n> (with n starting from 1) is used to indicate how to include each part of the item's label inside t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template

The template is html code that is applied to every item. $<n> (with n starting from 1) is used to indicate how to include each part of the item's label inside the html. A label can specify more than one part using the pipe character: |

E.g. If the template is:

<table><tr><td>$1</td><td>$2</td></table>

and the labels are:

a|one,b|two

the resulting items will have the following html code:

<table><tr><td>a</td><td>one</td></table>

and

<table><tr><td>b</td><td>two</td></table>