Jump to content

Template:Note/faq: Difference between revisions

From Sugar Labs
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 01:35, 30 January 2011

Bold headword
extended helpful tip

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)
}