Template:Note/faq: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
if _local_variable is not None: | if _local_variable is not None: | ||
this_code_will_execute(self, _local_variable) | this_code_will_execute(self, _local_variable) | ||
</nowiki> | }</nowiki> | ||
[[Category:Admonition template|faq]] | [[Category:Admonition template|faq]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:35, 30 January 2011
Usage
{{Admon/faq|Bold headword (optional)|extended helpful tip text}}
real example: Template:Admon/faq
function () {
"""This is the __doc__ str"""
_local_variable = 'set here'
if _local_variable is not None:
this_code_will_execute(self, _local_variable)
}