Difference between revisions of "Template:Machine"

From Technologia Incognita
Jump to: navigation, search
m (Reverted edits by Dreamer (talk) to last revision by Arda Xi)
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
|ID=
 
|ID=
 
|IPv6=
 
|IPv6=
 +
|IPchaos=
 +
|IPleiden=
 
|Function=
 
|Function=
 
|Location=
 
|Location=
Line 13: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#set:IPv6={{#ifeq:{{{IPv6}}}|Yes|2a02:898:109:2012::20:{{{ID}}}|}}}}
+
</noinclude><includeonly>{{#set:IPv6={{#ifeq:{{{IPv6}}}|Yes|2001:470:7894::{{{ID}}}|}}}}
 
{{#set:ID={{{ID|}}}}}
 
{{#set:ID={{{ID|}}}}}
 
{| border="2" cellspacing="2" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#FFFFFF; font-size:95%; empty-cells:hide"
 
{| border="2" cellspacing="2" cellpadding="4" rules="all" style="float:right; clear:right; width:370px; margin:5px 0 1em 1em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#FFFFFF; font-size:95%; empty-cells:hide"
Line 28: Line 30:
 
! style="background-color:#DDDDDD;" | IPv4
 
! style="background-color:#DDDDDD;" | IPv4
 
| [[IPv4::10.0.20.{{{ID|}}}]]
 
| [[IPv4::10.0.20.{{{ID|}}}]]
|-
+
{{!}}-
! style="background-color:#DDDDDD;" | IPv6
+
{{#ifeq: {{{IPv6}}}|Yes|
| {{#ifeq:{{{IPv6}}}|Yes|2a02:898:109:2012::20:{{{ID}}}|}}
+
! style="background-color:#DDDDDD;" {{!}} IPv6
 +
{{!}} {{#ifeq:{{{IPv6}}}|Yes|2a02:898:109:2012::20:{{{ID}}}|}}
 +
}}
 +
{{!}}-
 +
{{#ifeq: {{{IPchaos}}}|Yes|
 +
! style="background-color:#DDDDDD;" {{!}} IP at ChaosVPN
 +
{{!}} {{#ifeq:{{{IPchaos}}}|Yes|172.31.186.{{{ID}}}|}}
 +
}}
 +
{{!}}-
 +
{{#ifeq: {{{IPleiden}}}|Yes|
 +
! style="background-color:#DDDDDD;" {{!}} IP at W-Leiden
 +
{{!}} {{#ifeq:{{{IPleiden}}}|Yes|172.17.92.{{{ID}}}|}}
 +
}}
 
|-
 
|-
 
! style="background-color:#DDDDDD;" | Function
 
! style="background-color:#DDDDDD;" | Function

Latest revision as of 08:38, 13 November 2014

This is the "Machine" template. It should be called in the following format:

{{Machine
|Hostname=
|ID=
|IPv6=
|IPchaos=
|IPleiden=
|Function=
|Location=
|Contact=
}}

Edit the page to see the template text.