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
 
(9 intermediate revisions by the same user not shown)
Line 34: Line 34:
The {{PAGENAME}} is one of the [[rooms]] at North Forge.  
The {{PAGENAME}} is one of the [[rooms]] at North Forge.  


=== Room precautions ===
{{#ifexist:  
{{#ifexist:  
:{{PAGENAME}}/Precautions
:{{PAGENAME}}/Precautions
| {{:{{PAGENAME}}/Precautions}} | [[:{{PAGENAME}}/Precautions]] does not exist yet }}
|''edit at [[:{{PAGENAME}}/Precautions]]<br>
{{:{{PAGENAME}}/Precautions}} | [[:{{PAGENAME}}/Precautions]] does not exist yet }}


{{#cargo_query:
{{#cargo_query:
intro===List of tools==
intro====List of [[tools]]===
The {{PAGENAME}} contains the following tools:
The {{PAGENAME}} contains the following [[tools]]:
|tables=tool
|tables=tool
|fields=_pageName=tool
|fields=_pageName=tool
Line 46: 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=Training sessions for this room
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
}}
 
{{#cargo_query:
intro====List of [[Training Sessions]]===
The following [[Training Sessions]] are available for this room
|tables=training_session
|tables=training_session
|fields=_pageName = Training Session, trainers=Trainer(s), cost=Cost, duration=Duration, tools=Tool(s), rooms=Room(s)
|fields=_pageName = Training Session, trainers=Trainer(s), cost=Cost, duration=Duration, tools=Tool(s)
|where=rooms holds"{{PAGENAME}}"
|where=rooms holds"{{PAGENAME}}"
|order by=_pageName
|order by=_pageName
|limit=500
|limit=500
|default=no training sessions found
|default====List of [[Training Sessions]]===
|format=dynamic table
no training sessions found
|format=table
|rows per page=500
|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.