Template:Infobox/Asset: Difference between revisions

From VRChat Wiki
Hackebein (talk | contribs)
No edit summary
~Pausbe (talk | contribs)
move template categories to doc page
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><languages/></noinclude><onlyinclude><infobox type="Asset" layout="stacked" theme="community">
<noinclude><languages/></noinclude><onlyinclude><infobox type="Asset" layout="stacked" theme="community">
<title source="name"/>
    <title source="name"/>
    <header>{{{title|}}}</header>
<image source="image"/>
<image source="image"/>
     <data source="youtube">
     <data source="youtube">
Line 9: Line 10:
         <format>{{Infobox/Asset/Authors|{{{author|}}}|{{{author_1|}}}|{{{author_2|}}}|{{{author_3|}}}}}</format>
         <format>{{Infobox/Asset/Authors|{{{author|}}}|{{{author_1|}}}|{{{author_2|}}}|{{{author_3|}}}}}</format>
     </data>
     </data>
<data source="status">
    <data source="status">
  <label><translate><!--T:8--> Status</translate></label>
        <label><translate><!--T:8--> Status</translate></label>
  <format>
        <format>{{#ifeq: {{{status|}}} | maintained
{{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | maintained
| <translate><!--T:9--> Actively Maintained – Asset is regularly updated with new features and bug fixes.</translate>
| <translate><!--T:9--> Actively Maintained – Asset is regularly updated with new features and bug fixes.</translate>
| {{#ifeq: {{{status|}}} | maintenance
| {{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | maintenance
| <translate><!--T:10--> Maintenance Mode – Asset only receives critical bug fixes, but no new features.</translate>
| <translate><!--T:10--> Maintenance Mode – Asset only receives critical bug fixes, but no new features.</translate>
| {{#ifeq: {{{status|}}} | deprecated
| {{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | deprecated
| <translate><!--T:11--> Deprecated – Asset is no longer recommended for use and may be replaced by a newer alternative.</translate>
| <translate><!--T:11--> Deprecated – Asset is no longer recommended for use and may be replaced by a newer alternative.</translate>
| {{#ifeq: {{{status|}}} | abandoned
| {{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | abandoned
| <translate><!--T:12--> Abandoned – Asset is no longer maintained and may not be functional.</translate>
| <translate><!--T:12--> Abandoned – Asset is no longer maintained and may not be functional.</translate>
| {{#ifeq: {{{status|}}} | archived
| {{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | archived
| <translate><!--T:13--> Archived – Asset is preserved for historical purposes but is not in active use.</translate>
| <translate><!--T:13--> Archived – Asset is preserved for historical purposes but is not in active use.</translate>
| {{#ifeq: {{{status|}}} | unknown
| {{#ifeq: {{lc:{{trim:{{{status|}}}}}}} | unknown
| <translate><!--T:14--> Unknown – Status is unknown.</translate>
| <translate><!--T:14--> Unknown – Licence is unknown.</translate>
<!-- Fallback -->
<!-- Fallback -->
| {{{status}}}}}
| {{{status}}}
}}}}}}}}}}</format>
}}}}}}}}}}</format>
</data>
    </data>
     <data source="documentation">
     <data source="documentation">
         <label><translate><!--T:3--> Documentation</translate></label>
         <label><translate><!--T:3--> Documentation</translate></label>
Line 38: Line 38:
     <data source="vpm">
     <data source="vpm">
<label>[[VRChat Package Manager|<translate><!--T:5--> VRChat Package Manager</translate>]]</label>
<label>[[VRChat Package Manager|<translate><!--T:5--> VRChat Package Manager</translate>]]</label>
             <format>{{{vpm}}}[[Category:Assets available via the VRChat Package Manager{{#translation:}}]]</format>
             <format>[vcc://vpm/addRepo?url={{{vpm}}} <translate><!--T:15--> Add to VCC</translate>][[Category:Assets available via the VRChat Package Manager{{#translation:}}]]</format>
</data>
</data>
         <data source="booth">
         <data source="booth">
Line 58: Line 58:
     </group>
     </group>
</infobox>[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude>
</infobox>[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude>
<noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:23, 21 April 2026

TemplateData Documentation

No description.

Template parameters[Edit template data]

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