Difference between revisions of "Template:Machine"
(20 intermediate revisions by 2 users 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={{# | + | </noinclude><includeonly>{{#set:IPv6={{#ifeq:{{{IPv6}}}|Yes|2001:470:7894::{{{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" | ||
|- style="font-size:150%; background: #CCCCCC; text-align:center;" | |- style="font-size:150%; background: #CCCCCC; text-align:center;" | ||
− | ! colspan=2 | {{ | + | ! colspan=2 | {{PAGENAME}} |
|- style="text-align:center;" | |- style="text-align:center;" | ||
{{#if:{{{picture|}}}| | {{#if:{{{picture|}}}| | ||
Line 27: | 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;" | + | {{#ifeq: {{{IPv6}}}|Yes| |
− | + | ! 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 | ||
Line 38: | Line 53: | ||
|- | |- | ||
! style="background-color:#DDDDDD;" | Contact | ! style="background-color:#DDDDDD;" | Contact | ||
− | | {{# | + | | {{#arraymap:{{{Contact|}}}|,|x|[[Contact::User:x|x]]}} |
|} | |} | ||
[[Category:Machines]] | [[Category:Machines]] | ||
</includeonly> | </includeonly> |
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.