Template:PluginLink: Difference between revisions
Jump to navigation
Jump to search
(new Template:PluginLink) |
(other -> rest) |
||
Line 2: | Line 2: | ||
|#default = Wrong "form" parameter | |#default = Wrong "form" parameter | ||
|list = {{#if: {{#var:Type}} | |list = {{#if: {{#var:Type}} | ||
| {{#ifeq: {{#var:Type}} | | | {{#ifeq: {{#var:Type}} | rest | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{PluginLink/List|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{PluginLink/List|}} |}} }} | ||
| {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/List|}} }} }} | | {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/List|}} }} }} | ||
|download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{#if: {{#var:Type}} | |download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{#if: {{#var:Type}} | ||
| {{#ifeq: {{#var:Type}} | | | {{#ifeq: {{#var:Type}} | rest | {{#if: {{#hashvalue:{{#var:PluginFileName}} |type}} || {{PluginLink/Download|}} }} | {{#ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}} | {{PluginLink/Download|}} |}} }} | ||
| {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/Download|}} }} }} | | {{#ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested || {{PluginLink/Download|}} }} }} | ||
}}<nowiki/></includeonly><noinclude> | }}<nowiki/></includeonly><noinclude> | ||
{{Todo | Commentary}} | {{Todo | Commentary}} | ||
</noinclude> | </noinclude> |
Revision as of 16:25, 20 March 2013
Todo: Commentary