Mwxlink: Difference between revisions
From Joomla! Documentation
mNo edit summary |
m 1 revision(s) |
(No difference)
|
Latest revision as of 17:47, 9 May 2008
This documentation is transcluded from Template:Mwxlink/doc.
To discuss this template as a whole, please see JDOC:WTP. If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
Generates a local download link for an Extension used on this server and a link to its homepage at mediawiki.org
Usage
- {{mwxlink|filename}} with homepage link, label "Info"
- {{mwxlink|filename|pagename}} using pagename as homepage link and label
- {{mwxlink|filename|-}} no homepage link
Parameter Name | Parameter Description | req./opt. |
---|---|---|
{{{1}}} | Extension name, also used for the .tgz archive | Required. |
{{{2|}}} | Overrides the extension's pagename at mediawiki.org/wiki/Extension: which defaults to param #1, the extension name. A value of '-' prevents this behavior in case the extension has no such "official" homepage. | Optional. |
{{{3|}}} | An alternate caption for the homepage link. If 2 is '-', adds a note | Optional. |
Examples
Extension name, archive and homepage are idential (typical case)
- {{mwxlink|Cite}}
- gives Cite.tar.gz - Info
Extension has no homepage @ mediawiki. A notice is provided as param #3
- {{mwxlink|Footnote|-|see Cite info}}
- gives Footnote.tar.gz see Cite info
The name of the homepage differes from the extension name and its archive.
- {{mwxlink|Interwiki|Special_page_to_work_with_the_interwiki_table}}
- gives Interwiki.tar.gz - Info