Template:Infobox build/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Updated example) |
TheOnlyZac (talk | contribs) (Added templatedata) |
||
Line 15: | Line 15: | ||
}} |
}} |
||
</pre> |
</pre> |
||
== Template data == |
|||
{{TemplateData header}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"title": { |
|||
"aliases": [ |
|||
"name" |
|||
], |
|||
"description": "The title text for the infobox.", |
|||
"example": "Sly 2 Release Build", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"image": { |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"caption": { |
|||
"type": "string" |
|||
}, |
|||
"build_date": { |
|||
"label": "build date", |
|||
"description": "The build date of the ELF", |
|||
"example": "January 1 2000", |
|||
"suggested": true |
|||
}, |
|||
"region": { |
|||
"description": "The region of the build", |
|||
"example": "United States (NTSC)", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"disc_id": { |
|||
"label": "disc id", |
|||
"description": "The Sony disc ID of the build", |
|||
"example": "SCUS_971.98", |
|||
"suggested": true |
|||
}, |
|||
"next": { |
|||
"label": "next build date", |
|||
"description": "Date of the next build", |
|||
"example": "January 1 2000", |
|||
"type": "date" |
|||
}, |
|||
"previous": { |
|||
"label": "previous build date", |
|||
"description": "Date of the previous build", |
|||
"example": "January 1 2000", |
|||
"type": "date" |
|||
} |
|||
}, |
|||
"description": "An infobox game build articles.", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
== See also == |
|||
* [[Build]] |
Revision as of 23:17, 12 August 2022
Use this infobox on articles for game builds. It automatically adds the page to the builds category for the namespace it is in.
Usage
{{Infobox build |title = Example |image = File:Image name.png |caption = Caption text |build_date = February 29 1969 |region = United States |disc_id = SCXX_XXXXX |size = Example |previous = January 1 1969 |next = January 1 1970 }}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Infobox build
An infobox game build articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title name | The title text for the infobox.
| String | suggested |
image | image | no description | File | optional |
caption | caption | no description | String | optional |
build date | build_date | The build date of the ELF
| Unknown | suggested |
region | region | The region of the build
| String | suggested |
disc id | disc_id | The Sony disc ID of the build
| Unknown | suggested |
next build date | next | Date of the next build
| Date | optional |
previous build date | previous | Date of the previous build
| Date | optional |