Template:Note/faq: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{message|bgcolor=#f9f6b7|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}<noinclude>'''Bold headword'''<br></noinclude>{{#if:{{{2|}}}|{{{2}}}}}<noinclude>extended | {{message|bgcolor=#f9f6b7|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}<noinclude>'''Bold headword'''<br></noinclude>{{#if:{{{2|}}}|{{{2}}}}}<noinclude>extended helpful tip</noinclude>|image=question-answer.png}}<noinclude> | ||
==Usage== | ==Usage== | ||
<nowiki>{{Admon/help|Bold headword (optional)|extended | <nowiki>{{Admon/help|Bold headword (optional)|extended helpful tip text}}</nowiki> | ||
real example: | real example: | ||
{{Admon/ | {{Admon/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 17: | Line 14: | ||
</nowiki> | </nowiki> | ||
[[Category:Admonition template| | [[Category:Admonition template|faq]] | ||
</noinclude> | </noinclude> | ||