Template:Infobox mod level/doc: Difference between revisions
(documentation for infobox mod level, it's sure messy!) |
(Updated) |
||
Line 12: | Line 12: | ||
"label": "Image filename", |
"label": "Image filename", |
||
"description": "The full filename of the map's image", |
"description": "The full filename of the map's image", |
||
"example": "[[File:Example.png]]", |
"example": "[[File:Example.png|200px]]", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"suggested": true |
"suggested": true |
||
Line 18: | Line 18: | ||
"creator": { |
"creator": { |
||
"label": "Creator", |
"label": "Creator", |
||
"suggested": true |
"suggested": true, |
||
"type": "string" |
|||
}, |
}, |
||
"author": { |
"author": { |
||
"label": "Other authors" |
"label": "Other authors", |
||
"description": "Arrange them in a list using <br> tags", |
|||
"type": "string" |
|||
}, |
}, |
||
"pack": { |
"pack": { |
||
Line 33: | Line 36: | ||
}, |
}, |
||
"dep": { |
"dep": { |
||
"label": "Dependencies" |
"label": "Dependencies", |
||
"description": "Use <br> tags to separate, provide links if possible" |
|||
}, |
}, |
||
"num": { |
"num": { |
||
Line 67: | Line 71: | ||
}, |
}, |
||
"music": { |
"music": { |
||
"label": "Soundtrack" |
"label": "Soundtrack", |
||
"description": "You may want to use the soundtrack template" |
|||
}, |
}, |
||
"nav": { |
"nav": { |
||
Line 76: | Line 81: | ||
"sides": { |
"sides": { |
||
"label": "Sides", |
"label": "Sides", |
||
"description": "No effect if nav is set to no, it's yes/no and if yes, it'll provide links to XA, XB and XC, where X is the value of the chapter argument earlier", |
"description": "No effect if nav is set to no, it's yes/no and if yes, it'll provide links to XA, XB and XC, where X is the value of the chapter number argument earlier", |
||
"type": "boolean" |
"type": "boolean" |
||
}, |
}, |
||
"previous": { |
"previous": { |
||
"label": "Previous map", |
"label": "Previous map", |
||
"description": "Used in navigation, no effect if nav is no or undefined" |
"description": "Used in navigation, no effect if nav is no or undefined. Only the name is required, will be linked automatically", |
||
"type": "line" |
|||
}, |
}, |
||
"next": { |
"next": { |
||
"label": "Next map", |
"label": "Next map", |
||
"description": "Used in navigation, no effect if nav is no or undefined" |
"description": "Used in navigation, no effect if nav is no or undefined. Only the name is required, will be linked automatically", |
||
"type": "line" |
|||
} |
} |
||
}, |
}, |
||
"description": "An infobox for custom maps.\nDocumentation was not written or reviewed by the template author |
"description": "An infobox for custom maps.\nDocumentation was not written or reviewed by the template author, and the documentation author doesn't have a lot of experience playing custom maps, so it may be incorrect or incomplete.\n Good luck there, feel free to correct the documentation if you know how" |
||
} |
} |
||
</templatedata> |
</templatedata> |
Revision as of 17:12, 30 June 2023
An infobox for custom maps. Documentation was not written or reviewed by the template author, and the documentation author doesn't have a lot of experience playing custom maps, so it may be incorrect or incomplete. Good luck there, feel free to correct the documentation if you know how
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Map name, will use page name if blank | Line | suggested |
Image filename | image | The full filename of the map's image
| File | suggested |
Creator | creator | no description | String | suggested |
Other authors | author | Arrange them in a list using <br> tags | String | optional |
Map pack or collab name | pack | Ignore (and un-tick) if you don't want it be a map pack or collab | Unknown | optional |
Is it a collab? | collab | Specify yes if collab, has no effect if pack argument is blank | Boolean | optional |
Dependencies | dep | Use <br> tags to separate, provide links if possible | Unknown | optional |
Is numbering used? | num | Un-tick if numbering (8D, 7X, whatever) is not used. If defined, define arguments chaptertext, chapter, level | Boolean | optional |
Chaptertext | chaptertext | It's the text that replaces "Level" in the numeration, no effect if num is undefined
| Unknown | optional |
Chapter number | chapter | No effect if num is undefined
| Unknown | optional |
Chapter letter | level | No effect if num is undefined
| Unknown | optional |
Strawberries | strawberries | Strawberries in the mod/collab/map. Use {{Silverberry}} for substituting the silverberry image
| Unknown | suggested |
Difficulty | difficulty | Use your favorite scale, no extra requirements | Unknown | suggested |
Soundtrack | music | You may want to use the soundtrack template | Unknown | optional |
Is there navigation? | nav | Use it if there's an A-Side and a B-Side and a C-Side and level navigation... not quite sure what that means. Anyway it's yes/no | Boolean | optional |
Sides | sides | No effect if nav is set to no, it's yes/no and if 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 nav is no or undefined. Only the name is required, will be linked automatically | Line | optional |
Next map | next | Used in navigation, no effect if nav is no or undefined. Only the name is required, will be linked automatically | Line | optional |