User:Goraf/hPluginLink: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
mNo edit summary
(Todo - removed)
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
}}{{
}}{{
   #vardefine:suffix | /{{#var:PluginLang}}
   #vardefine:suffix | /{{#var:PluginLang}}
}}{{User:Goraf/PluginInfo|{{#var:PluginFileName}} }}{{
}}{{User:Goraf/PluginInfo|}}{{
   #switch: {{#var:Form}}
   #switch: {{#var:Form}}
   |#default = Wrong "form" parameter
   |#default = Wrong "form" parameter
Line 31: Line 31:
         }}
         }}
     }}  
     }}  
     | {{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}}}}}}{{
   |download = {{#vardefine:linkBasename|/{{lc:{{#var:PluginFileName}}}}}}{{
Line 48: Line 56:
         }}
         }}
     }}
     }}
     |{{
     |{{ <!-- display protocols and plugins without "type" -->
       #ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | tested
      #if: {{#hashvalue:{{#var:PluginFileName}} |type}}
      |
       |{{
          #ifeq: {{#hashvalue:{{#var:PluginFileName}} |type}} | protocol
          | {{User:Goraf/PluginLink/Download|}}
          |
        }}
       | {{User:Goraf/PluginLink/Download|}}
       | {{User:Goraf/PluginLink/Download|}}
     }}
     }}
Line 58: Line 70:
     |{{
     |{{
       #ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}}
       #ifeq: {{#var:Type}} | {{#hashvalue:{{#var:PluginFileName}} |type}}
       |* [[Plugin:{{#var:PluginFileName}}{{#var:suffix}} | {{#var:PluginFileName}}]]{{
       |* [[Plugin:{{#var:PluginFileName}}{{#var:suffix}} | {{#var:PluginFileName}}]] {{
           #var: {{#var:PluginFileName}}
           #var: {{#var:PluginFileName}}
         }}
         }}
Line 66: Line 78:
   }}
   }}
}}<nowiki/></includeonly><noinclude>
}}<nowiki/></includeonly><noinclude>
{{Todo | Commentary}}
 
</noinclude>
</noinclude>

Latest revision as of 08:56, 27 May 2013