Template:Mediawiki
From FORwiki
(Difference between revisions)
(Created page with '{{SERVERNAME}} {{ #ifeq: {{SERVERNAME}} | www.mediawiki.org | {{{1}}}}}} | [http://www.mediawiki.org/wiki/{{urlencode:{{{1}}}}} {{{2|{{{1}}}}}}] }}<noinclude>...') |
|||
(4 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
- | |||
{{ #ifeq: | {{ #ifeq: | ||
{{SERVERNAME}} | {{SERVERNAME}} | ||
- | | | + | | forwiki.eu |
| [[{{{1}}}|{{{2|{{{1}}}}}}]] | | [[{{{1}}}|{{{2|{{{1}}}}}}]] | ||
- | | [http:// | + | | [http://forwiki.eu/{{urlencode:{{{1}}}}} {{{2|{{{1}}}}}}] |
}}<noinclude> | }}<noinclude> | ||
---- | ---- | ||
This template links to a page on from the [[Help:Contents|Help pages]]. The template has two parameters: | This template links to a page on from the [[Help:Contents|Help pages]]. The template has two parameters: | ||
- | # Pagename, optionally preceded by an interwiki link prefix valid on | + | # Pagename, optionally preceded by an interwiki link prefix valid on forwiki.eu |
# (optional) Link description | # (optional) Link description | ||
{{ #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 | + | | 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 | ||
- | * on | + | * 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.}} | ||
+ | </noinclude> | ||
+ | <noinclude> | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Current revision as of 00:37, 3 December 2009
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