Template:Infobox/Asset: Difference between revisions
From VRChat Wiki
move template categories to doc page |
Prevent live templates from categorizing pages outside the intended namespaces. |
||
| Line 38: | Line 38: | ||
<data source="vpm"> | <data source="vpm"> | ||
<label>[[VRChat Package Manager|<translate><!--T:5--> VRChat Package Manager</translate>]]</label> | <label>[[VRChat Package Manager|<translate><!--T:5--> VRChat Package Manager</translate>]]</label> | ||
<format>[vcc://vpm/addRepo?url={{{vpm}}} <translate><!--T:15--> Add to VCC</translate> | <format>[vcc://vpm/addRepo?url={{{vpm}}} <translate><!--T:15--> Add to VCC</translate>]</format> | ||
</data> | </data> | ||
<data source="booth"> | <data source="booth"> | ||
<label>[[Community:BOOTH|BOOTH]]</label> | <label>[[Community:BOOTH|BOOTH]]</label> | ||
<format>[<translate nowrap><!--T:6--> https://booth.pm/en/items/<tvar name="id">{{{booth}}}</tvar></translate> {{{booth}}} | <format>[<translate nowrap><!--T:6--> https://booth.pm/en/items/<tvar name="id">{{{booth}}}</tvar></translate> {{{booth}}}]</format> | ||
</data> | </data> | ||
<data source="gumroad"> | <data source="gumroad"> | ||
<label>[[Community:Gumroad|Gumroad]]</label> | <label>[[Community:Gumroad|Gumroad]]</label> | ||
<format>[https://gum.co/{{{gumroad}}} {{{gumroad}}} | <format>[https://gum.co/{{{gumroad}}} {{{gumroad}}}]</format> | ||
</data> | </data> | ||
<data source="github"> | <data source="github"> | ||
<label>[[wikipedia:GitHub|GitHub]] repository</label> | <label>[[wikipedia:GitHub|GitHub]] repository</label> | ||
<format>[https://github.com/{{{github}}} {{{github}}} | <format>[https://github.com/{{{github}}} {{{github}}}]</format> | ||
</data> | </data> | ||
<data source="gitlab"> | <data source="gitlab"> | ||
<label>[[wikipedia:GitLab|GitLab]] repository</label> | <label>[[wikipedia:GitLab|GitLab]] repository</label> | ||
<format>[https://gitlab.com/{{{gitlab}}} {{{gitlab}}} | <format>[https://gitlab.com/{{{gitlab}}} {{{gitlab}}}]</format> | ||
</data> | </data> | ||
</group> | </group> | ||
</infobox>[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude> | </infobox> | ||
{{#switch:{{NAMESPACE}} | |||
| {{ns:0}} | |||
| {{ns:3000}} = <!-- | |||
Categories shouldn't be triggered in Template page itself, but must triggered in the "Community" namespace articles. | |||
-->{{#if:{{{vpm|}}}|[[Category:Assets available via the VRChat Package Manager{{#translation:}}]]}}<!-- | |||
-->{{#if:{{{booth|}}}|[[Category:Assets available via BOOTH{{#translation:}}]]}}<!-- | |||
-->{{#if:{{{gumroad|}}}|[[Category:Assets available via Gumroad{{#translation:}}]]}}<!-- | |||
-->{{#if:{{{github|}}}|[[Category:Assets available via GitHub{{#translation:}}]]}}<!-- | |||
-->{{#if:{{{gitlab}|}}}|[[Category:Assets available via GitLab{{#translation:}}]]}}<!-- | |||
-->}} | |||
[[Category:Resources{{#translation:}}]][[Category:Assets{{#translation:}}]]</onlyinclude> | |||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 01:02, 28 September 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 |