Vorlage:Node: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Spky (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
Änderung 9308 von BELzEBUB (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
||
| (79 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
| Zeile 4: | Zeile 4: | ||
== Verwendung == | == Verwendung == | ||
Den Text aus dem Kasten kopieren und die Werte nach dem =-Zeichen entsprechend ändern. | Den Text aus dem Kasten kopieren und die Werte nach dem =-Zeichen entsprechend ändern. Und natürlich die ganzen Ausfüllhilfen rausmachen. | ||
<pre> | <pre> | ||
{{Node | {{Node | ||
|Adresse= | |Adresse= zwingend erforderlich (10.37.0.0) | ||
|Name= | |Name= Name des Besitzers, falls gewünscht | ||
|Standort= | |Standort= a.k.a. Wohnadresse, zB Straße oder Platz | ||
|Position= | |Position= a.k.a. Geo-Koordinaten | ||
|Modell= | |Modell= TL-WRxxxxx | ||
|Antenne= | |Gluon= {ja, nein} | ||
|VPN= | |Antenne= Antennentyp: {Rundstrahler, Richtstrahler, ...} | ||
|VPN= {ja, nein} | |||
|MAC= aa:bb:cc:dd:ee:ff | |||
|Dienste= Komma-separierte Liste im Format 'Dienst:Port'. z.B. |Dienste= Webserver:80, Webserver:443 | |||
|Kommentar= | |||
|}} | |||
</pre> | |||
Für Gateways sind noch folgende Zeilen interessant: | |||
<pre> | |||
|ExitVPNprovider= {ipredator, mullvad, keiner, unbekannt} | |||
|ExitVPNaccount= Account Name/Nummer | |||
|ExitVPNpaiduntil= Datum bis zu dem gezahlt wurde. | |||
|Tinc-Key= Der Tinc-Key | |||
</pre> | |||
<pre> | |||
Für Backbone Geraete sind noch folgende Zeilen interessant: | |||
|Type=Backbone CPE | |||
|Gluon=0 | |||
|AirOS=1 | |||
|Antenne=14db 60* | |||
|VPN=nein | |||
|MAC= | |MAC= | ||
|Kommentar= | |Kommentar=5Ghz Richtung Mainz Alstadt | ||
| | |Backbone=ja | ||
|Frequenz=100 / 5500 MHz (DFS) | |||
|Kanalbreite=40Mhz | |||
|AC=nein | |||
|Richtung=Alstadt | |||
|VLAN=5 | |||
</pre> | </pre> | ||
{{Hinweis|Titel=Umrechnung von Geo-Koordinaten|Text=Mediawiki kann am besten Werte in Grad, Minuten, Sekunden (z.B.: 50° 4' 59.39" N 8° 13' 45.88" E ) verarbeiten. Zum Umrechnen | |||
{{Hinweis|Titel=Umrechnung von Geo-Koordinaten|Text=Mediawiki kann am besten Werte in Grad, Minuten, Sekunden (z.B.: 50° 4' 59.39" N 8° 13' 45.88" E ) verarbeiten. Zum Umrechnen gibt es Helfer: [http://rechneronline.de/geo-koordinaten/ rechneronline.de/geo-koordinaten]}} | |||
{{Hinweis|Titel=Umrechnung von Zeit|Text=Zum addieren von Tagen auf Zeitpunkte gibt es Helfer: [http://www.timeanddate.com/date/dateadded.html Add to or subtract from a date]}} | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{Category Add|Nodes}} | |||
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:{{{float| | {{#ifeq: {{{Gluon|}}} | ja | | ||
|- style="background:# | {{Category Add|Gluon-Nodes}} | | ||
! colspan=2| | {{Category Add|Nodes}} | | ||
}} | |||
{| border="2" cellspacing="0" cellpadding="4" rules="all" style="float:{{{float|left}}}; width:300px; margin:.5em 0 1em 1em; border:solid 1px #{{Color|Schwarz}}; border-collapse:collapse; background: #{{Color|Grau}}; empty-cells:hide" | |||
|- style="background:#{{Color|Pink}}; text-align:center;" | |||
! colspan=2| Freifunk {{#ifeq: {{{Gluon|}}} | ja | Gluon-}}{{#ifeq: {{{Gateway|}}} | ja | Gateway-}}{{#ifeq: {{{Backbone|}}} | ja | Backbone-}}Knoten: {{#if: {{{Name|}}} | {{{Name}}} | Namenlos}} | |||
|- | |||
{{#ifeq: {{{Backbone|}}} | ja | | |||
{{!-}} style="background:#{{Color|Schwarz}}; color:#{{Color|Weiss}}; text-align:center;" | |||
{{!}} colspan=2 {{!}} '''Backbone Info''' | |||
{{Category Add|Backbone}} | |||
}} | |||
|-{{#if: {{{SSID|}}} | | |||
{{!}} style="vertical-align:top" {{!}} SSID | |||
{{!}} {{{SSID}}} | |||
}} | |||
|- | |||
{{#if: {{{AirOS|}}} | | |||
{{!}} style="vertical-align:top" {{!}} AirOS | |||
{{!}} {{{AirOS}}} | |||
}} | |||
|- | |||
{{#if: {{{Frequenz|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Frequenz | |||
{{!}} {{{Frequenz}}} | |||
}} | |||
|- | |||
{{#if: {{{Kanalbreite|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Kanalbreite | |||
{{!}} {{{Kanalbreite}}} | |||
}} | |||
|- | |||
{{#if: {{{AC|}}} | | |||
{{!}} style="vertical-align:top" {{!}} AC Standart | |||
{{!}} {{{AC}}} | |||
}} | |||
|- | |||
{{#if: {{{Richtung|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Richtung | |||
{{!}} {{{Richtung}}} | |||
}} | |||
|- | |||
{{#if: {{{VLAN|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Standort VLAN | |||
{{!}} {{{VLAN}}} | |||
}} | |||
|- | |||
{{#if: {{{SWPort|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Switch Port | |||
{{!}} {{{SWPort}}} | |||
}} | |||
|- | |||
{{#ifeq: {{{Gateway|}}} | ja | | |||
{{!-}} style="background:#{{Color|Schwarz}}; color:#{{Color|Weiss}}; text-align:center;" | |||
{{!}} colspan=2 {{!}} '''Gateway Info''' | |||
{{Category Add|Gateways}} | |||
}} | |||
|- | |||
{{#if: {{{ExitVPNprovider|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Exit VPN Provider | |||
{{!}} {{{ExitVPNprovider}}} | |||
}} | |||
|- | |||
{{#if: {{{ExitVPNaccount|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Nummer/Name | |||
{{!}} {{{ExitVPNaccount}}} | |||
}} | |||
|- | |||
{{#if: {{{ExitVPNpaiduntil|}}} | | |||
{{!}} style="vertical-align:top" {{!}} bezahlt bis zum | |||
{{!}} {{{ExitVPNpaiduntil}}} | |||
}} | |||
|- | |||
{{#if: {{{Tinc-Key|}}} | | |||
{{!-}} style="background:#{{Color|Schwarz}}; color:#{{Color|Weiss}}; text-align:center;" | |||
{{!}} colspan=2 {{!}} '''Tinc-Key''' | |||
{{!}}- | |||
{{!}} colspan=2 {{!}} | |||
{{#ask: [[Node-Name::{{{Name}}}]] |?Node-Tinc-Key= | |||
|format=template | |||
|template=Tinc-Tabelle | |||
|default=nix gefunden | |||
}} | |||
}} | |||
|- | |- | ||
{{#if: {{{Adresse|}}}{{{Standort|}}}{{{Position|}}}{{{Modell|}}}{{{Antenne|}}}{{{VPN|}}}{{{MAC|}}} | | {{#if: {{{Adresse|}}}{{{Standort|}}}{{{Position|}}}{{{Modell|}}}{{{Antenne|}}}{{{VPN|}}}{{{MAC|}}} | | ||
{{!-}} style="background:# | {{!-}} style="background:#{{Color|Schwarz}}; color:#{{Color|Weiss}}; text-align:center;" | ||
{{!}} colspan=2 {{!}} '''Informationen''' | {{!}} colspan=2 {{!}} '''Informationen''' | ||
}} | }} | ||
| Zeile 36: | Zeile 150: | ||
{{#if: {{{Adresse|}}} | | {{#if: {{{Adresse|}}} | | ||
{{!}} style="vertical-align:top" {{!}} Adresse | {{!}} style="vertical-align:top" {{!}} Adresse | ||
{{!}} | {{!}} {{{Adresse}}} | ||
| {{!}} colspan=2 {{!}} '''Gefahr!''' Keine Adresse vergeben!<br />So tauchst du nicht in der [[Systeme/Nodes|Knotenliste]] auf! | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{Standort|}}}{{{Position|}}} | | {{#if: {{{Standort|}}}{{{Position|}}} | | ||
{{!}} style="vertical-align:top" {{!}} Standort | {{!}} style="vertical-align:top" {{!}} Standort | ||
{{!}} {{#if: {{{Standort|}}} | | {{!}} {{#if: {{{Standort|}}} | {{{Standort}}} <br />}} {{#if: {{{Position|}}} | {{{Position}}} }} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{Modell|}}} | | {{#if: {{{Modell|}}} | | ||
{{!}} style="vertical-align:top" {{!}} Router-Modell | {{!}} style="vertical-align:top" {{!}} Router-Modell | ||
{{!}} | {{!}} {{{Modell}}} | ||
}} | }} | ||
|- | |- | ||
| style="vertical-align:top" | Antenne | | style="vertical-align:top" | Antenne | ||
| | | {{#if: {{{Antenne|}}} | {{{Antenne}}} | default }} | ||
|- | |- | ||
| style="vertical-align:top" | VPN Uplink | | style="vertical-align:top" | VPN Uplink | ||
| | | {{#if: {{{VPN|}}} | {{{VPN}}} | nein }} | ||
|- | |- | ||
{{#if: {{{MAC|}}} | | {{#if: {{{MAC|}}} | | ||
{{!}} style="vertical-align:top" {{!}} MAC-Adresse | {{!}} style="vertical-align:top" {{!}} MAC-Adresse | ||
{{!}} | {{!}} {{{MAC}}} | ||
}} | |||
|- | |||
{{#if: {{{Dienste|}}} | | |||
{{!}} style="vertical-align:top" {{!}} Bietet Freifunk-Interne Dienste | |||
{{!}} {{#arraymap: {{{Dienste}}} | , | ### | * [http://{{{Adresse}}}:{{#explode:###| : | -1 }} {{#explode:###| : | 0 }}] | \n\n }} {{Category Add|Freifunk-Dienste }} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{Kommentar|}}} | | {{#if: {{{Kommentar|}}} | | ||
{{!-}} style="background:# | {{!-}} style="background:#{{Color|Schwarz}}; color:#{{Color|Weiss}}; text-align:center;" | ||
{{!}} colspan=2 {{!}} '''Kommentar''' | {{!}} colspan=2 {{!}} '''Kommentar''' | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 {{!}} {{{Kommentar}}} | ||
}} | }} | ||
|} | |} | ||
{{#if: {{{Adresse|}}} | | |||
{{#subobject:{{{Adresse}}} | Freifunk-Router=1 | Node-Adresse={{{Adresse}}} }} | |||
{{#if: {{{Name|}}} | {{#subobject:{{{Adresse|}}} | Node-Name={{{Name}}} }} }} | |||
{{#if: {{{Backbone|}}} | {{#subobject:{{{Backbone|}}} | Node-Backbone={{{Backbone}}} }} }} | |||
{{#if: {{{Antenne|}}} | {{#subobject:{{{Adresse|}}} | Node-Antenne={{{Antenne}}} }} }} | |||
{{#if: {{{Position|}}} | {{#subobject:{{{Adresse|}}} | Node-Position={{{Position}}} }} }} | |||
{{#if: {{{Standort|}}} | {{#subobject:{{{Adresse|}}} | Node-Standort={{{Standort}}} }} }} | |||
{{#if: {{{Modell|}}} | {{#subobject:{{{Adresse|}}} | Node-Modell={{{Modell}}} }} }} | |||
{{#if: {{{Antenne|}}} | {{#subobject:{{{Adresse|}}} | Node-Antenne={{{Antenne}}} }} }} | |||
{{#if: {{{VPN|}}} | {{#subobject:{{{Adresse|}}} | Node-VPN={{{VPN}}} }} }} | |||
{{#if: {{{MAC|}}} | {{#subobject:{{{Adresse|}}} | Node-MAC={{{MAC}}} }} }} | |||
{{#ifeq: {{{Gluon|}}} | ja | {{#subobject:{{{Adresse|}}} | Gluon-Node=1 }} | {{#subobject:{{{Adresse|}}} | Gluon-Node=0 }} }} | |||
{{#if: {{{Dienste|}}} | {{#subobject:{{{Adresse|}}} | Node-Dienste={{{Dienste}}}|+sep=, }} }} | |||
{{#if: {{{Kommentar|}}} | {{#subobject:{{{Adresse|}}} | Node-Kommentar={{{Kommentar}}} }} }} | |||
{{#ifeq: {{{Gateway|}}} | ja | {{#subobject:{{{Adresse|}}} | Freifunk-Gateway=1 | {{#if: {{{Tinc-Key|}}} | {{#subobject:{{{Adresse|}}} | Node-Dienste=Tinc-Gateway }} }} }} }} | |||
{{#ifeq: {{{Gateway|}}} | ja | {{#subobject:{{{Adresse|}}} | Freifunk-Gateway=1 | {{#if: {{{ExitVPNprovider|}}} | {{#subobject:{{{Adresse|}}} | ExitVPNprovider={{{ExitVPNprovider}}} }} }} }} }} | |||
{{#ifeq: {{{Gateway|}}} | ja | {{#subobject:{{{Adresse|}}} | Freifunk-Gateway=1 | {{#if: {{{ExitVPNaccount|}}} | {{#subobject:{{{Adresse|}}} | ExitVPNaccount={{{ExitVPNaccount}}} }} }} }} }} | |||
{{#ifeq: {{{Gateway|}}} | ja | {{#subobject:{{{Adresse|}}} | Freifunk-Gateway=1 | {{#if: {{{ExitVPNpaiduntil|}}} | {{#subobject:{{{Adresse|}}} | ExitVPNpaiduntil={{{ExitVPNpaiduntil}}} }} }} }} }} | |||
{{#if: {{{Tinc-Key|}}} | {{#subobject:{{{Adresse|}}} | Node-Tinc-Key={{{Tinc-Key}}} }} }} | |||
| GEFAHR! Keine Adresse angegeben! }} | |||
</includeonly> | </includeonly> | ||
Aktuelle Version vom 12. März 2020, 20:06 Uhr
Diese Vorlage generiert eine Infobox mit Informationen zu deinem Router.
Verwendung
Den Text aus dem Kasten kopieren und die Werte nach dem =-Zeichen entsprechend ändern. Und natürlich die ganzen Ausfüllhilfen rausmachen.
{{Node
|Adresse= zwingend erforderlich (10.37.0.0)
|Name= Name des Besitzers, falls gewünscht
|Standort= a.k.a. Wohnadresse, zB Straße oder Platz
|Position= a.k.a. Geo-Koordinaten
|Modell= TL-WRxxxxx
|Gluon= {ja, nein}
|Antenne= Antennentyp: {Rundstrahler, Richtstrahler, ...}
|VPN= {ja, nein}
|MAC= aa:bb:cc:dd:ee:ff
|Dienste= Komma-separierte Liste im Format 'Dienst:Port'. z.B. |Dienste= Webserver:80, Webserver:443
|Kommentar=
|}}
Für Gateways sind noch folgende Zeilen interessant:
|ExitVPNprovider= {ipredator, mullvad, keiner, unbekannt}
|ExitVPNaccount= Account Name/Nummer
|ExitVPNpaiduntil= Datum bis zu dem gezahlt wurde.
|Tinc-Key= Der Tinc-Key
Für Backbone Geraete sind noch folgende Zeilen interessant: |Type=Backbone CPE |Gluon=0 |AirOS=1 |Antenne=14db 60* |VPN=nein |MAC= |Kommentar=5Ghz Richtung Mainz Alstadt |Backbone=ja |Frequenz=100 / 5500 MHz (DFS) |Kanalbreite=40Mhz |AC=nein |Richtung=Alstadt |VLAN=5
Umrechnung von Geo-Koordinaten
Mediawiki kann am besten Werte in Grad, Minuten, Sekunden (z.B.: 50° 4' 59.39" N 8° 13' 45.88" E ) verarbeiten. Zum Umrechnen gibt es Helfer: rechneronline.de/geo-koordinaten
Umrechnung von Zeit
Zum addieren von Tagen auf Zeitpunkte gibt es Helfer: Add to or subtract from a date