⧼vector-jumptocontent⧽

EPScript/Examples: Difference between revisions

From EPrints Documentation
Moj (talk | contribs)
No edit summary
 
Moj (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{Navigate-Least|Section=EPScript|Curr=Examples|Prev=XML Syntax}}
= Examples =
= Examples =



Revision as of 15:44, 4 October 2006

Template:Navigate-Least

Examples

Pluralising the editors of a book:


<if test="type = 'book' and is_set(editors)">
  <print expr="editors" />, (ed<if test="length(editors) gt 1">s</if>
</if>