Difference between revisions of "Template:Template Function"
From TMM Wiki
Jump to navigationJump to searchm |
m (Template Function moved to Template:Template Function) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
= example_function = | = example_function = | ||
Briefly describe what the function does. | Briefly describe what the function does. | ||
Line 30: | Line 27: | ||
| ''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" | ||
|} | |} | ||
Latest revision as of 12:41, 21 November 2008
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.