Template:File information: Difference between revisions
From VRChat Wiki
m Usr c0fd3826-5fbd-465b-869b-142f974af714 moved page Template:Information to Template:File information without leaving a redirect |
formatting |
||
| Line 3: | Line 3: | ||
! style="width: 15%;" | Description | ! style="width: 15%;" | Description | ||
| | | | ||
{{#if: {{{description|}}} | {{#if: {{{description|}}} | ||
| {{{description}}} | | {{{description}}} | ||
| No description added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]] | | No description added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]] | ||
}} | }} | ||
| Line 10: | Line 10: | ||
! Source | ! Source | ||
| | | | ||
{{#if: {{{source|}}} | {{#if: {{{source|}}} | ||
| {{{source}}} | | {{{source}}} | ||
| No source added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]]<includeonly>[[Category:Files without a source]]</includeonly> | | No source added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]]<includeonly>[[Category:Files without a source]]</includeonly> | ||
}} | }} | ||
{{#switch: {{{date|}}} | {{#switch: {{{date|}}} | ||
| = | | = | ||
| - = | | - = | ||
| none = | | none = | ||
| #default = | | #default = | ||
{{!}}- | {{!}}- | ||
! {{#if:{{{date|}}}}} {{!}} Date | ! {{#if:{{{date|}}}}} {{!}} Date | ||
{{!}} {{{date|}}} | {{!}} {{Date|{{{date|}}}}} | ||
}} | }} | ||
|- | |- | ||
! Author | ! Author | ||
| | | | ||
{{#if: {{{author|}}} | {{#if: {{{author|}}} | ||
| {{{author}}} | | {{{author}}} | ||
| No author added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]]<includeonly>[[Category:Files without an author]]</includeonly> | | No author added. Please consider [[Special:EditPage/{{FULLPAGENAME}}|adding one.]]<includeonly>[[Category:Files without an author]]</includeonly> | ||
}} | }} | ||
|- | |- | ||
! Permission | ! Permission | ||
| | | | ||
{{#if: {{{permission|}}} | {{#if: {{{permission|}}} | ||
| {{{permission}}} | | {{{permission}}} | ||
| See below. | | See below. | ||
}} | }} | ||
|- | |- | ||
{{#switch: {{{other_versions|}}} | {{#switch: {{{other_versions|}}} | ||
| = | | = | ||
| - = | | - = | ||
| none = | | none = | ||
| #default = | | #default = | ||
{{!}}- | {{!}}- | ||
! {{#if:{{{other_versions|}}}}} {{!}} Other versions | ! {{#if:{{{other_versions|}}}}} {{!}} Other versions | ||
| Line 48: | Line 48: | ||
}} | }} | ||
{{#switch: {{{additional_information|}}} | {{#switch: {{{additional_information|}}} | ||
| = | | = | ||
| - = | | - = | ||
| none = | | none = | ||
| #default = | | #default = | ||
{{!}}- | {{!}}- | ||
! {{#if:{{{additional_information|}}}}} {{!}} Additional information | ! {{#if:{{{additional_information|}}}}} {{!}} Additional information | ||
Latest revision as of 20:35, 20 July 2026
| Description |
No description added. Please consider adding one. |
|---|---|
| Source |
No source added. Please consider adding one. |
| Author |
No author added. Please consider adding one. |
| Permission |
See below. |
This template displays useful information for files. The template adapts the Information template on Wikipedia.
Usage
{{File information
| description =
| source =
| date =
| author =
| permission =
| other_versions =
| additional_information =
}}
Parameters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Description | description | Description of file | String | required |
| Source | source | Explain where the image is acquired from | String | required |
| Date | date | Date of file creation/publication | String | suggested |
| Author | author | Author of file. If individual is not known, use organization that owns/published file. | String | required |
| Permission | permission | Description of permission for use | String | required |
| Other versions | other_versions | Description of permission for use | String | optional |
| Additional information | additional_information | Any other information about the file that doesn't fit elsewhere | String | optional |
Example
| Description |
Image of the Wagasa item, available in the Shop. |
|---|---|
| Source |
VRChat API |
| Author |
VRChat |
| Permission | |
| Additional information | ProductID: prod_8170fecf-7c7c-4dce-8799-315140096843
Image: file_e499d700-d704-4c1e-a218-c39f5a9c8352 |