Template:Roombox: Difference between revisions
close p tag :) |
white-space shuffling + improve previous name entry description |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
"PreviouslyNamed": { | "PreviouslyNamed": { | ||
"label": "Previously named", | "label": "Previously named", | ||
"description": " | "description": "Comma-separated list of names this room was called in the past", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 28: | Line 28: | ||
<div class="infoboxOuter" style="padding:0.25rem; border:black solid 0.1rem;"> | <div class="infoboxOuter" style="padding:0.25rem; border:black solid 0.1rem;"> | ||
<p style="text-align: center; font-size: 1.1rem"><b>{{PAGENAME}}</b></p> | <p style="text-align: center; font-size: 1.1rem"><b>{{PAGENAME}}</b></p> | ||
{{#if: {{{Photo|}}} | [[File:{{{Photo}}}]] |}} | {{#if: {{{Photo|}}} | <div style="width:fit-content; margin:auto;">[[File:{{{Photo}}}]]</div> |}} | ||
<p>[[Room numbering|Room number]]: <b>{{{RoomNumber|K2x-x-x}}} | <p style="margin-top:1rem; padding:0"><b>[[Room numbering|Room number]]:</b> {{{RoomNumber|K2x-x-x}}}</p> | ||
{{#if: {{{PreviouslyNamed|}}} | <p>Previously named: <em>{{{PreviouslyNamed}}}</em></p> |}} | {{#if: {{{PreviouslyNamed|}}} | <p><b>Previously named:</b> <em>{{{PreviouslyNamed}}}</em></p> |}} | ||
</div> | </div> |
Latest revision as of 20:48, 21 November 2024
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