Template:Note/faq: Difference between revisions
No edit summary |
m consolidate categories |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
<nowiki>{{ | <nowiki>{{Note/faq|Bold headword (optional)|extended helpful tip text}}</nowiki> | ||
real example: | real example: | ||
{{ | {{Note/faq|Help tip for pasting code blocks in the wiki:|Put a space in the first column before<code><nowiki> <nowiki></nowiki></code>followed by a block of code with indentations and newlines to preserve the code block formatting. See below:}} | ||
<nowiki>function () { | <nowiki>function () { | ||
"""This is the __doc__ str""" | """This is the __doc__ str""" | ||
| 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: | [[Category:Highlighting template|faq]] | ||
</noinclude> | </noinclude> | ||