Template:Infobox/Asset/doc: Difference between revisions

From VRChat Wiki
Hackebein (talk | contribs)
No edit summary
Tag: Manual revert
~Pausbe (talk | contribs)
add categories
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template Documentation]]</noinclude>
{{Infobox/Asset
{{Infobox/Asset
|title=my.title
|name=MyC00l VRChat Asset
|name=MyC00l VRChat Asset
|image=[[File:Placeholder.webp]]
|image=[[File:Placeholder.webp]]
Line 19: Line 19:
{
{
"params": {
"params": {
"title": {
"label": "Title",
"example": "my title",
"type": "string"
},
"name": {
"name": {
"label": "Name",
"label": "Name",
Line 27: Line 32:
"image": {
"image": {
"label": "Image",
"label": "Image",
"example": "CyanTrigger.png",
"example": "Placeholder.webp",
"type": "wiki-file-name",
"type": "wiki-file-name",
"required": true
"required": true
Line 34: Line 39:
"label": "YouTube",
"label": "YouTube",
"description": "YouTube video ID",
"description": "YouTube video ID",
"example": "xRha7-qE1vg",
"example": "Gm_2YqvGgxM",
"type": "string"
"type": "string"
},
},
Line 59: Line 64:
"status": {
"status": {
"label": "Status",
"label": "Status",
"description": "Status of the Asset, any of `maintained`, `maintenance`, `deprecated`, `abandoned`, `archived`, `unknown`, or custom text",
"description": "Status of the Asset, any of `maintained`, `maintenance`, `deprecated`, `abandoned`, `archived`, `unknown`, or custom text. Custom text can't be translated.",
"example": "maintained",
"example": "maintained",
"type": "string"
"type": "string"
Line 107: Line 112:
},
},
"paramOrder": [
"paramOrder": [
        "title",
"name",
"name",
"image",
"image",
Line 125: Line 131:
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Infobox templates{{#translation:}}]]</includeonly>
<noinclude>[[Category:Template documentation{{#translation:}}]]</noinclude>

Latest revision as of 03:25, 21 April 2026

TemplateData Documentation

No description.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

no description

Example
my title
Stringoptional
Namename

no description

Example
My Asset Name
Stringrequired
Imageimage

no description

Example
Placeholder.webp
Filerequired
YouTubeyoutube

YouTube video ID

Example
Gm_2YqvGgxM
Stringoptional
Authorauthor

no description

Example
VRChat
Stringoptional
Author 1author_1

no description

Example
VRRat
Stringoptional
Author 2author_2

no description

Example
VRCat
Stringoptional
Author 3author_3

no description

Example
VRBat
Stringoptional
Statusstatus

Status of the Asset, any of `maintained`, `maintenance`, `deprecated`, `abandoned`, `archived`, `unknown`, or custom text. Custom text can't be translated.

Example
maintained
Stringoptional
documentationdocumentation

Documentation URL

Example
https://docs.vrchat.com/
URLoptional
Licenselicense

License of the Package

Example
MIT
Stringoptional
VPMvpm

VRChat Package Manager URL

Example
https://packages.vrchat.com/official?download
URLoptional
Booth IDbooth

Booth ID

Example
1234567
Stringoptional
Gumroadgumroad

Gumroad ID

Example
vrchat
Stringoptional
GitHubgithub

GitHub <user>/<repo>

Example
vrchat/packages
Stringoptional
GitLabgitlab

GitLab <user>/<repo>

Example
vrchat/packages
Stringoptional