Template:Hint: Difference between revisions

From Alpine Linux
(Reversed parm order)
(Undo revision 6446 by Dubiousjim (talk))
Line 4: Line 4:
====Example====
====Example====


<nowiki>{{Hint|explanation|displayed term}}</nowiki>
<nowiki>{{Hint|term|explanation}}</nowiki>


produces:
produces:


{{Hint|explanation|displayed term}}
{{Hint|term|explanation}}


<!-- <span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}} class="help">{{{2}}}</span> -->
<!-- <span title="{{{2}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}} class="help">{{{1}}}</span> -->


</noinclude><includeonly><abbr title="{{{1}}}">{{{2}}}</abbr></includeonly>
</noinclude><includeonly><abbr title="{{{2}}}">{{{1}}}</abbr></includeonly>

Revision as of 13:37, 7 March 2012

Template Documentation for Hint

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

An inline element with a pop-up hint.

Example

{{Hint|term|explanation}}

produces:

term