Forskjell mellom versjoner av «Mal:Infobox server»

Fra Bitraf
Hopp til navigering Hopp til søk
Linje 11: Linje 11:
 
| data3  = {{#if:{{{hosted_by|}}}|[[Hosted by:: {{{ hosted_by }}} ]]}}
 
| data3  = {{#if:{{{hosted_by|}}}|[[Hosted by:: {{{ hosted_by }}} ]]}}
  
| header10 = {{#if:{{{public_ipv6|}}}{{{enable_dns|}}}|Nettverk}}
+
| header10 = {{#if:{{{public_ipv4|}}}{{{ipv4|}}}{{{ipv4_1|}}}{{{ipv6|}}}{{{ipv6_1|}}}{{{enable_dns|}}}|Nettverk}}
| label11 = {{#if:{{{public_ipv6|}}}|Public IPv6}}
+
 
| data11  = {{#if:{{{public_ipv6|}}}|[[Has IPv6:: {{{ public_ipv6 }}} ]]}}
+
| label11 = {{#if:{{{public_ipv4|}}}|Public IPv4}}
| label12 = {{#if:{{{enable_dns|}}}|In DNS}}
+
| data11  = {{#if:{{{public_ipv4|}}}|[[Has IPv4:: {{{ public_ipv4 }}} ]]}}
| data12 = {{#if:{{{enable_dns|}}}|[[Has DNS entry:: {{{ enable_dns }}} ]]}}
+
| label12 = {{#if:{{{ipv4|}}}|IPv4}}
 +
| data12  = {{#if:{{{ipv4|}}}|[[Has IPv4:: {{{ ipv4 }}} ]]}}
 +
| label13 = {{#if:{{{ipv4_1|}}}|IPv4}}
 +
| data13  = {{#if:{{{ipv4_1|}}}|[[Has IPv4:: {{{ ipv4_1 }}} ]]}}
 +
 
 +
| label11 = {{#if:{{{ipv6|}}}|IPv6}}
 +
| data11  = {{#if:{{{ipv6|}}}|[[Has IPv6:: {{{ ipv6 }}} ]]}}
 +
| label13 = {{#if:{{{ipv6_1|}}}|IPv6}}
 +
| data13  = {{#if:{{{ipv6_1|}}}|[[Has IPv6:: {{{ ipv6_1 }}} ]]}}
 +
| label19 = {{#if:{{{enable_dns|}}}|In DNS}}
 +
| data19 = {{#if:{{{enable_dns|}}}|[[Has DNS entry:: {{{ enable_dns }}} ]]}}
  
 
| header20 = {{#if:{{{service_1|}}}{{{service_2|}}}{{{service_3|}}}{{{service_4|}}}{{{service_5|}}}|Tjenester}}
 
| header20 = {{#if:{{{service_1|}}}{{{service_2|}}}{{{service_3|}}}{{{service_4|}}}{{{service_5|}}}|Tjenester}}

Revisjonen fra 15. nov. 2018 kl. 23:03

To edit this documentation, go to Mal:Infobox server/doc.


Example usage:

{{Infobox server
| name = Marvin
| hostname = marvin.bitraf.no
| os = Debian Stretch
| hosted_by = Bite
| public_ipv4 = a.b.c.d
| ipv4 = a.b.c.d          # for internal IPs
| ipv6 = a:b:c:d:e:f:g:h
| enable_dns = yes
| service_1 = Windows network shares
| service_1_comment = implementert med [[SAMBA]]
| service_1_title = WINS (set an alternate text for the service_1 value)
| service_2 = S3
| service_2_comment = comment
}}