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
 
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
  <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.


{{{hazards}}}
=== 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 40: 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
}}
 
{{#cargo_query:
intro====List of [[PCs]]===
The {{PAGENAME}} contains the following [[PCs]]:
|tables=pc
|fields=_pageName=PC, software
|where=room="{{PAGENAME}}"
|order by=_pageName, software
|limit=500
|default====List of [[PCs]]===
no PCs found in room
|format=ul
|format=ul
}}
}}


{{#cargo_query:
{{#cargo_query:
intro=The following tools in this room are currently broken:
intro====List of [[Training Sessions]]===
|tables=broken, tool
The following [[Training Sessions]] are available for this room
|join on=broken.tool=tool._pageName
|tables=training_session
|fields=concat('[[', broken._pageName, '|link]]')=Link, tool, problem, severity, datetime_reported, datetime_fix_expected, datetime_fixed
|fields=_pageName = Training Session, trainers=Trainer(s), cost=Cost, duration=Duration, tools=Tool(s)
|where=datetime_fixed is Null and room="{{PAGENAME}}"
|where=rooms holds"{{PAGENAME}}"
|order by=datetime_reported desc
|order by=_pageName
|limit=200
|limit=500
|default=Nothing in this room is currently reported as broken.
|default====List of [[Training Sessions]]===
no training sessions found
|format=table
|rows per page=500
}}
}}
<!--
<!--
-->__NOCACHE__<!--
-->__NOCACHE__<!--

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.