Template:Roombox: Difference between revisions

From Kanthaus wiki
close p tag :)
re-wrap img in div, else it comes in a pre
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>[[File:{{{Photo}}}]]</div> |}}
   <p>[[Room numbering|Room number]]: <b>{{{RoomNumber|K2x-x-x}}}</b></p>
   <p>[[Room numbering|Room number]]: <b>{{{RoomNumber|K2x-x-x}}}</b></p>
   {{#if: {{{PreviouslyNamed|}}} | <p>Previously named: <em>{{{PreviouslyNamed}}}</em></p> |}}
   {{#if: {{{PreviouslyNamed|}}} | <p>Previously named: <em>{{{PreviouslyNamed}}}</em></p> |}}
</div>
</div>

Revision as of 20:15, 21 November 2024

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
PhotoPhoto

Photo of the room

Filesuggested
Room numberRoomNumber

See [[Room_numbering]]

Stringsuggested
Previously namedPreviouslyNamed

List of names this room was called in the past

Stringsuggested

Roombox

Room number: K2x-x-x