Template:Infobox mod level/doc: Difference between revisions

From Celeste Wiki
Jump to navigation Jump to search
Content added Content deleted
(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. It may be incorrect or incomplete.\nAlso, I never played any custom maps :-) Good luck there, feel free to correct the documentation if you know how"
"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

Template parameters

ParameterDescriptionTypeStatus
Namename

Map name, will use page name if blank

Linesuggested
Image filenameimage

The full filename of the map's image

Example
[[File:Example.png|200px]]
Filesuggested
Creatorcreator

no description

Stringsuggested
Other authorsauthor

Arrange them in a list using <br> tags

Stringoptional
Map pack or collab namepack

Ignore (and un-tick) if you don't want it be a map pack or collab

Unknownoptional
Is it a collab?collab

Specify yes if collab, has no effect if pack argument is blank

Booleanoptional
Dependenciesdep

Use <br> tags to separate, provide links if possible

Unknownoptional
Is numbering used?num

Un-tick if numbering (8D, 7X, whatever) is not used. If defined, define arguments chaptertext, chapter, level

Booleanoptional
Chaptertextchaptertext

It's the text that replaces "Level" in the numeration, no effect if num is undefined

Default
Level
Unknownoptional
Chapter numberchapter

No effect if num is undefined

Example
1
Unknownoptional
Chapter letterlevel

No effect if num is undefined

Example
A
Unknownoptional
Strawberriesstrawberries

Strawberries in the mod/collab/map. Use {{Silverberry}} for substituting the silverberry image

Example
10 {{Strawberry}} 5 {{Silverberry}}
Unknownsuggested
Difficultydifficulty

Use your favorite scale, no extra requirements

Unknownsuggested
Soundtrackmusic

You may want to use the soundtrack template

Unknownoptional
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

Booleanoptional
Sidessides

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

Booleanoptional
Previous mapprevious

Used in navigation, no effect if nav is no or undefined. Only the name is required, will be linked automatically

Lineoptional
Next mapnext

Used in navigation, no effect if nav is no or undefined. Only the name is required, will be linked automatically

Lineoptional