Template:PluginLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(new Template:PluginLink) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:PluginFileName | {{{1}}}}}{{#vardefine:suffix | /{{#var:PluginLang}}}}{{PluginInfo|}}{{#switch: {{#var:Form}} | |||
| | |#default = Wrong "form" parameter | ||
|list = {{#if: {{#var:Type}} | |||
| {{#ifeq: {{#var:Type}} | other | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{PluginLink/List|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{PluginLink/List|}} |}} }} | |||
| {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/List|}} }} }} | |||
|download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{#if: {{#var:Type}} | |||
| {{#ifeq: {{#var:Type}} | other | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{PluginLink/Download|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{PluginLink/Download|}} |}} }} | |||
| {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/Download|}} }} }} | |||
}}<nowiki/></includeonly><noinclude> | |||
{{Todo | Commentary}} | |||
</noinclude> |
Revision as of 20:27, 19 March 2013
Todo: Commentary