Template:Roombox: Difference between revisions

From Kanthaus wiki
No edit summary
No edit summary
Line 5: Line 5:
     "params": {
     "params": {
         "CommonName": {
         "CommonName": {
             "label": "CommonName",
             "label": "Common name",
             "description": "The most common name of the room",
             "description": "The most common name of the room",
             "type": "string",
             "type": "string",
             "required": true,
             "required": true
            "suggested": false
         },
         },
         "Photo": {
         "Photo": {
Line 15: Line 14:
             "description": "Photo of the room",
             "description": "Photo of the room",
             "type": "wiki-file-name",
             "type": "wiki-file-name",
            "suggested": true
        },
        "RoomNumber": {
            "label": "Room number",
            "description": "See [[Room_numbering]]",
            "type": "string",
            "suggested": true
        },
        "PreviouslyCalled": {
            "label": "Previously called",
            "description": "List of name this room was called in the past",
            "type": "string",
             "suggested": true
             "suggested": true
         }
         }
Line 22: Line 33:
</noinclude>
</noinclude>
<div style="width: 200px; float:right; padding:0.25rem; margin:1rem 1rem 1.5rem 1rem; border:black solid 0.1rem; clear:both; overflow: clip;">  
<div style="width: 200px; float:right; padding:0.25rem; margin:1rem 1rem 1.5rem 1rem; border:black solid 0.1rem; clear:both; overflow: clip;">  
   <p><b>{{{CommonName}}}</b><p>
   <p><b style="text-align: center">{{{CommonName}}}</b><p>
   <div>[[File:{{{Photo}}}|200px]]</div>
   <div>[[File:{{{Photo}}}|200px]]</div>
  <p>[[Room numbering|Room number]]: {{{RoomNumber}}}</p>
  <p>Previoulsy called: {{{PreviouslyCalled}}}</p>
</div>
</div>

Revision as of 23:28, 21 October 2024

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Common nameCommonName

The most common name of the room

Stringrequired
PhotoPhoto

Photo of the room

Filesuggested
Room numberRoomNumber

See [[Room_numbering]]

Stringsuggested
Previously calledPreviouslyCalled

List of name this room was called in the past

Stringsuggested

{{{CommonName}}}

[[File:{{{Photo}}}|200px]]

Room number: {{{RoomNumber}}}

Previoulsy called: {{{PreviouslyCalled}}}