Template:Infobox object/doc: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
moved templatedata to documentation |
objects/mechanics -> entities, cat, + nav argument |
||
Line 4: | Line 4: | ||
"name": { |
"name": { |
||
"label": "Name", |
"label": "Name", |
||
"description": "The name of the |
"description": "The name of the entity, displayed at the top of the infobox", |
||
"example": "Pufferfish", |
"example": "Pufferfish", |
||
"type": "string", |
"type": "string", |
||
Line 13: | Line 13: | ||
"description": "The image displayed in the infobox (must be typed as a file link with square brackets)", |
"description": "The image displayed in the infobox (must be typed as a file link with square brackets)", |
||
"example": "[[File:Celeste_jellyfish.gif]]", |
"example": "[[File:Celeste_jellyfish.gif]]", |
||
"type": "wiki-file-name" |
"type": "wiki-file-name", |
||
"suggested": true |
|||
}, |
}, |
||
"caption": { |
"caption": { |
||
Line 19: | Line 20: | ||
"description": "The caption displayed below the image", |
"description": "The caption displayed below the image", |
||
"example": "A floating jellyfish", |
"example": "A floating jellyfish", |
||
"type": "string" |
"type": "string", |
||
"suggested": true |
|||
}, |
}, |
||
"othernames": { |
"othernames": { |
||
"label": "Other names", |
"label": "Other names", |
||
"description": "Alternate names for the |
"description": "Alternate names for the entity", |
||
"example": "Jelly, Glider", |
"example": "Jelly, Glider", |
||
"type": "string" |
"type": "string", |
||
"suggested": true |
|||
}, |
}, |
||
"mod": { |
"mod": { |
||
"label": " |
"label": "Helper", |
||
"description": "If applicable, the mod that this |
"description": "If applicable, the mod that this entity is from", |
||
"example": "Communal Helper", |
"example": "Communal Helper", |
||
"type": "string" |
"type": "string", |
||
"suggested": true |
|||
}, |
}, |
||
"found": { |
"found": { |
||
Line 37: | Line 41: | ||
"description": "A list of chapters using the {{ch}} template ", |
"description": "A list of chapters using the {{ch}} template ", |
||
"example": "{{ch|9}}", |
"example": "{{ch|9}}", |
||
"type": "string" |
"type": "string", |
||
"suggested": true |
|||
}, |
}, |
||
"list": { |
"list": { |
||
"label": "List link", |
"label": "List link", |
||
"description": "If used, this will make the \"list of |
"description": "If used, this will make the \"list of entities\" page at the bottom link to the typed page title instead of Entities", |
||
"example": "Main Page", |
"example": "Main Page", |
||
"type": "string" |
"type": "string" |
||
}, |
|||
"nav": { |
|||
"description": "If filled, removes the \"List of entities\" link", |
|||
"type": "boolean" |
|||
} |
} |
||
} |
} |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
<includeonly>[[Category:Infobox templates]]</includeonly> |
Latest revision as of 11:05, 12 July 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the entity, displayed at the top of the infobox
| String | suggested |
Image | image | The image displayed in the infobox (must be typed as a file link with square brackets)
| File | suggested |
Caption | caption | The caption displayed below the image
| String | suggested |
Other names | othernames | Alternate names for the entity
| String | suggested |
Helper | mod | If applicable, the mod that this entity is from
| String | suggested |
Found | found | A list of chapters using the {{ch}} template
| String | suggested |
List link | list | If used, this will make the "list of entities" page at the bottom link to the typed page title instead of Entities
| String | optional |
nav | nav | If filled, removes the "List of entities" link | Boolean | optional |