Jump to content

Template:Anontools: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Move IPv4 tools to a subtemplate, so this can select between IPv4 and IPv6 versions of the tools
more efficient code, without using Template:Strfind short per suggestion of User:Matma Rex
Line 1: Line 1:
{{#ifexpr:{{strfind short|{{{1}}}|:|1}}<=0
{{#iferror: {{#expr:{{{1}}}}}
| {{anontools/ipv4|{{{1}}}}}
| {{anontools/ipv6|{{{1}}}}}
| {{anontools/ipv6|{{{1}}}}}
| {{anontools/ipv4|{{{1}}}}}
}}<noinclude>
}}<noinclude>



Revision as of 19:24, 10 June 2012