Difference between revisions of "Template:IP Range/IP2Int"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{#vardefine:c|{{#sub:0|{{#var:s}}}}}} | {{#vardefine:c|{{#sub:0|{{#var:s}}}}}} | ||
{{#vardefine:t|{{#expr:{{#pos:{{{1}}}.0.0|.}}+{{#var:s}}}}}} | {{#vardefine:t|{{#expr:{{#pos:{{{1}}}.0.0|.}}+{{#var:s}}}}}} | ||
{{#var:s}} | |||
{{#var:t}} | |||
<!--{{#vardefine:c|{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}}}} | <!--{{#vardefine:c|{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}}}} | ||
{{#vardefine:t|{{#var:s}}}} | {{#vardefine:t|{{#var:s}}}} | ||
Line 9: | Line 11: | ||
{{#vardefine:t|{{#var:s}}}} | {{#vardefine:t|{{#var:s}}}} | ||
{{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}} | {{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}} | ||
{{#expr: | {{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}}--> | ||
({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 12:38, 24 April 2007
1 2
|
1 2
|
1 2
|
1 2
|
3 6
|