Difference between revisions of "Template:Template Function"
From TMM Wiki
Jump to navigationJump to searchm |
m |
||
Line 30: | Line 30: | ||
| ''None.'' | | ''None.'' | ||
| param2="foo+bar" | | param2="foo+bar" | ||
+ | |- | ||
+ | | [[assign_prefix]] | ||
+ | | Prefix output variables with this word. (Click link for details) | ||
+ | | Any valid Smarty variable name | ||
+ | | ''None.'' (No prefix is used) | ||
+ | | assign_prefix="myvar" | ||
|} | |} | ||
Revision as of 12:30, 3 November 2008
Please see NATSv4 Template Functions for the list of functions.
@FIXME Add other bracked: {NATS4_Template_Functions}
example_function
Briefly describe what the function does.
Alias: my_alias
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
param1 | an example parameter | 1, 2, or 3 (exclusive) | param1="1" | param1="3" |
param2 | another example parameter | URL encoded string | None. | param2="foo+bar" |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
Output
Describe output here.
Notes
Function may....
See Also
- Optional section in list format; remove entire section if not used.