Template:Plugin: Difference between revisions
Jump to navigation
Jump to search
missing bracets |
+{{Documentation}} |
||
| Line 31: | Line 31: | ||
}} | }} | ||
}} | }} | ||
}}]]<nowiki/></includeonly><noinclude>{{ | }}]]<nowiki/></includeonly><noinclude> | ||
{{Documentation}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> | |||
Revision as of 18:49, 12 August 2013
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}} | [[Plugin:{{{2}}}/AIM |{{{2}}}]] |
| {{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}} | [[Plugin:{{{2}}}/AIM |{{{2}}}]], [[Plugin:{{{2}}}/Facebook |{{{2}}}]], [[Plugin:{{{2}}}/Jabber |{{{2}}}]] |
| The above documentation is transcluded from Template:Plugin/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |