Difference between revisions of "Template:IP Range/IP2Int"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#expr:((((( | {{#expr:((((( | ||
{{#explode:{{{1}}}.0|.|0}} * | {{#explode:{{{1}}}.0|.|0}} * 256) + | ||
{{#explode:{{{1}}}.0.0|.|1}}) * | {{#explode:{{{1}}}.0.0|.|1}}) * 256) + | ||
{{#explode:{{{1}}}.0.0.0|.|2}}) * | {{#explode:{{{1}}}.0.0.0|.|2}}) * 256) + | ||
{{#explode:{{{1}}}.0.0.0.0|.|3}} | {{#explode:{{{1}}}.0.0.0.0|.|3}} | ||
}} | }} | ||
Line 12: | Line 12: | ||
|{{{{PAGENAME}}|0.0.0.0}} | |{{{{PAGENAME}}|0.0.0.0}} | ||
|- | |- | ||
|{{{{PAGENAME}}|0.0.0. | |{{{{PAGENAME}}|0.0.0.255}} | ||
|- | |- | ||
|{{{{PAGENAME}}|0.0. | |{{{{PAGENAME}}|0.0.255.255}} | ||
|- | |- | ||
|{{{{PAGENAME}}|0. | |{{{{PAGENAME}}|0.255.255.255}} | ||
|- | |- | ||
|{{{{PAGENAME}}| | |{{{{PAGENAME}}|255.255.255.255}} | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 14:03, 24 April 2007
0
|
255
|
65535
|
16777215
|
4294967295
|