TemplateSequence
TemplateSequence[body,list]
represents an element of a template object that yields a sequence consisting of body applied to each element in list.
Details and Options
- When a template containing TemplateSequence[body,list] is applied, the TemplateSequence is effectively expanded to Map[TemplateApply[body,#]&,list].
- TemplateSequence has the following options:
-
InsertionFunction Inherited function to apply before inserting each element Delimiters Sequence[] delimiters to insert between elements DefaultValue Sequence[] default content to render if the sequence is empty - In an XML template, TemplateSequence can be indicated using <wolfram:sequence>...</wolfram:sequence>.
- A separator can be given by using attribute delimiters='…'.
Examples
open allclose all
Wolfram Research (2014), TemplateSequence, Wolfram Language function, https://reference.wolfram.com/language/ref/TemplateSequence.html.
Text
Wolfram Research (2014), TemplateSequence, Wolfram Language function, https://reference.wolfram.com/language/ref/TemplateSequence.html.
CMS
Wolfram Language. 2014. "TemplateSequence." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TemplateSequence.html.
APA
Wolfram Language. (2014). TemplateSequence. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TemplateSequence.html