Difference between revisions of "Template:Devices"

From Public Play Space Community
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">DEVICES</div>
<div class="infobox-title">DEVICES</div>
{{#switch: device1
| yes = [/resources/assets/images_pps/Bio_Enabled.png]
| no  = [/resources/assets/images_pps/Bio_Disabled.png]
| #default = [/resources/assets/images_pps/Bio_Enabled.png]
}}
<table>
<table>
{|
{|
|-
|-
| {{#if:{{{device1|}}}[/resources/assets/images_pps/Bio_Disabled.png]}}
| {{#switch: {{{sensordata}}}
|| Example
| 1 = [[File:SensorData_Enabled.png|50px]][[Category:SensorData]]
|| Example
| 0 = [[File:SensorData_Disabled.png|50px]]
| #default = [[File:SensorData_Disabled.png|50px]]
}}
|| {{#switch: {{{solarenergy}}}
| 1 = [[File:SolarEnergy_Enabled.png|50px]][[Category:SolarEnergy]]
| 0 = [[File:SolarEnergy_Disabled.png|50px]]
| #default = [[File:SolarEnergy_Disabled.png|50px]]
}}  
|| {{#switch: {{{digitalfabrication}}}
| 1 = [[File:DigitalFabrication_Enabled.png|50px]][[Category:DigitalFabrication]]
| 0 = [[File:DigitalFabrication_Disabled.png|50px]]
| #default = [[File:DigitalFabrication_Disabled.png|50px]]
}}
|-
|-
| Example
| {{#switch: {{{biomaterials}}}
|| Example
| 1 = [[File:LivingBioMaterials_Enabled.png|50px]][[Category:BioMaterials]]
|| Example
| 0 = [[File:LivingBioMaterials_Disabled.png|50px]]
| #default = [[File:LivingBioMaterials_Disabled.png|50px]]
}}
|| {{#switch: {{{roboticintelligence}}}
| 1 = [[File:RoboticIntelligence_Enabled.png|50px]][[Category:RoboticIntelligence]]
| 0  = [[File:RoboticIntelligence_Disabled.png|50px]]
| #default = [[File:RoboticIntelligence_Disabled.png|50px]]
}}
|| {{#switch: {{{reactivematerials}}}
| 1 = [[File:ReactiveMaterials_Enabled.png|50px]][[Category:ReactiveMaterial]]
| 0 = [[File:ReactiveMaterials_Disabled.png|50px]]
| #default = [[File:ReactiveMaterials_Disabled.png|50px]]
}}
|-
|-
| Example
| {{#switch: {{{airdepuration}}}
|| Example
| 1 = [[File:AirDepuration_Enabled.png|50px]][[Category:AirDepuration]]
|| Example
| 0  = [[File:AirDepuration_Disabled.png|50px]]
| #default = [[File:AirDepuration_Disabled.png|50px]]
}}
|| {{#switch: {{{ledtech}}}
| 1 = [[File:LEDTech_Enabled.png|50px]][[Category:LEDTech]]
| 0  = [[File:LEDTech_Disabled.png|50px]]
| #default = [[File:LEDTech_Disabled.png|50px]]
}}
|| {{#switch: {{{processactivators}}}
| 1 = [[File:ProcessActivators_Enabled.png|50px]][[Category:ProcessActivators]]
| 0 = [[File:ProcessActivators_Disabled.png|50px]]
| #default = [[File:ProcessActivators_Disabled.png|50px]]
}}
|}
|}
</table>
</table>
</div>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"device1":{},
"sensordata":{
"device2":{},
"type": "boolean",
"device3":{},
"default": "0",
"device4":{},
"required": true,
"device5":{},
"suggested": true,
"device6":{},
"description": "State whether this type of device is used by the project."},
"device7":{},
"solarenergy":{
"device8":{},
"type": "boolean",
"device9":{}
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"digitalfabrication":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"biomaterials":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"roboticintelligence":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"reactivematerials":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"airdepuration":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"ledtech":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."},
"processactivators":{
"type": "boolean",
"default": "0",
"required": true,
"suggested": true,
"description": "State whether this type of device is used by the project."}
},
},
"paramOrder": [
"paramOrder": [
"device1",
"sensordata",
"device2",
"solarenergy",
"device3",
"digitalfabrication",
"device4",
"biomaterials",
"device5",
"roboticintelligence",
"device6",
"reactivematerials",
"device7",
"airdepuration",
"device8",
"ledtech",
"device9"
"processactivators"
],
],
"description": "Template for adding a devices section to a project page",
"description": "Template for adding a devices section to a project page",

Latest revision as of 10:42, 20 May 2020

DEVICES
SensorData Disabled.png SolarEnergy Disabled.png DigitalFabrication Disabled.png
LivingBioMaterials Disabled.png RoboticIntelligence Disabled.png ReactiveMaterials Disabled.png
AirDepuration Disabled.png LEDTech Disabled.png ProcessActivators Disabled.png


Template for adding a devices section to a project page

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
sensordatasensordata

State whether this type of device is used by the project.

Default
0
Booleanrequired
solarenergysolarenergy

State whether this type of device is used by the project.

Default
0
Booleanrequired
digitalfabricationdigitalfabrication

State whether this type of device is used by the project.

Default
0
Booleanrequired
biomaterialsbiomaterials

State whether this type of device is used by the project.

Default
0
Booleanrequired
roboticintelligenceroboticintelligence

State whether this type of device is used by the project.

Default
0
Booleanrequired
reactivematerialsreactivematerials

State whether this type of device is used by the project.

Default
0
Booleanrequired
airdepurationairdepuration

State whether this type of device is used by the project.

Default
0
Booleanrequired
ledtechledtech

State whether this type of device is used by the project.

Default
0
Booleanrequired
processactivatorsprocessactivators

State whether this type of device is used by the project.

Default
0
Booleanrequired