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 |
||
| Line 2: | Line 2: | ||
<div style="display:flex; flex-wrap:wrap; align-items:stretch;"> | <div style="display:flex; flex-wrap:wrap; align-items:stretch;"> | ||
{{#ifexpr: {{#if: {{{youtube|}}}|1|0}} OR {{#if: {{{image|}}}|1|0}} | | {{#ifexpr: {{#if: {{{youtube|}}}|1|0}} OR {{#if: {{{image|}}}|1|0}} | | ||
<div style="flex: | <div style="flex-basis: 45%; display: flex;">{{#if: {{{youtube|}}}|{{YouTube|{{{youtube|}}}|100%}}|{{#if: {{{image|}}}|<!-- Image -->|}}}}</div> | ||
}} | }} | ||
<div style="flex:1 | <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="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="font-size:1.75em; line-height:1.5; text-align:center;">{{{name|Name}}}</div> | ||
Revision as of 01:48, 30 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 |