Template:Infobox mod level: Difference between revisions
No edit summary |
(Compacted) |
||
Line 1: | Line 1: | ||
<div>{{Infobox |
<div>{{Infobox |
||
| name = {{{name|{{PAGENAME}}}}} |
| name = {{{name|{{PAGENAME}}}}} |
||
| header1 = <big>{{{name| |
| header1 = <big>{{{name|{{PAGENAME}}}}}</big> |
||
| data2 = |
| data2 = |
||
| data3 = {{{image|<br>}}} |
| data3 = {{{image|<br>}}} |
||
Line 13: | Line 13: | ||
| label8 = {{#if:{{{dep|}}}|Dependencies}} |
| label8 = {{#if:{{{dep|}}}|Dependencies}} |
||
| data8 = {{#if:{{{dep|}}}|{{{dep|Dependencies if any}}}}} |
| data8 = {{#if:{{{dep|}}}|{{{dep|Dependencies if any}}}}} |
||
| label15 = {{#if:{{{ |
| label15 = {{#if:{{{num|}}}|{{{chaptertext|Level}}}}} |
||
| data15 = {{#if:{{{ |
| 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 = {{#if:{{{strawberries}}}|{{{strawberries|Warning: Add number of strawberries (use <code>strawberries =</code> to remove this field)}}}|}} |
| data16 = {{#if:{{{strawberries|}}}|{{{strawberries|Warning: Add number of strawberries (use <code>strawberries =</code> to remove this field)}}}|}} |
||
| label17 = {{#if:{{{difficulty}}}|Difficulty|}} |
| label17 = {{#if:{{{difficulty|}}}|Difficulty|}} |
||
| data17 = {{#if:{{{difficulty}}}|{{{difficulty|Warning: Add difficulty here, or use <code>difficulty =</code> to disable}}}|}} |
| data17 = {{#if:{{{difficulty|}}}|{{{difficulty|Warning: Add difficulty here, or use <code>difficulty =</code> to disable}}}|}} |
||
| label19 = Soundtrack |
| label19 = {{#if:{{{music|}}}|Soundtrack}} |
||
| data19 = {{{music| |
| data19 = {{{music|}}} |
||
}}{{#ifeq:{{yesno-no|{{{nav| |
}}{{#ifeq:{{yesno-no|{{{nav|no}}}}}|no||{{Infobox |
||
| name = {{PAGENAME}}nav |
| name = {{PAGENAME}}nav |
||
| data1 = {{#ifeq:{{yesno-no|{{{nav| |
| data1 = {{#ifeq:{{yesno-no|{{{nav|no}}}}}|no||'''{{{name}}}''' <br> {{{sides|[[{{{chapter}}}A|A-side]] {{•}} [[{{{chapter}}}B|B-side]] {{•}} [[{{{chapter}}}C|C-side]]}}}}} |
||
| data2 = {{#ifeq:{{yesno-no|{{{nav| |
| data2 = {{#ifeq:{{yesno-no|{{{nav|no}}}}}|no||'''Level navigation''' <br> {{#if:{{{previous|}}}|[[{{{previous}}}]] ← |}}{{{name|{{PAGENAME}}}}}{{#if:{{{next|}}}| → [[{{{next}}}]]|}}}} |
||
}}}} |
}}}} |
||
Revision as of 19:51, 28 June 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 |