Template:External: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (using {{filepath}}) |
(added documentation) |
||
Line 1: | Line 1: | ||
< | {{filepath:Network.png}} | ||
<includeonly>[[Category:External links]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]<br> | |||
[[ | <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
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:
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}}]