Template:Infobox lobby/doc: Difference between revisions
(Created page with " <templatedata> { "params": { "name": { "label": "Name", "description": "The map's name.", "type": "line", "suggested": true, "default": "the article's name" }, "image": { "label": "Image filename", "description": "The full filename of the map's image. The default syntax is 175px|frameless where FILENAME is the name of the file, and ext is its extension (jpg, png...).", "example": "175px|frameless"...") |
m (categories of templates shall be inside includeonly tags) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
"name": { |
"name": { |
||
"label": "Name", |
"label": "Name", |
||
"description": "The |
"description": "The lobby's name.", |
||
"type": "line", |
"type": "line", |
||
"suggested": true, |
"suggested": true, |
||
Line 12: | Line 12: | ||
"image": { |
"image": { |
||
"label": "Image filename", |
"label": "Image filename", |
||
"description": "The full filename of the |
"description": "The full filename of the lobby's icon or image. The default syntax is [[File:FILENAME.ext|120px|frameless]] where FILENAME is the name of the file, and ext is its extension (jpg, png...).", |
||
"example": "[[File:Example.png| |
"example": "[[File:Example.png|120px|frameless]]", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"suggested": true |
"suggested": true |
||
Line 28: | Line 28: | ||
"type": "string", |
"type": "string", |
||
"example": "Noel Berry (programmer)<br>Lena Raine (composer)<br>Pedro Medeiros (artist)" |
"example": "Noel Berry (programmer)<br>Lena Raine (composer)<br>Pedro Medeiros (artist)" |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||
"difficulty": { |
"difficulty": { |
||
Line 94: | Line 84: | ||
"description": "The next lobby, used in navigation. Write the name, will be linked automatically. If needed, use full link syntax without square brackets.", |
"description": "The next lobby, used in navigation. Write the name, will be linked automatically. If needed, use full link syntax without square brackets.", |
||
"example": "../Advanced Lobby/" |
"example": "../Advanced Lobby/" |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
}, |
}, |
||
Line 103: | Line 103: | ||
"creator", |
"creator", |
||
"author", |
"author", |
||
" |
"berries", |
||
"difficulty", |
"difficulty", |
||
"music", |
"music", |
||
Line 117: | Line 117: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
[[Category:Infobox templates]] |
<includeonly>[[Category:Infobox templates]]</includeonly> |
Latest revision as of 18:36, 30 June 2024
An infobox for lobbies. Has a navigation feature.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The lobby's name.
| Line | suggested |
Image filename | image | The full filename of the lobby's icon or image. The default syntax is [[File:FILENAME.ext|120px|frameless]] where FILENAME is the name of the file, and ext is its extension (jpg, png...).
| File | suggested |
Creator | creator | The name (nickname) of the lobby creator.
| String | optional |
Other authors | author | Arrange them in a list using <br> tags.
| String | optional |
Strawberries | berries strawberries | Strawberries in all maps of the lobby. Use {{Silverberry}} for the silverberry image.
| String | suggested |
Difficulty | difficulty | No limitations within the template, but it is suggested to use the Spring Collab scale (Beginner...Grandmaster). Do not use abbreviations.
| Unknown | suggested |
Soundtrack | music | You may want to use the [[Template:Soundtrack|soundtrack template]]. | Unknown | optional |
Pack/collab name | pack | Name of map pack or collab. | String | suggested |
Is a collab? | collab | Fill if it is a collab | Boolean | suggested |
Number of maps | mapcount | no description | Number | suggested |
Name of heartside | heartside | no description | Line | optional |
Name of Crystal Heart | heart | no description | Unknown | optional |
Is navigation used? | nav | If defined, a navigation menu will appear. Use in conjunction with "prev" and/or "next" arguments. | Boolean | suggested |
Previous lobby (navigation) | prev | A link to the preceeding lobby. Automatically linked. If you want to make display more compact, you can use full link syntax without square brackets.
| Unknown | optional |
Next lobby (navigation) | next | The next lobby, used in navigation. Write the name, will be linked automatically. If needed, use full link syntax without square brackets.
| Unknown | optional |