Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PC: Difference between revisions

Template page
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 17: Line 17:
},
},
"room": {
"room": {
"description": "Which of the [[Rooms]] the PC is in",
"description": "which room at North Forge",
"label": "Room",
"type": "wiki-page-name",
"type": "wiki-page-name",
"suggested": true
"suggested": true,
"required": true
},
},
"other_details": {
"other_details": {
Line 57: Line 59:
<tr>
<tr>
<th class="infobox-label">[[Tools]] driven by</th>
<th class="infobox-label">[[Tools]] driven by</th>
<td>{{#cargo_query:
<td>
|tables=PC
{{#invoke:String | splitAndLink | source={{{tools_driven_by|}}} }}</td>
|fields=tools_driven_by
|where=_pageName = "{{PAGENAME}}"
|order by=tools_driven_by
|default=no tools listed as driven by this PC
|format=ul
}}</td>
</tr>
</tr>
<tr>
<tr>
<th class="infobox-label">[[Software]]</th>
<th class="infobox-label">[[Software]]</th>
<td>{{#cargo_query:
<td>{{#cargo_query:
|tables=PC
|tables=pc
|fields=software
|fields=software
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
Line 78: Line 74:
</tr><tr>
</tr><tr>
<th class="infobox-label">[[Room]]</th>
<th class="infobox-label">[[Room]]</th>
<td>room</td>
<td>
* {{#ifexist: {{{room}}} | [[{{{room}}}]] | No room assigned }}</td>
</tr>
</tr>
</table>
</table>

Latest revision as of 23:44, 2024 August 16

Usage

{{PC}}

and then "edit with form"

See Template:PC/Details for more info.

Edit pages with Form:PC.

Parameters

This template encodes information about [[Computers for member use]] at North Forge, such as what software is on them, which tools they are associated with, and where they are (room and coordinates for map).

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
softwaresoftware

Software installed on this PC

Page namesuggested
tools_driven_bytools_driven_by

Tools directly driven by this PC.

Example
the [[ShopBot 3-Axis CNC Mill]] is directly driven by its PC, the [[Prusa i3 MK3S+ FFF 3D printer]] is not
Page namesuggested
Roomroom

which room at North Forge

Page namerequired
General info about this PCother_details

no description

Unknownoptional

Cargo Declaration

This template defines the table "pc". View table.