Template:Mediawiki
From FORwiki
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 12: | Line 12: | ||
{{ #ifeq: | {{ #ifeq: | ||
{{SERVERNAME}} | {{SERVERNAME}} | ||
- | | | + | | forwiki.eu |
| This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Foresight Wiki: | | This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Foresight Wiki: | ||
* on external sites, it creates an external link | * on external sites, it creates an external link | ||
Line 18: | Line 18: | ||
'''All''' links from the Help namespace to other parts of the Foresight Wiki should use this template.}} | '''All''' links from the Help namespace to other parts of the Foresight Wiki should use this template.}} | ||
+ | </noinclude> | ||
+ | <noinclude> | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Current revision as of 00:37, 3 December 2009
[[{{{1}}}|{{{1}}}]]
This template links to a page on from the Help pages. The template has two parameters:
- Pagename, optionally preceded by an interwiki link prefix valid on forwiki.eu
- (optional) Link description
This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Foresight Wiki:
- on external sites, it creates an external link
- on Foresight Wiki, it creates an internal or interwiki link
All links from the Help namespace to other parts of the Foresight Wiki should use this template.