Difference between revisions of "Template:NodeInfo"

From CityLab Testbed
Jump to navigation Jump to search
(Created page with "<noinclude> List 'standard' information about a node in a uniform way. == Usage == <nowiki>{{NodeInfo|nodeId=<nodeId>|address=<address>|wifiAllowed=<yes/no>}}</nowiki> Examp...")
 
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
  
  <nowiki>{{NodeInfo|nodeId=<nodeId>|address=<address>|wifiAllowed=<yes/no>}}</nowiki>
+
  <nowiki>{{NodeInfo|nodeId=<nodeId>|desc=<description>|address=<address>|wifiAllowed=<yes/no>}}</nowiki>
 
Example:
 
Example:
  <nowiki>{{NodeInfo|nodeId=node1|address=Koningstraat, 2000 Antwerpen, België|wifiAllowed=no}}</nowiki>
+
  <nowiki>{{NodeInfo|nodeId=node1|desc=Student Home|address=Koningstraat, 2000 Antwerpen, België|wifiAllowed=no}}</nowiki>
 
Is shown as:
 
Is shown as:
{{NodeInfo|nodeId=node1|address=Koningstraat, 2000 Antwerpen, België|wifiAllowed=no}}
+
{{NodeInfo|nodeId=node1|desc=Student Home|address=Koningstraat, 2000 Antwerpen, België|wifiAllowed=no}}
  
 
== Template ==
 
== Template ==
 
Ignore (and do not edit) anything under this line. It is the actual template
 
Ignore (and do not edit) anything under this line. It is the actual template
 
</noinclude>
 
</noinclude>
* '''JFed ID: ''' <htmltag tagname="a" name="{{{nodeId}}}"></htmltag>{{{nodeId}}}
+
<htmltag tagname="a" name="{{{nodeId}}}"></htmltag>
 +
==== {{{desc}}} ({{{nodeId}}}) ====
 +
* '''JFed ID: ''' {{{nodeId}}}
 
* '''Location: ''' {{{address}}} ([https://doc.lab.cityofthings.eu/nodemap/?focus={{{nodeId}}} Show on Map])
 
* '''Location: ''' {{{address}}} ([https://doc.lab.cityofthings.eu/nodemap/?focus={{{nodeId}}} Show on Map])
 
* '''WiFi tests during the day allowed: ''' {{{wifiAllowed}}}
 
* '''WiFi tests during the day allowed: ''' {{{wifiAllowed}}}

Latest revision as of 13:23, 20 February 2018

List 'standard' information about a node in a uniform way.

Usage

{{NodeInfo|nodeId=<nodeId>|desc=<description>|address=<address>|wifiAllowed=<yes/no>}}

Example:

{{NodeInfo|nodeId=node1|desc=Student Home|address=Koningstraat, 2000 Antwerpen, België|wifiAllowed=no}}

Is shown as:

Student Home (node1)

  • JFed ID: node1
  • Location: Koningstraat, 2000 Antwerpen, België (Show on Map)
  • WiFi tests during the day allowed: no

Template

Ignore (and do not edit) anything under this line. It is the actual template

{{{desc}}} ({{{nodeId}}})

  • JFed ID: {{{nodeId}}}
  • Location: {{{address}}} (Show on Map)
  • WiFi tests during the day allowed: {{{wifiAllowed}}}