Template:Hint: Difference between revisions

From Alpine Linux
(try #if)
m (Protected "Template:Hint": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
<nowiki>{{Hint|term|explanation}}</nowiki>
<nowiki>{{Hint|term|explanation}}</nowiki>


will produce:
produces:


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


</noinclude><includeonly><abbr title="{{{2}}}">{{#ifeq:{{{1}}}|foo|fulsome|{{{1}}}}}</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