Difference between revisions of "Template:Machine"
(test hiding empty ipv6 field) |
|||
(8 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={{#ifeq:{{{IPv6}}}|Yes| | + | </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" | ||
|- 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 29: | Line 31: | ||
| [[IPv4::10.0.20.{{{ID|}}}]] | | [[IPv4::10.0.20.{{{ID|}}}]] | ||
{{!}}- | {{!}}- | ||
− | {{# | + | {{#ifeq: {{{IPv6}}}|Yes| |
! style="background-color:#DDDDDD;" {{!}} IPv6 | ! style="background-color:#DDDDDD;" {{!}} IPv6 | ||
{{!}} {{#ifeq:{{{IPv6}}}|Yes|2a02:898:109:2012::20:{{{ID}}}|}} | {{!}} {{#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}}}|}} | ||
}} | }} | ||
|- | |- |
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.