is an option for TemplateBox that specifies how the box is to be evaluated.


InterpretationFunction
is an option for TemplateBox that specifies how the box is to be evaluated.
Details

- InterpretationFunction takes a function that produces a box expression.
- TemplateBox parameters are substituted into the function to create the box expression that is sent to the kernel when the box is evaluated.
- The function must be specified as a simple pure function that does not require further evaluation to resolve.
Examples
open all close allBasic Examples (1)
Make a TemplateBox that displays with a frame but evaluates as the contents of the frame:
Properties & Relations (1)
A cell with TextClipboardType"InputText" will copy the interpretation to an external text editor:
fowl
With TextClipboardType"PlainText", the display will be copied instead:
fish
Related Guides
History
Text
Wolfram Research (2020), InterpretationFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/InterpretationFunction.html.
CMS
Wolfram Language. 2020. "InterpretationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InterpretationFunction.html.
APA
Wolfram Language. (2020). InterpretationFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InterpretationFunction.html
BibTeX
@misc{reference.wolfram_2025_interpretationfunction, author="Wolfram Research", title="{InterpretationFunction}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/InterpretationFunction.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_interpretationfunction, organization={Wolfram Research}, title={InterpretationFunction}, year={2020}, url={https://reference.wolfram.com/language/ref/InterpretationFunction.html}, note=[Accessed: 11-August-2025]}