Template:Contentbox/Asset: Difference between revisions
From VRChat Wiki
Created page with "<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%;}}"> {| style="width: 100%; border-spacing: 0px;" | |- | rowspan="5" style="{{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} OR {{#if: {{{image|}}} | 1 | 0 }} ||display: none;}}" | {{#ifexpr: {{#if: {{{youtube|}}} | 1 | 0 }} O..." |
move template categories to doc page |
||
| (23 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: | <div style="display:flex; flex-wrap: wrap; align-items: stretch;"> | ||
{{#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> | |||
}} | |||
<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> | |||
<div style="font-size: 1.75em; line-height: 1.5; text-align: center;">{{{name|Name}}}</div> | |||
<div style="display: flex; flex-wrap: wrap;"> | |||
<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.</ | | <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> | | <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|}}}| | ||
<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|}}} | | |||
<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> | ||
|'''<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|{{ | }}{{#if: {{{booth|}}} | ||
|{{ | | * [https://booth.pm/en/items/{{{booth}}} BOOTH] | ||
| | }}{{#if: {{{gumroad|}}} | ||
| | | * [https://gum.co/{{{gumroad}}} Gumroad] | ||
}}{{#if: {{{github|}}} | |||
| style="padding: | | * [https://github.com/{{{github}}} GitHub] | ||
{{#if: {{{docs|}}} | * [{{{docs | }}{{#if: {{{gitlab|}}} | ||
{{#if: {{{booth|}}} | * [ | | * [https://gitlab.com/{{{gitlab}}} GitLab] | ||
{{#if: {{{gumroad|}}} | * [https://gum.co/{{{gumroad}}} Gumroad] | }}</div>}} | ||
{{#if: {{{github|}}} | * [https://github.com/{{{github}}} GitHub] | </div> | ||
{{#if: {{{gitlab|}}} | * [https://gitlab.com/{{{gitlab}}} GitLab] | </div> | ||
</div> | |||
</div> | </div> | ||
[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude> | [[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude> | ||
<noinclude>{{Documentation}} | <noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 03:48, 21 April 2026
TemplateData Documentation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | no description
| String | optional |
| 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 |
| Status | status | Status of the Asset, any of `maintained`, `maintenance`, `deprecated`, `abandoned`, `archived`, `unknown`, or custom text. Custom text can't be translated.
| 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 |