Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
link {{{1}}} {
<!--
 
{{{1}}} - Name
}
{{{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
-->
// {{{5}}}
// Location: {{{4}}}
// 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}}} {
{{#if:{{{10|}}}||// }}    incoming {
{{#if:{{{10|}}}||// }}        mask *;
{{#if:{{{10|}}}||// }}    }<!--
-->{{#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}}}|}}|}}}}<!--
-->{{#ifeq:{{{9|}}}|Yes||<br/>{{#if:{{{10|}}}||// }}        port {{#if:{{{8|}}}|{{{8}}}|6900}};}}<!--
-->{{#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; }
{{#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; //}