Difference between pages "Template:ExternUse" and "Template:Fancynote/Doc"

(Difference between pages)
(Undo revision 5685 by Duncan.britton (talk))
 
 
Line 1: Line 1:
{{#get_web_data:url=http://ports.funtoo.org/packages.xml|format=xml|use xpath|data=desc=/packages/category[@name='{{#var:cat}}']/package[@name='{{#var:pkg}}']/use/flag[@name='{{{1}}}']/text()}}
+
== Example and Usage ==
;<code>{{{1}}}</code>: {{#replace_e:{{#external_value:desc}}|\n|}}
+
Example:
 +
<pre>
 +
{{Fancynote| Note }}
 +
</pre>
 +
 
 +
Will produce:
 +
{{Fancynote| Note }}
 +
 
 +
== See also ==
 +
* [[Template:Fancywarning]]
 +
* [[Template:Fancytip]]
 +
* [[Template:Fancyimportant]]

Latest revision as of 21:18, September 25, 2014

Example and Usage

Example:

{{Fancynote| Note }}

Will produce:

Note

Note 

See also