Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
 
(16 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)
Line 10: Line 10:
{{{9}}} - No incoming connections
{{{9}}} - No incoming connections
{{{10}}} - SPKIFP
{{{10}}} - SPKIFP
-->// {{{5}}}
{{{11}}} - Autoconnect
// {{{4}}}
-->
// SID: {{{3}}}
// {{{5}}}
link {{{1}}} {
// Location: {{{4}}}
    incoming {
// SID: {{{3}}}{{#if:{{{10|}}}||<br/><span style="color: red">// ERROR: This server does not have the <code>spkifp</code> property set!</span>}}
        mask *;
{{#if:{{{10|}}}||// }}link {{{1}}} {
    }
{{#if:{{{10|}}}||// }}    incoming {
    outgoing {
{{#if:{{{10|}}}||// }}        mask *;
        hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}};
{{#if:{{{10|}}}||// }}    }<!--
        port {{#if:{{{8|}}}|{{{8}}}|6900}};
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}    outgoing {}}<!--
        options { tls; }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}}; {{#if:{{{6|}}}|{{#if:{{{7|}}}|// IPv6: {{{7}}}|}}|}}}}<!--
    }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        port {{#if:{{{8|}}}|{{{8}}}|6900}};}}<!--
    password "{{{10}}}" { spkifp; }
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        options { tls;&nbsp;{{#if:{{{11|}}}|autoconnect;&nbsp;}}} }}<!--
    class {{#ifeq:{{{2|}}}|Hub|hubs|servers}};
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}&nbsp;&nbsp;&nbsp;&nbsp;} }}
}</pre>
{{#if:{{{10|}}}||// }}    password "{{{10}}}" { spkifp; }
{{#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; //}