Template:Contentbox/Asset/en: Difference between revisions
From VRChat Wiki
Updating to match new version of source page |
Updating to match new version of source page |
||
| (17 intermediate revisions by the same user 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 | |||
| 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 22: | ||
<!-- 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|}}} | |||
|'''Authors''' (ordered by significance) | |||
|'''Author''' | |||
|Authors (ordered by significance) | }}:<br>{{Infobox/Asset/Authors|{{{author|}}}|{{{author_1||}}}|{{{author_2||}}}|{{{author_3||}}}}}</div> | ||
|Author | ||}}{{#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|}}} | ||
|{{{author_1||}}} | | * [https://booth.pm/en/items/{{{booth}}} BOOTH] | ||
|{{{author_2||}}} | }}{{#if: {{{gumroad|}}} | ||
|{{{author_3||}}} | | * [https://gum.co/{{{gumroad}}} Gumroad] | ||
}} | }}{{#if: {{{github|}}} | ||
||}} | | * [https://github.com/{{{github}}} GitHub] | ||
}}{{#if: {{{gitlab|}}} | |||
{{#if: {{{docs|}}} | * [{{{docs | | * [https://gitlab.com/{{{gitlab}}} GitLab] | ||
{{#if: {{{booth|}}} | * [https://booth.pm/en/items/{{{booth}}} BOOTH] | }}</div>}} | ||
{{#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> | ||
[[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 |