Difference between revisions of "Template:NodeInfo"

From CityLab Testbed
Jump to navigation Jump to search
Line 12: Line 12:
 
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>
<htmltag tagname="a" name="{{{nodeId}}}"></htmltag>=== {{{desc}}} ({{{nodeId}}}) ===
+
=== {{{desc}}} ({{{nodeId}}}) ===
* '''JFed ID: ''' {{{nodeId}}}
+
* '''JFed ID: ''' <htmltag tagname="a" name="{{{nodeId}}}"></htmltag>{{{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}}}

Revision as of 12:46, 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}}}