Actions

Template

Mwxlink

From Joomla! Documentation

Revision as of 11:47, 9 May 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}.tar.gz   - Info

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents

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
Parameters
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