Template:External: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (using {{filepath}})
(added documentation)
Line 1: Line 1:
<!-- This template displays the External website icon without it also serving as a link.  If it is desired to use the icon as a link, use the template "External links"
&nbsp;{{filepath:Network.png}}
-->&nbsp;{{filepath:Network.png}}
<includeonly>[[Category:External links]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]<br>
[[Category:External links]]
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<center><big>'''Documentation'''</big></center>
 
This template displays the image "Network.png" to indicate to users that the the link following it is external to CPDL server(s). It also adds the page to [[:Category:External links]].
 
'''Syntax:'''
 
<tt><nowiki>{{external}}[http://www.example.com/ {{pdf}}] {{external}}[http://www.example.net/ {{mid}}]</nowiki></tt>
 
which outputs:
 
{{external}}[http://www.example.com/ {{pdf}}] {{external}}[http://www.example2.net/ {{mid}}]
 
 
'''Note:''' If the external site is the same for all files for the edition, simply use [[Template:Net]], not this template:
 
<tt><nowiki>[http://www.example.com/ {{net}}]</nowiki></tt>
</div>
</noinclude>

Revision as of 10:14, 22 October 2008

 Network.png

Documentation

This template displays the image "Network.png" to indicate to users that the the link following it is external to CPDL server(s). It also adds the page to Category:External links.

Syntax:

{{external}}[http://www.example.com/ {{pdf}}] {{external}}[http://www.example.net/ {{mid}}]

which outputs:

 Network.pngIcon_pdf.gif  Network.pngIcon_snd.gif


Note: If the external site is the same for all files for the edition, simply use Template:Net, not this template:

[http://www.example.com/ {{net}}]