Template:Contentbox/Asset: Difference between revisions

From VRChat Wiki
Hackebein (talk | contribs)
No edit summary
~Pausbe (talk | contribs)
move template categories to doc page
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><languages/></noinclude><onlyinclude>
<noinclude><languages/></noinclude><onlyinclude><div class="pi-theme-community" style="background: var(--pi-background); overflow: hidden;  margin-bottom: 5px; {{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} OR {{#if: {{{image|}}} | 1 | 0 }} ||display: table-cell; vertical-align:top; width: 50%;}}">
<div class="pi-theme-community" style="background: var(--pi-background); overflow: hidden; {{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} OR {{#if: {{{image|}}} | 1 | 0 }} ||display: inline-block; width: 49%;}}">
<div style="display:flex; flex-wrap: wrap; align-items: stretch;">
{| style="width: 100%; border-spacing: 0px;" |
{{#ifexpr: {{#if: {{{youtube|}}}|1|0}} OR {{#if: {{{image|}}}|1|0}} |
|-
<div style="flex-basis: 45%; display: flex;">{{#if: {{{youtube|}}}|{{YouTube|{{{youtube|}}}|100%}}|{{#if: {{{image|}}}|<!-- Image -->|}}}}</div>
| rowspan="5" style="{{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} OR {{#if: {{{image|}}} | 1 | 0 }} ||display: none;}}" | {{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} OR {{#if: {{{image|}}} | 1 | 0 }} | {{#if: {{{youtube|xRha7-qE1vg}}} | {{YouTube | {{{youtube|xRha7-qE1vg}}} | 100%}} | {{#if: {{{image|}}} | <!-- Image --> | <!-- no media --> }}}} |}}
}}
| colspan="2" style="background-color: var(--pi-secondary-background); text-align: center;" | {{{title|com.vrchat.worlds v{{VPM/com.vrchat.worlds/Latest version}}}}}
<div style="flex-grow: 1; display:flex; flex-direction: column; flex-basis: min-content;">
|-
<div style="background:var(--pi-secondary-background); text-align:center;">{{{title|}}}</div>
| colspan="2" style="font-size: 1.75em; line-height: 1.5; text-align: center;" | {{{name|{{VPM/com.vrchat.worlds/Latest version/DisplayName}}}}}
<div style="font-size: 1.75em; line-height: 1.5; text-align: center;">{{{name|Name}}}</div>
|-
<div style="display: flex; flex-wrap: wrap;">
| rowspan="2" style="padding: 5px;" | '''Status:''' {{#ifeq: {{{status|maintained}}} | maintained
<div style="padding: 0.4em 0.5em; flex-basis: 60%; box-sizing: border-box;">'''Status:''' {{#ifeq: {{{status|}}} | maintained
| <translate><!--T:9--> Actively Maintained<br><span style="font-size: .7em;">Asset is regularly updated with new features and bug fixes.</span></translate>
| <translate><!--T:9--> Actively Maintained</translate><br><span style="font-size: .7em;"><translate><!--T:23--> Asset is regularly updated with new features and bug fixes.</translate></span>
| {{#ifeq: {{{status|}}} | maintenance
| {{#ifeq: {{{status|}}} | maintenance
| <translate><!--T:10--> Maintenance Mode<br>Asset only receives critical bug fixes, but no new features.</translate>
| <translate><!--T:10--> Maintenance Mode</translate><br><span style="font-size: .7em;"><translate><!--T:24--> Asset only receives critical bug fixes, but no new features.</translate></span>
| {{#ifeq: {{{status|}}} | deprecated
| {{#ifeq: {{{status|}}} | deprecated
| <translate><!--T:11--> Deprecated<br>Asset is no longer recommended for use and may be replaced by a newer alternative.</translate>
| <translate><!--T:11--> Deprecated</translate><br><span style="font-size: .7em;"><translate><!--T:25--> Asset is no longer recommended for use and may be replaced by a newer alternative.</translate></span>
| {{#ifeq: {{{status|}}} | abandoned
| {{#ifeq: {{{status|}}} | abandoned
| <translate><!--T:12--> Abandoned<br>Asset is no longer maintained and may not be functional.</translate>
| <translate><!--T:12--> Abandoned</translate><br><span style="font-size: .7em;"><translate><!--T:26--> Asset is no longer maintained and may not be functional.</translate></span>
| {{#ifeq: {{{status|}}} | archived
| {{#ifeq: {{{status|}}} | archived
| <translate><!--T:13--> Archived<br>Asset is preserved for historical purposes but is not in active use.</translate>
| <translate><!--T:13--> Archived</translate><br><span style="font-size: .7em;"><translate><!--T:27--> Asset is preserved for historical purposes but is not in active use.</translate></span>
| {{#ifeq: {{{status|}}} | unknown
| {{#ifeq: {{{status|unknown}}} | unknown
| <translate><!--T:14--> Unknown<br>Licence is unknown.</translate>
| <translate><!--T:14--> Unknown</translate><br><span style="font-size: .7em;"><translate><!--T:28--> Status is unknown.</translate></span>
<!-- Fallback -->   
<!-- Fallback -->   
| {{{status|}}}
| {{{status|}}}
}}}}}}}}}}}}
}}}}}}}}}}}}</div>{{#if: {{{license|}}}|
| style="padding: 5px;" | '''License:''' {{{license|{{VPM/com.vrchat.worlds/Latest version/License}}}}}
<div style="padding: 0.4em 0.5em; flex-basis: 40%; box-sizing: border-box;">'''License:''' {{{license|}}}<br>[vcc://vpm/addRepo?url={{{vpm|}}} Add to VCC]</div>
|-
}}{{#if:{{{author|}}} |
| [vcc://vpm/addRepo?url={{{vpm|{{VPM/com.vrchat.worlds/Latest version/VPM}}}}} Add to VCC]
<div style="padding: 0.4em 0.5em; flex-basis: 60%; box-sizing: border-box;">{{#if:{{{author_1|}}}
|-
|<translate><!--T:29--> '''Authors''' (ordered by significance)</translate>
| style="padding: 5px;" | {{#if:{{{author_2|{{#ifexist:Template:VPM/com.vrchat.worlds/Latest version/Author_2|{{VPM/com.vrchat.worlds/Latest version/Author_2}}|}}}}}
|'''<translate><!--T:30--> Author</translate>'''
|<translate>Authors (ordered by significance)</translate>
}}:<br>{{Infobox/Asset/Authors|{{{author|}}}|{{{author_1||}}}|{{{author_2||}}}|{{{author_3||}}}}}</div>
|<translate>Author</translate>
||}}{{#ifexpr: {{#if: {{{docs|}}}|1|0}} OR {{#if: {{{booth|}}}|1|0}} OR {{#if: {{{gumroad|}}}|1|0}} OR {{#if: {{{github|}}}|1|0}} OR {{#if: {{{gitlab|}}}|1|0}} |<div style="padding: 0.4em 0.5em; flex-basis: 40%; box-sizing: border-box;">'''Links:'''{{#if: {{{docs|}}}
}}: {{Infobox/Asset/Authors
| * [{{{docs}}} Docs]
|{{{author|{{#ifexist:Template:VPM/com.vrchat.worlds/Latest version/Author_1|{{VPM/com.vrchat.worlds/Latest version/Author_1}}|}}}}}
}}{{#if: {{{booth|}}}
|{{{author_1|{{#ifexist:Template:VPM/com.vrchat.worlds/Latest version/Author_2|{{VPM/com.vrchat.worlds/Latest version/Author_2}}|}}|}}}
| * [https://booth.pm/en/items/{{{booth}}} BOOTH]
|{{{author_2|{{#ifexist:VPM/com.vrchat.worlds/Latest version/Author_3|{{VPM/com.vrchat.worlds/Latest version/Author_3}}|}}|}}}
}}{{#if: {{{gumroad|}}}
|{{{author_3|{{#ifexist:VPM/com.vrchat.worlds/Latest version/Author_4|{{VPM/com.vrchat.worlds/Latest version/Author_4}}|}}|}}}
| * [https://gum.co/{{{gumroad}}} Gumroad]
}}
}}{{#if: {{{github|}}}
| style="padding: 5px;" | {{#ifexpr: {{#if:{{{docs|}}}|1|0}} OR{{#if:{{{booth|}}}|1|0}} OR{{#if:{{{gumroad|}}}|1|0}} OR{{#if:{{{github|}}}|1|0}} OR{{#if:{{{gitlab|}}}|1|0}} | '''Links:'''
| * [https://github.com/{{{github}}} GitHub]
{{#if: {{{docs|}}} | * [{{{docs|a}}} Docs]|}}
}}{{#if: {{{gitlab|}}}
{{#if: {{{booth|}}} | * [<translate nowrap><!--T:6--> https://booth.pm/en/items/<tvar name="id">{{{booth}}}</tvar></translate> BOOTH][[Category:Assets available via BOOTH{{#translation:}}]]|}}
| * [https://gitlab.com/{{{gitlab}}} GitLab]
{{#if: {{{gumroad|}}} | * [https://gum.co/{{{gumroad}}} Gumroad][[Category:Assets available via Gumroad{{#translation:}}]]|}}
}}</div>}}
{{#if: {{{github|}}} | * [https://github.com/{{{github}}} GitHub][[Category:Assets available via GitHub{{#translation:}}]]|}}
</div>
{{#if: {{{gitlab|}}} | * [https://gitlab.com/{{{gitlab}}} GitLab][[Category:Assets available via GitLab{{#translation:}}]]|}}
</div>
|}}
</div>
|}
</div>
</div>
[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude>
[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude>
<noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:48, 21 April 2026

Name
Status: Unknown
Status is unknown.
my.title.1
MyC00l VRChat Asset
Status: Actively Maintained
Asset is regularly updated with new features and bug fixes.
License: Proprietary
Add to VCC
Authors (ordered by significance):
VRChat, VRRat, and VRCat
my.title.2
MyC00l VRChat Asset #2
Status: Archived
Asset is preserved for historical purposes but is not in active use.
License: MIT
Add to VCC
Author:
VRChat
Links:
my.title.3
MyC00l VRChat Asset #3
Status: Actively Maintained
Asset is regularly updated with new features and bug fixes.
License: Proprietary
Add to VCC
Authors (ordered by significance):
VRRat, VRCat
Links:

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
xRha7-qE1vg
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