Template:Plugin/doc

From Miranda NG
< Template:Plugin
Revision as of 18:47, 12 August 2013 by Goraf (talk | contribs) (from old docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a documentation subpage for Template:Plugin .
It contains usage information, categories and other content that is not part of the original template page.


Usage

In the Namespace:Plugin and on pages with language code in the name

If you need to link from plugin page to another plugin page or from pages with language code in the name like Langpacks/en‎.

Single link

{{Plugin | Plugin name | Link name (optional) }}
You type You get
{{Plugin|AIM}} AIM
{{Plugin|AIM|AIM Protocol}} AIM

Using Template:While

{{While | tpl=Plugin | Name of the first plugin | Name of the second plugin | etc. }}
You type You get
{{While|tpl=Plugin|AIM|Facebook|Jabber}} AIM, Facebook, Jabber

Other pages

If you need to link from other pages, you have to specify the language.

Single link

{{Plugin | Language code | Plugin name | Link name (optional) }}
You type You get
{{Plugin|en|AIM}} AIM
{{Plugin|en|AIM|AIM Protocol}} AIM

Using Template:While

{{While | tpl=Plugin | p1=Language code | Name of the first plugin | Name of the second plugin | etc. }}
You type You get
{{While|tpl=Plugin|p1=en|AIM|Facebook|Jabber}} AIM, Facebook, Jabber