Template:Infobox mod level: Difference between revisions
No edit summary |
(compacted template (still need to condense ifeq yesno-no ...)) |
||
(6 intermediate revisions by 2 users not shown) | |||
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>}}} |
||
| data4 = <br> |
| data4 = <br> |
||
| label5 = {{#if:{{{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}} |
||
| data8 = {{{dep|}}} |
|||
| data15 = {{#if:{{{nonum|}}}||{{{chapter|Warning: Add the chapter number (e.g. 1)!}}}{{{level|<br>Warning: Add the level letter (e.g. A)!}}}}} |
|||
| |
| 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)!}}}}} |
||
| |
| label16 = {{#if:{{{strawberries|}}}|Strawberries|}} |
||
| data16 = {{{strawberries|}}} |
|||
| data17 = {{#if:{{{difficulty}}}|{{{difficulty|Warning: Add difficulty here, or use <code>difficulty =</code> to disable}}}|}} |
|||
| label17 = {{#if:{{{difficulty|}}}|[[Difficulty]]|}} |
|||
⚫ | |||
| |
| data17 = {{{difficulty|}}} |
||
⚫ | |||
}}{{Infobox |
|||
| data19 = {{{music|}}} |
|||
}}{{#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}}}]]|}}}} |
||
}} |
}}}} |
||
</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 |