Template:Roombox: Difference between revisions

From Kanthaus wiki
No edit summary
No edit summary
Tag: Manual revert
 
(19 intermediate revisions by the same user not shown)
Line 4: Line 4:
     "description": "",
     "description": "",
     "params": {
     "params": {
         "1": {
         "Photo": {
             "label": "Common name",
             "label": "Photo",
             "description": "The most common name of the room",
             "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
         },
         },
         "2": {
         "PreviouslyNamed": {
             "label": "Photo",
             "label": "Previously named",
             "description": "Photo of the room",
             "description": "List of names this room was called in the past",
             "type": "content",
             "type": "string",
             "suggested": true
             "suggested": true
         }
         }
Line 20: Line 26:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<div style="width: 200px; float:right; padding:0.25rem; margin:1rem 1rem 1.5rem 1rem; border:black solid 0.1rem; clear:both;">  
<div style="width: 200px; float:right; padding:0.25rem; margin: 0.5rem; border:black solid 0.1rem;">
   <p><b>{{{1}}}</b><p>
  <p style="text-align: center; font-size: 1.1rem"><b>{{PAGENAME}}</b><p>
   <p style="width: 100%">{{{2}}}</p>
  {{#if: {{{Photo|}}} | <div>[[File:{{{Photo}}}|200px]]</div> |}}
   <p>[[Room numbering|Room number]]: <b>{{{RoomNumber|K2x-x-x}}}</b></p>
   {{#if: {{{PreviouslyNamed|}}} | <p>Previously named: <em>{{{PreviouslyNamed}}}</em></p> |}}
</div>
</div>

Latest revision as of 00:41, 22 October 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