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
Created page with "<noinclude>== Usage == <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>}}</nowiki> and then "edit with form" ==Parameters== <templatedata> { "params": { "floor": { "description": "3rd, 1st, 0th", "type": "content", "required": true } }, "description": "This is the template for rooms. It is used on room pages, facilitated by Form:Room. ", "paramOrder": [ "floor" ] } </templatedata> </noinclude><!-- --><!-- --><includeonly> {{#cargo_query: intro=The {{{..."
 
No edit summary
 
(24 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 18: Line 20:
}
}
</templatedata>
</templatedata>
==Cargo Declaration==
{{#cargo_declare:
_table=room
|floor = wikitext string (allowed values=3rd, 1st, 0th)
}}
</noinclude><!--
</noinclude><!--


Line 24: 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
|where=room={{{PAGENAME}}}
|where=room="{{PAGENAME}}"
|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
}}
{{#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
}}
<!--
<!--
-->__NOCACHE__[[Category:Room]]<!--
-->__NOCACHE__<!--
-->{{#cargo_store:}}<!--
-->[[Category:Room]]<!--
--></includeonly>
--></includeonly>

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.