Template:Plugin/doc: Difference between revisions
Jump to navigation
Jump to search
(from old docs) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}}{{PageLang|en}} | ||
Creates link to plugin's page. Link will lead to page in user's interface language; if it doesn't exist, then to page in fallback language or to English one in the end. So it should always lead to valid, existing page (in case page in base language exists – like it should). | |||
== Usage == | == Usage == | ||
==== Single link ==== | ==== Single link ==== | ||
Line 16: | Line 13: | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
| <nowiki>{{Plugin|AIM}}</nowiki> || {{Plugin | | <nowiki>{{Plugin|AIM}}</nowiki> || {{Plugin|AIM}} | ||
|- | |- | ||
| <nowiki>{{Plugin|AIM|AIM Protocol}}</nowiki> || {{Plugin | | <nowiki>{{Plugin|AIM|AIM Protocol}}</nowiki> || {{Plugin|AIM|AIM Protocol}} | ||
|} | |} | ||
Line 29: | Line 26: | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
| <nowiki>{{While|tpl=Plugin|AIM|Facebook|Jabber}}</nowiki> || {{While|tpl=Plugin | | <nowiki>{{While|tpl=Plugin|AIM|Facebook|Jabber}}</nowiki> || {{While|tpl=Plugin|AIM|Facebook|Jabber}} | ||
|} | |} | ||
<includeonly> | <includeonly> | ||
[[Category:Formatting and function templates]] | |||
</includeonly> | </includeonly> |
Latest revision as of 16:29, 3 February 2018
This is a documentation subpage for Template:Plugin . |
Creates link to plugin's page. Link will lead to page in user's interface language; if it doesn't exist, then to page in fallback language or to English one in the end. So it should always lead to valid, existing page (in case page in base language exists – like it should).
Usage
Single link
{{Plugin | Plugin name | Link name (optional) }}
You type | You get |
---|---|
{{Plugin|AIM}} | AIM |
{{Plugin|AIM|AIM Protocol}} | AIM Protocol |
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 |