Template:Contentbox/Asset/en: Difference between revisions

From VRChat Wiki
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 1: Line 1:
<noinclude><languages/></noinclude><onlyinclude>
<noinclude><languages/></noinclude><onlyinclude><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 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 class="asset-infobox" 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 class="asset-media" style="flex:0 0 33%;max-width:33%;">{{#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|}}} | {{YouTube | {{{youtube|}}} | 100%}} | {{#if: {{{image|}}} | <!-- Image --> | <!-- no media --> }}}} |}}
}}
| colspan="2" style="background-color: var(--pi-secondary-background); text-align: center;" | {{{title|}}}
<div class="asset-body" style="flex:1 1 67%;display:flex;flex-direction:column;">
|-
<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|Name}}}
<div style="font-size:1.75em;line-height:1.5;text-align:center;">{{{name|Name}}}</div>
|-
<div style="padding:5px;flex:1 1 60%;">'''Status:''' {{#ifeq: {{{status|}}} | maintained
| rowspan="2" style="padding: 5px;" | '''Status:''' {{#ifeq: {{{status|}}} | maintained
| Actively Maintained<br><span style="font-size: .7em;">Asset is regularly updated with new features and bug fixes.</span>
| Actively Maintained<br><span style="font-size: .7em;">Asset is regularly updated with new features and bug fixes.</span>
| {{#ifeq: {{{status|}}} | maintenance
| {{#ifeq: {{{status|}}} | maintenance
Line 22: Line 21:
<!-- Fallback -->   
<!-- Fallback -->   
| {{{status|}}}
| {{{status|}}}
}}}}}}}}}}}}
}}}}}}}}}}}}</div>{{#if: {{{license|}}}|
| style="padding: 5px;" | {{#if: {{{license|}}} | '''License:''' {{{license|}}} |}}
<div style="padding:5px;flex:1 1 40%;">'''License:''' {{{license|}}}</div>
|-
}}{{#if: {{{vpm|}}}|
| {{#if: {{{vpm|}}} | [vcc://vpm/addRepo?url={{{vpm|}}} Add to VCC]|}}
<div style="padding:5px;flex:1 1 40%;">[vcc://vpm/addRepo?url={{{vpm|}}} Add to VCC]</div>
|-
}}{{#if:{{{author|}}} |
| style="padding: 5px;" | {{#if:{{{author|}}} | {{#if:{{{author_2|}}}
<div style="padding:5px;flex:1 1 60%;">{{#if:{{{author_2|}}}
|Authors (ordered by significance)
|Authors (ordered by significance)
|Author
|Author
Line 35: Line 34:
|{{{author_2||}}}
|{{{author_2||}}}
|{{{author_3||}}}
|{{{author_3||}}}
}}
}}</div>||}}{{#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:5px;flex:1 1 40%;">'''Links:'''{{#if: {{{docs|}}}
||}}
| * [{{{docs}}} Docs]
| 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:'''
}}{{#if: {{{booth|}}}
{{#if: {{{docs|}}} | * [{{{docs|a}}} Docs]|}}
| * [https://booth.pm/en/items/{{{booth}}} BOOTH]
{{#if: {{{booth|}}} | * [https://booth.pm/en/items/{{{booth}}} BOOTH][[Category:Assets available via BOOTH{{#translation:}}]]|}}
}}{{#if: {{{gumroad|}}}
{{#if: {{{gumroad|}}} | * [https://gum.co/{{{gumroad}}} Gumroad][[Category:Assets available via Gumroad{{#translation:}}]]|}}
| * [https://gum.co/{{{gumroad}}} Gumroad]
{{#if: {{{github|}}} | * [https://github.com/{{{github}}} GitHub][[Category:Assets available via GitHub{{#translation:}}]]|}}
}}{{#if: {{{github|}}}
{{#if: {{{gitlab|}}} | * [https://gitlab.com/{{{gitlab}}} GitLab][[Category:Assets available via GitLab{{#translation:}}]]|}}
| * [https://github.com/{{{github}}} GitHub]
|}}
}}{{#if: {{{gitlab|}}}
|}
| * [https://gitlab.com/{{{gitlab}}} GitLab]
}}</div>}}
</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}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>

Revision as of 01:02, 30 May 2025

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