Template:InfoboxNode: Difference between revisions

Template page
(trying out parserfuncts)
(Fix link to delink server)
 
(38 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>{{#default_form:Server}}</includeonly><!--
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
-->{{#set:Owner={{{owner}}} }}{{#set:SPKIFP={{{spkifp|}}} }}{{#set:IPv4={{{ipv4|}}} }}{{#set:IPv6={{{ipv6|}}} }}{{#set:Server Port={{{serverport|6900}}} }}{{#set:No incomming connections={{{noincoming|}}} }}<!--
-->{{#set:Region={{{region|}}} }}{{#set:Node_Type={{{type|}}} }}{{#set:Node Status={{{status|Active}}}}}{{#set:Delink Reason={{{delink_reason|}}}}}<!--
-->{| class="infobox"  
|-
|colspan="2" class="infobox-title"| '''{{{title|{{PAGENAME}}}}}'''
|-
! [[Property:Server Name | Name]]
| [[Server Name::{{{name|{{PAGENAME}}}}}]]
|-
! [[Property:Location | Location]]
| [[Location::{{{location|}}}]]
|-
{{#if:{{{provider|}}}|! [[Property:Hosting Provider | Hosting Provider]]
{{!}} [[Hosting Provider::{{{provider|}}}]]|}}
|-
! [[Property:Owner | Owner]]
| {{{owner}}}
|-
! [[Property:SID | SID]]
| [[SID::{{{sid}}}]]
|-
! [[Property:Node Type | Type]]
| [[Node Type::{{{type}}}]]
|-
! [[Property:Node Status | Status]]
| [[Node Status::{{{status|Active}}}]]
|-
!
| <div style="font-size:85%;text-align: right;">[https://plas.netsplit.nl/data/server/{{PAGENAME}} More data] · [https://wiki.letspiss.net/wiki/Special:FormEdit/Delink_server/Server:{{PAGENAME}} Delink]</div>
|}


{{#if: {{{image}}}|<div class="infobox-image">[[File:{{{image}}}|150px]]</div>|}}
<noinclude>
<table>
<p>
<tr>
This template is used to add a server to the [[Great big-ass server list of doom]]. You must add it to a page in the <code>Server:...</code> namespace (ie: [[Server:irc.shitposting.space]]).
    <th>Name</th>
</p>
    <td>{{{name}}}</td>
<p>
</tr>
Usage:
<tr>
 
    <th>Location</th>
<pre>
    <td>{{{location}}}</td>
{{InfoboxNode
</tr>
|name=your.server.name.org
<tr>
|location=Los Angeles, California, USA
    <th>Hosting Provider</th>
|owner=[[User:Bob|Bob]]
    <td>{{{provider}}}</td>
|sid=123
</tr>
|type=Leaf (must be either "Leaf" or "Hub")
<tr>
|provider=Fancy Hosting Ltd. (Optional)
    <th>Owner</th>
|spkifp=<the spkifp from your link block>
    <td>{{{owner}}}</td>
|region=<either "Europe", "APAC" or "America">
</tr>
}}
<tr>
</pre>
    <th>SID</th>
 
    <td>{{{sid}}}</td>
Other optional parameters:
</tr>
 
<tr>
* <code>noincoming=Yes</code> ― If your node does not support incoming connections
    <th>Type</th>
* <code>serverport=6900</code> ― If your node has a different port for S2S connections
    <td>{{{type}}}</td>
* <code>ipv4=1.2.3.4 / ipv6=f00b::cafe</code> ― If your server name does not resolve
</tr>
 
</table>
</p>
</div>
</noinclude>
<includeonly>[[Category:Nodes]]</includeonly>
<includeonly>[[Category:Nodes]] {{#if:{{{spkifp|}}}||[[Category: Nodes without SPKIFP]]}}</includeonly>

Latest revision as of 01:30, 28 July 2021

InfoboxNode
Name InfoboxNode
Location
Owner {{{owner}}}
SID {{{sid}}}
Type {{{type}}}
Status Active


This template is used to add a server to the Great big-ass server list of doom. You must add it to a page in the Server:... namespace (ie: Server:irc.shitposting.space).

Usage:

{{InfoboxNode
|name=your.server.name.org
|location=Los Angeles, California, USA
|owner=[[User:Bob|Bob]]
|sid=123
|type=Leaf (must be either "Leaf" or "Hub")
|provider=Fancy Hosting Ltd. (Optional)
|spkifp=<the spkifp from your link block>
|region=<either "Europe", "APAC" or "America">
}}

Other optional parameters:

  • noincoming=Yes ― If your node does not support incoming connections
  • serverport=6900 ― If your node has a different port for S2S connections
  • ipv4=1.2.3.4 / ipv6=f00b::cafe ― If your server name does not resolve