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

Template:Room: Difference between revisions

Template page
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Usage ==
<noinclude>== Usage ==
  <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>}}</nowiki>
  <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
and then "edit with form"
and then "edit with form"
See [[:Template:{{PAGENAME}}/Details]] for more info.


==Parameters==
==Parameters==
Line 30: Line 32:
--><!--
--><!--
--><includeonly>
--><includeonly>
The {{PAGENAME}} is one of the [[rooms]] at North Forge.
=== Room precautions ===
{{#ifexist:
:{{PAGENAME}}/Precautions
|''edit at [[:{{PAGENAME}}/Precautions]]<br>
{{:{{PAGENAME}}/Precautions}} | [[:{{PAGENAME}}/Precautions]] does not exist yet }}
{{#cargo_query:
{{#cargo_query:
intro=The {{PAGENAME}} contains the following tools:
intro====List of [[tools]]===
The {{PAGENAME}} contains the following [[tools]]:
|tables=tool
|tables=tool
|fields=_pageName=tool
|fields=_pageName=tool
Line 37: Line 48:
|order by=_pageName
|order by=_pageName
|limit=500
|limit=500
|default=no tools found in room
|default====List of [[tools]]===
no tools found in room
|format=ul
|format=ul
}}
}}


{{#cargo_query:
{{#cargo_query:
intro=The following tools in this room are currently broken:  
intro====List of [[PCs]]===
|tables=broken, tool
The {{PAGENAME}} contains the following [[PCs]]:
|join on=broken.tool=tool._pageName
|tables=pc
|fields=concat('[[', broken._pageName, '|link]]')=Link, tool, problem, severity, datetime_reported, datetime_fix_expected, datetime_fixed
|fields=_pageName=PC, software
|where=datetime_fixed is Null and room="{{PAGENAME}}"
|where=room="{{PAGENAME}}"
|order by=datetime_reported desc
|order by=_pageName, software
|limit=200
|limit=500
|default=No current breaks found
|default====List of [[PCs]]===
|more results text=see older breaks
no PCs found in room
|format=ul
}}
 
{{#cargo_query:
intro====List of [[Training Sessions]]===
The following [[Training Sessions]] are available for this room
|tables=training_session
|fields=_pageName = Training Session, trainers=Trainer(s), cost=Cost, duration=Duration, tools=Tool(s)
|where=rooms holds"{{PAGENAME}}"
|order by=_pageName
|limit=500
|default====List of [[Training Sessions]]===
no training sessions found
|format=table
|rows per page=500
}}
}}



Latest revision as of 21:50, 2024 September 1

Usage

{{Room}}

and then "edit with form"

See Template:Room/Details for more info.

Parameters

This is the template for rooms. It is used on room pages, facilitated by [[Form:Room]].

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
floorfloor

3rd, 1st, 0th

Contentrequired

Cargo Declaration

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