Template:Infobox/Asset/doc: Difference between revisions
From VRChat Wiki
Add TemplateData |
add docs for license |
||
| Line 1: | Line 1: | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Category:Template Documentation]]</noinclude> | ||
{{Infobox/Asset | {{Infobox/Asset | ||
|name= | |name=MyC00l VRChat Asset | ||
|image=[[File:CyanTrigger.png]] | |image=[[File:CyanTrigger.png]] | ||
|youtube=xRha7-qE1vg | |youtube=xRha7-qE1vg | ||
|author= | |author=VRChat | ||
|author_1=VRRat | |author_1=VRRat | ||
|author_2=VRCat | |author_2=VRCat | ||
|documentation=https:// | |documentation=https://docs.vrchat.com | ||
| | |license=Proprietary | ||
| | |vpm=https://vrchat.github.io/packages/index.json | ||
|booth= | |booth=123456 | ||
|gumroad= | |gumroad=vrchat | ||
| | |github=vrchat/packages | ||
|gitlab=vrchat/packages}} | |||
==TemplateData Documentation== | ==TemplateData Documentation== | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | |||
"label": "Name", | |||
"example": "My Asset Name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"example": "CyanTrigger.png", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"youtube": { | "youtube": { | ||
"label": "YouTube", | "label": "YouTube", | ||
"description": "YouTube video ID", | "description": "YouTube video ID", | ||
"example": "xRha7-qE1vg", | "example": "xRha7-qE1vg", | ||
"type": "string" | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"example": "VRChat", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 26: | Line 44: | ||
"label": "Author 1", | "label": "Author 1", | ||
"example": "VRRat", | "example": "VRRat", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 41: | Line 54: | ||
"label": "Author 3", | "label": "Author 3", | ||
"example": "VRBat", | "example": "VRBat", | ||
"type": "string" | |||
}, | |||
"documentation": { | |||
"label": "documentation", | |||
"description": "Documentation URL", | |||
"example": "https://docs.vrchat.com/", | |||
"type": "url" | |||
}, | |||
"license": { | |||
"label": "License", | |||
"description": "License of the Package", | |||
"example": "MIT", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 46: | Line 71: | ||
"label": "VPM", | "label": "VPM", | ||
"description": "VRChat Package Manager URL", | "description": "VRChat Package Manager URL", | ||
"example": "https:// | "example": "https://packages.vrchat.com/official?download", | ||
"type": "url" | "type": "url" | ||
}, | }, | ||
| Line 52: | Line 77: | ||
"label": "Booth ID", | "label": "Booth ID", | ||
"description": "Booth ID", | "description": "Booth ID", | ||
"example": " | "example": "1234567", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 58: | Line 83: | ||
"label": "Gumroad", | "label": "Gumroad", | ||
"description": "Gumroad ID", | "description": "Gumroad ID", | ||
"example": " | "example": "vrchat", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 64: | Line 89: | ||
"label": "GitHub", | "label": "GitHub", | ||
"description": "GitHub <user>/<repo>", | "description": "GitHub <user>/<repo>", | ||
"example": " | "example": "vrchat/packages", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 70: | Line 95: | ||
"label": "GitLab", | "label": "GitLab", | ||
"description": "GitLab <user>/<repo>", | "description": "GitLab <user>/<repo>", | ||
"example": " | "example": "vrchat/packages", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
| Line 101: | Line 108: | ||
"author_3", | "author_3", | ||
"documentation", | "documentation", | ||
"license", | |||
"vpm", | "vpm", | ||
"booth", | "booth", | ||
Revision as of 17:26, 25 May 2025
TemplateData Documentation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description
| String | required |
| Image | image | no description
| File | required |
| YouTube | youtube | YouTube video ID
| String | optional |
| Author | author | no description
| String | optional |
| Author 1 | author_1 | no description
| String | optional |
| Author 2 | author_2 | no description
| String | optional |
| Author 3 | author_3 | no description
| String | optional |
| documentation | documentation | Documentation URL
| URL | optional |
| License | license | License of the Package
| String | optional |
| VPM | vpm | VRChat Package Manager URL
| URL | optional |
| Booth ID | booth | Booth ID
| String | optional |
| Gumroad | gumroad | Gumroad ID
| String | optional |
| GitHub | github | GitHub <user>/<repo>
| String | optional |
| GitLab | gitlab | GitLab <user>/<repo>
| String | optional |