Template:Link Block/Body: Difference between revisions

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