User:Goraf/hPluginLink: Difference between revisions
Jump to navigation
Jump to search
(Todo - removed) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
maybe a little comment | maybe a little comment | ||
--><includeonly>{{#vardefine:PluginFileName | {{{1}}}}} | --><includeonly>{{ | ||
#vardefine:PluginFileName | {{{1}}} | |||
}}{{ | |||
#vardefine:suffix | /{{#var:PluginLang}} | |||
|#default = Wrong "form" parameter | }}{{User:Goraf/PluginInfo|}}{{ | ||
|list = {{#if: {{#var:Type}} | #switch: {{#var:Form}} | ||
| {{#ifeq: {{#var:Type}} | rest | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{User:Goraf/PluginLink/List|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{User:Goraf/PluginLink/List|}} |}} }} | |#default = Wrong "form" parameter | ||
| {{User:Goraf/PluginLink/List|}} }} | |list = {{ | ||
|download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{#if: {{#var:Type}} | #if: {{#var:Type}} | ||
| {{#ifeq: {{#var:Type}} | rest | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{User:Goraf/PluginLink/Download|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{User:Goraf/PluginLink/Download|}} |}} }} | |{{ | ||
| {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | | #ifeq: {{#var:Type}} | rest | ||
|links = {{#if: {{#var:Type}} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | * [[Plugin:{{#var:PluginFileName}}{{#var:suffix}} | {{#var:PluginFileName}}]] |}} |}} | |{{ | ||
#if: {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
| | |||
| {{User:Goraf/PluginLink/List|}} | |||
}} | |||
|{{ | |||
#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
| {{User:Goraf/PluginLink/List|}} | |||
| | |||
}} | |||
}} | |||
|{{ <!-- display protocols and plugins without "type" --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
|{{ | |||
#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | protocol | |||
| {{User:Goraf/PluginLink/List|}} | |||
| | |||
}} | |||
| {{User:Goraf/PluginLink/List|}} | |||
}} | |||
}} | |||
|download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{ | |||
#if: {{#var:Type}} | |||
|{{ | |||
#ifeq: {{#var:Type}} | rest | |||
|{{ | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
| | |||
| {{User:Goraf/PluginLink/Download|}} | |||
}} | |||
|{{ | |||
#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
| {{User:Goraf/PluginLink/Download|}} | |||
| | |||
}} | |||
}} | |||
|{{ <!-- display protocols and plugins without "type" --> | |||
#if: {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
|{{ | |||
#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | protocol | |||
| {{User:Goraf/PluginLink/Download|}} | |||
| | |||
}} | |||
| {{User:Goraf/PluginLink/Download|}} | |||
}} | |||
}} | |||
|links = {{ | |||
#if: {{#var:Type}} | |||
|{{ | |||
#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | |||
|* [[Plugin:{{#var:PluginFileName}}{{#var:suffix}} | {{#var:PluginFileName}}]] {{ | |||
#var: {{#var:PluginFileName}} | |||
}} | |||
| | |||
}} | |||
| | |||
}} | |||
}}<nowiki/></includeonly><noinclude> | }}<nowiki/></includeonly><noinclude> | ||
</noinclude> | </noinclude> |
Latest revision as of 08:56, 27 May 2013