Difference between revisions of "Template:Machine"

From Technologia Incognita
Jump to: navigation, search
Line 13: Line 13:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#set:IPv6={{#if: {{{IPv6}}}|2a02:898:109:2012::20:{{{ID}}}|}}}}
+
</noinclude><includeonly>{{#set:IPv6={{#ifeq:{{{IPv6}}}|true|2a02:898:109:2012::20:{{{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;"  
Line 29: Line 29:
 
|-
 
|-
 
! style="background-color:#DDDDDD;" | IPv6
 
! style="background-color:#DDDDDD;" | IPv6
| {{#if:{{{IPv6}}}|2a02:898:109:2012::20:{{{ID}}}}}
+
| {{#ifeq:{{{IPv6}}}|true|2a02:898:109:2012::20:{{{ID}}}|}}
 
|-
 
|-
 
! style="background-color:#DDDDDD;" | Function
 
! style="background-color:#DDDDDD;" | Function

Revision as of 18:13, 14 February 2013

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

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

Edit the page to see the template text.