Template:Roombox: Difference between revisions
No edit summary |
Add description |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "", | "description": "This template adds an Infobox specific for Rooms", | ||
"params": { | "params": { | ||
" | "Photo": { | ||
"label": " | "label": "Photo", | ||
"description": " | "description": "Photo of the room", | ||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"RoomNumber": { | |||
"label": "Room number", | |||
"description": "See [[Room_numbering]]", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "PreviouslyNamed": { | ||
"label": " | "label": "Previously named", | ||
"description": " | "description": "Comma-separated list of names this room was called in the past", | ||
"type": " | "type": "string", | ||
"suggested": true | "suggested": true | ||
} | } | ||
Line 20: | Line 26: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<div style=" | <div class="infoboxOuter" style="padding:0.25rem; border:black solid 0.1rem;"> | ||
<p><b>{{{ | <p style="text-align: center; font-size: 1.1rem"><b>{{PAGENAME}}</b></p> | ||
{{#if: {{{Photo|}}} | <div style="width:fit-content; margin:auto;">[[File:{{{Photo}}}]]</div> |}} | |||
<p style="margin-top:1rem; padding:0"><b>[[Room numbering|Room number]]:</b> {{{RoomNumber|K2x-x-x}}}</p> | |||
{{#if: {{{PreviouslyNamed|}}} | <p><b>Previously named:</b> <em>{{{PreviouslyNamed}}}</em></p> |}} | |||
</div> | </div> |
Latest revision as of 20:17, 14 April 2025
This template adds an Infobox specific for Rooms
Parameter | Description | Type | Status | |
---|---|---|---|---|
Photo | Photo | Photo of the room | File | suggested |
Room number | RoomNumber | See [[Room_numbering]] | String | suggested |
Previously named | PreviouslyNamed | Comma-separated list of names this room was called in the past | String | suggested |
Roombox
Room number: K2x-x-x