Template:Hint: Difference between revisions

From Alpine Linux
(Reversed parm order)
m (Protected "Template:Hint": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
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>

Latest revision as of 08:22, 30 May 2017

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