07.04.2013 Views

Parts 1 - The Compleat Botanica

Parts 1 - The Compleat Botanica

Parts 1 - The Compleat Botanica

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compleat</strong> <strong>Botanica</strong> - Publication template replacement tags<br />

Replacement tags<br />

Using the software Publishing<br />

Replacement tags inside publishing templates take the form . As the publication parser encounters a<br />

replacement tag, it looks up the current value for the tag and inserts it into the output file. For example, if the current<br />

specimen record being processed is number "S101" and the genus and species are "Alchemilla", and "mollis" the parser<br />

would make these substitutions:<br />

<br />

<br />

Specimen Number <br />

Specimen Name <br />

<br />

<br />

Attributes<br />

<br />

<br />

Specimen Number S101<br />

Specimen Name Alchemilla mollis<br />

<br />

<br />

Template with replacement tags Output file<br />

Replacement tags can accept attributes. Attributes are paired values that take the form . Each replacement tag recognizes certain attributes, and ignores all others. For example,<br />

many tags understand the attributes "text" and "graphics", both of which can take the values "on" or "off". Thus the<br />

replacement tag might take several forms in the template as shown in the table below (where the<br />

current specimen's value for propagule is "Gemmate").<br />

<br />

Template file Output file Browser<br />

Gemmate<br />

Gemmate

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!