Template:Contentbox/Asset: Difference between revisions
From VRChat Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
{| style="width: 100%; border-spacing: 0px;" | | {| 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 }} OR {{#if: {{{image|}}} | 1 | 0 }} | {{#if: {{{youtube| | | 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| | | colspan="2" style="background-color: var(--pi-secondary-background); text-align: center;" | {{{title|}}} | ||
|- | |- | ||
| colspan="2" style="font-size: 1.75em; line-height: 1.5; text-align: center;" | {{{name| | | colspan="2" style="font-size: 1.75em; line-height: 1.5; text-align: center;" | {{{name|Name}}} | ||
|- | |- | ||
| rowspan="2" style="padding: 5px;" | '''Status:''' {{#ifeq: {{{status| | | rowspan="2" style="padding: 5px;" | '''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<br><span style="font-size: .7em;">Asset is regularly updated with new features and bug fixes.</span></translate> | ||
| {{#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<br><span style="font-size: .7em;">Asset only receives critical bug fixes, but no new features.</span></translate> | ||
| {{#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<br><span style="font-size: .7em;">Asset is no longer recommended for use and may be replaced by a newer alternative.</span></translate> | ||
| {{#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<br><span style="font-size: .7em;">Asset is no longer maintained and may not be functional.</span></translate> | ||
| {{#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<br><span style="font-size: .7em;">Asset is preserved for historical purposes but is not in active use.</span></translate> | ||
| {{#ifeq: {{{status|}}} | unknown | | {{#ifeq: {{{status|unknown}}} | unknown | ||
| <translate><!--T:14--> Unknown<br> | | <translate><!--T:14--> Unknown<br><span style="font-size: .7em;">Status is unknown.</span></translate> | ||
<!-- Fallback --> | <!-- Fallback --> | ||
| {{{status|}}} | | {{{status|}}} | ||
}}}}}}}}}}}} | }}}}}}}}}}}} | ||
| style="padding: 5px;" | '''License:''' {{{license| | | style="padding: 5px;" | {{#if: {{{license|}}} | '''License:''' {{{license|}}} |}} | ||
|- | |- | ||
| [vcc://vpm/addRepo?url={{{vpm| | | {{#if: {{{vpm|}}} | [vcc://vpm/addRepo?url={{{vpm|}}} Add to VCC]|}} | ||
|- | |- | ||
| style="padding: 5px;" | {{#if:{{{ | | style="padding: 5px;" | {{#if:{{{author|}}} | {{#if:{{{author_2|}}} | ||
|<translate>Authors (ordered by significance)</translate> | |<translate>Authors (ordered by significance)</translate> | ||
|<translate>Author</translate> | |<translate>Author</translate> | ||
}}: {{Infobox/Asset/Authors | }}: {{Infobox/Asset/Authors | ||
|{{{author| | |{{{author|}}} | ||
|{{{author_1| | |{{{author_1||}}} | ||
|{{{author_2| | |{{{author_2||}}} | ||
|{{{author_3| | |{{{author_3||}}} | ||
}} | }} | ||
||}} | |||
| 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:''' | | 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: {{{docs|}}} | * [{{{docs|a}}} Docs]|}} | {{#if: {{{docs|}}} | * [{{{docs|a}}} Docs]|}} | ||
Revision as of 23:47, 29 May 2025
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 |