Jump to content

Template:Tip: Difference between revisions

m
+custom pop-up text
mNo edit summary
m (+custom pop-up text)
Line 1: Line 1:
<noinclude>This template will add pop-up tip.
<noinclude>This template will add pop-up tip for givven word or abbreviations.


'''Usage:'''
'''Usage:'''
<pre>{{tip|}}</pre>
<pre>{{tip|}}</pre>


'''Example:'''
'''Examples:'''
<pre>It was said in {{tip|SD}} that...</pre>


'''Result:'''
It was said in '''<nowiki>{{tip|SD}}</nowiki>''' that...
* ''Result'': It was said in {{tip|SD}} that...


It was said in {{tip|SD}} that...
It was said in '''<nowiki>{{tip2|SD|See Blavatsky H.P. "The Secret Doctrine" (1888)}}</nowiki>''' that...
* ''Result'': It was said in {{tip|SD|See Blavatsky H.P. 'The Secret Doctrine' (1888)}} that...


== See also ==
== See also ==
Line 71: Line 72:
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
  | Zohar = {{#vardefine:tip|'Zohar' commentaries}} {{#vardefine:text|{{{1|}}}}}
  | #default = {{#vardefine:tip|}}{{#vardefine:text|{{{1|}}}}}
  | #default = {{#vardefine:tip|}}{{#vardefine:text|{{{1|}}}}}
}}{{#varexists: tip|<span style="border-bottom:1px dotted gray; cursor:help;" title="{{#var:tip}}">{{#var:text}}</span>|{{{1|}}}}}</includeonly>
}}<!--
-->{{#varexists: tip|<span style="border-bottom:1px dotted gray; cursor:help;" title="{{{2|{{#var:tip}}}}}">{{#var:text}}</span>|{{{1|}}}}}</includeonly>