Template:Infobox mod level: Difference between revisions
(Compacted) |
(compacted template (still need to condense ifeq yesno-no ...)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| data4 = <br> |
| data4 = <br> |
||
| label5 = {{#if:{{{creator|}}}|Creator}} |
| label5 = {{#if:{{{creator|}}}|Creator}} |
||
| data5 = |
| data5 = {{{creator|}}} |
||
| label6 = {{#if:{{{author|}}}|Other authors}} |
| label6 = {{#if:{{{author|}}}|Other authors}} |
||
| data6 = |
| data6 = {{{author|}}} |
||
| label7 = {{#if:{{{pack|}}}|{{# |
| label7 = {{#if:{{{pack|}}}|{{#if:{{{collab|}}}|Collab|Map pack}}}} |
||
| data7 = |
| data7 = {{{pack|}}} |
||
| label8 = {{#if:{{{dep|}}}|Dependencies}} |
| label8 = {{#if:{{{dep|}}}|Dependencies}} |
||
| data8 = |
| data8 = {{{dep|}}} |
||
| label15 = {{#if:{{{num|}}}|{{{chaptertext|Level}}}}} |
| label15 = {{#if:{{{num|}}}|{{{chaptertext|Level}}}}} |
||
| data15 = {{#if:{{{num|}}}|{{{chapter|Warning: Add the chapter number (e.g. 1)!}}}{{{level|<br>Warning: Add the level letter (e.g. A)!}}}}} |
| data15 = {{#if:{{{num|}}}|{{{chapter|Warning: Add the chapter number (e.g. 1)!}}}{{{level|<br>Warning: Add the level letter (e.g. A)!}}}}} |
||
| label16 = {{#if:{{{strawberries|}}}|Strawberries|}} |
| label16 = {{#if:{{{strawberries|}}}|Strawberries|}} |
||
| data16 = |
| data16 = {{{strawberries|}}} |
||
| label17 = {{#if:{{{difficulty|}}}|Difficulty|}} |
| label17 = {{#if:{{{difficulty|}}}|[[Difficulty]]|}} |
||
| data17 = |
| data17 = {{{difficulty|}}} |
||
| label19 = {{#if:{{{music|}}}|Soundtrack}} |
| label19 = {{#if:{{{music|}}}|Soundtrack}} |
||
| data19 = {{{music|}}} |
| data19 = {{{music|}}} |
||
Line 27: | Line 27: | ||
}}}} |
}}}} |
||
</div><noinclude>{{Documentation}} |
</div><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 17:43, 19 November 2023
Infobox mod level | |
---|---|
| |
|
An infobox for custom maps. The documentation may be incorrect or incomplete. No arguments are required, but it is strongly recommended to fill in everything you know.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The map name
| Line | suggested |
Image filename | image | The full filename of the map's image. The default syntax is [[File:FILENAME.ext|200px|frameless]] where FILENAME is the name of the file, and ext is its extension.
| File | suggested |
Creator | creator | The name (nickname) of the map's creator.
| String | suggested |
Other authors | author | Arrange them in a list using <br> tags.
| String | optional |
Map pack or collab name | pack | The name of the map pack or the collab of this map. Ignore (and un-tick) if it isn't in a map pack or collab | String | optional |
Is it a collab? | collab | Specify yes if it's in a collab. This argument has no effect if "Map pack or collab name" argument is blank. | Boolean | optional |
Dependencies | dep | Use <br> tags to separate. | String | optional |
Is numbering used? | num | Un-tick if numbering (9B, 8D, 2X, whatever) is not used. Otherwise, tick this argument and define "Chapter number" and "Chapter letter". | Boolean | optional |
Chaptertext | chaptertext | Text that replaces "Level" in the numeration.
| Unknown | optional |
Chapter number | chapter | No effect if numbering is not used.
| Number | optional |
Chapter letter | level | No effect if numbering is not used.
| Unknown | optional |
Strawberries | strawberries | Strawberries in the mod/collab/map. 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 |
Is there navigation? | nav | Type "yes" if there's an A-Side and a B-Side and a C-Side. It will enable the navigation bar. | Boolean | optional |
Sides | sides | No effect if navigation is not used. If this argument is "yes", it'll provide links to XA, XB, and XC, where X is the value of the "Chapter number" argument earlier | Boolean | optional |
Previous map | previous | Used in navigation, no effect if no navigation. Only the name is required, will be linked automatically. | Line | optional |
Next map | next | Used in navigation, no effect if no navigation. Only the name is required, will be linked automatically | Line | optional |