User:Goraf/OtherPlugins: Difference between revisions
Jump to navigation
Jump to search
(form "list" should work to) |
m (revert) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
2. correct this {{User:Goraf/hPluginLink|...}} | 2. correct this {{User:Goraf/hPluginLink|...}} | ||
--><includeonly>{{#vardefine: PluginLang | {{{1}}} }}{{#vardefine: Form | {{{form}}} }}{{#vardefine: Type | {{#if: {{{type|}}} | {{{type}}} | }} }}{{#ifeq: {{#var:Form}} | links | {{(!}} |}} | --><includeonly>{{ | ||
#vardefine: PluginLang | {{{1}}} | |||
}}{{ | |||
#vardefine: Form | {{{form}}} | |||
}}{{ | |||
#vardefine: Type | |||
|{{ | |||
#if: {{{type|}}} | |||
| {{{type}}} | |||
|  | |||
}} | |||
}}{{ <!-- makes arguments have global scope --> | |||
#forargs: d_ | |||
| key | |||
| value | |||
| {{#vardefine: {{#var: key}} |{{#var: value}} }} | |||
}}{{ | |||
#ifeq: {{#var:Form}} | links | |||
| {{(!}} | |||
| | |||
}} | |||
{{User:Goraf/hPluginLink|Chat}} | {{User:Goraf/hPluginLink|Chat}} | ||
{{User:Goraf/hPluginLink|Chess4Net}} | {{User:Goraf/hPluginLink|Chess4Net}} | ||
Line 15: | Line 35: | ||
{{User:Goraf/hPluginLink|SRMM}} | {{User:Goraf/hPluginLink|SRMM}} | ||
{{User:Goraf/hPluginLink|WinterSpeak}} | {{User:Goraf/hPluginLink|WinterSpeak}} | ||
{{#ifeq: {{#var:Form}} | links | {{!)}} |}}<nowiki/></includeonly><noinclude> | {{ | ||
#ifeq: {{#var:Form}} | links | |||
| {{!)}} | |||
| | |||
}}<nowiki/></includeonly><noinclude> | |||
Displays a list of links to the "tested", "other", "dropped" and "notadopted" plugins. | Displays a list of links to the "tested", "other", "dropped" and "notadopted" plugins. | ||
Line 26: | Line 50: | ||
<pre>{{OtherPlugins|language|form=links|type=|}}</pre> | <pre>{{OtherPlugins|language|form=links|type=|}}</pre> | ||
<pre> | <pre> | ||
language | language - language code | ||
form | form - | ||
type | type - type of the plugins you want to display** | ||
</pre> | </pre> | ||
<nowiki>*</nowiki> Supported types: <tt>tested</tt>, <tt>other</tt>, <tt> | <nowiki>*</nowiki> Supported forms: <tt>list</tt>, <tt>links</tt>, (<tt>download</tt> is not supported) | ||
<nowiki>**</nowiki> Supported types: <tt>tested</tt>, <tt>other</tt>, <tt>dropped</tt>, <tt>notadopted</tt> | |||
</noinclude> | </noinclude> |
Latest revision as of 01:16, 6 April 2013
Displays a list of links to the "tested", "other", "dropped" and "notadopted" plugins.
Code description
The wiki "table" marks prevents the emergence of a new line before the first link and maintains a constant spacing between the lines of the links.
Usage
{{OtherPlugins|language|form=links|type=|}}
language - language code form - type - type of the plugins you want to display**
* Supported forms: list, links, (download is not supported)
** Supported types: tested, other, dropped, notadopted