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}}}}}} | ||
{{#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}}}} | ||
{{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0|.}}+{{#var:t}}}}}} | {{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0|.}}+{{#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}}}} | ||
{{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}} | {{#vardefine:s|{{#expr:{{#pos:{{{1}}}.0.0.0.0|.}}+{{#var:t}}}}}}--> | ||
{{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}} | {{#expr:({{#var:c}} * 255) + {{#sub:0|{{#var:s}}|{{#var:t}}}}}} | ||
</includeonly> | </includeonly> |
Revision as of 12:37, 24 April 2007
Expression error: Unexpected * operator.
|
Expression error: Unexpected * operator.
|
Expression error: Unexpected * operator.
|
Expression error: Unexpected * operator.
|
Expression error: Unexpected * operator.
|