Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; {{#if:{{{width|}}}|width: {{{width}}};}}">
<!--
<!--
{{{1}}} - Name
{{{1}}} - Name
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
{{{3}}} - SID
{{{4}}} - Location
{{{5}}} - Owner
{{{6}}} - IPv4
{{{7}}} - IPv6
{{{8}}} - S2S Port
{{{9}}} - No incoming connections
{{{10}}} - SPKIFP
{{{11}}} - Autoconnect
-->
-->
link {{{1}}} {
// {{{5}}}
    incoming {
// Location: {{{4}}}
        mask *;
// SID: {{{3}}}{{#if:{{{10|}}}||<br/><span style="color: red">// ERROR: This server does not have the <code>spkifp</code> property set!</span>}}
    }
{{#if:{{{10|}}}||// }}link {{{1}}} {
    outgoing {
{{#if:{{{10|}}}||// }}    incoming {
        hostname {{{1}}};
{{#if:{{{10|}}}||// }}        mask *;
        port 6900;
{{#if:{{{10|}}}||// }}    }<!--
        options { tls; }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}    outgoing {}}<!--
    }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}}; {{#if:{{{6|}}}|{{#if:{{{7|}}}|// IPv6: {{{7}}}|}}|}}}}<!--
    password "" { spkifp; }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        port {{#if:{{{8|}}}|{{{8}}}|6900}};}}<!--
    class {{#ifeq: {{{2|}}} | Hub | hubs | servers }}
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        options { tls;&nbsp;{{#if:{{{11|}}}|autoconnect;&nbsp;}}} }}<!--
 
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}&nbsp;&nbsp;&nbsp;&nbsp;} }}
 
{{#if:{{{10|}}}||// }}    password "{{{10}}}" { spkifp; }
}</pre>
{{#if:{{{10|}}}||// }}    class {{#ifeq:{{{2|}}}|Hub|hubs|servers}};
{{#if:{{{10|}}}||// }}}
<!-- -->

Latest revision as of 02:03, 7 September 2021

// {{{5}}}
// Location: {{{4}}}
// SID: {{{3}}}
// ERROR: This server does not have the spkifp property set! //link {{{1}}} { // incoming { // mask *; // }
// outgoing {
// hostname {{{7}}};
// port 6900;
// options { tls; }
//    } // password "{{{10}}}" { spkifp; } // class servers; //}