VRCWiki:Useful Templates: Difference between revisions

From VRChat Wiki
(Created page with "When contributing to the VRChat Wiki, you can use Templates to help create rich links and content that can be useful. Here are some templates that may be particularly useful: ==Inline Templates== These templates may be used inline, such as links to official VRChat documents, vrchat worlds, or other resources. {| class="wikitable" |+ !Template !Template code !Result |- | Template:VRC link | <code><nowiki>{{VRC link|https://vrchat.com|VRChat Home page}}</nowiki></co...")
 
m (Text replacement - "\[\[(?!(Special:|File:|Media:))([^\|\]]+)\]\]" to "$2")
 
(10 intermediate revisions by 2 users not shown)
Line 11: Line 11:
!Result
!Result
|-
|-
| [[Template:VRC link]]
| [[Special:MyLanguage/Template:VRC link|Template:VRC link]]
| <code><nowiki>{{VRC link|https://vrchat.com|VRChat Home page}}</nowiki></code>
| <code><nowiki>{{VRC link|https://vrchat.com|VRChat Home page}}</nowiki></code>
| {{VRC link|https://vrchat.com|VRChat Home page}}
| {{VRC link|https://vrchat.com|VRChat Home page}}
|-
|-
|[[Template:World link]]
|[[Special:MyLanguage/Template:World link|Template:World link]]
|<code><nowiki>{{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}</nowiki></code>
|<code><nowiki>{{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}</nowiki></code>
|{{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}
|{{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}
|}
==Noticeboxes==
{| class="wikitable"
|+
!Template
!Template code
!Result
|-
| [[Special:MyLanguage/Template:Stub|Template:Stub]]
| <code><nowiki>{{Stub}}</nowiki></code>
| {{Stub}}
|-
|[[Special:MyLanguage/Template:Noticebox/Official|Template:Noticebox/Official]]
|<code><nowiki>{{Noticebox/Official}}</nowiki></code>
|{{Noticebox/Official}}
|-
|[[Special:MyLanguage/Template:Delete|Template:Delete]]
|<code><nowiki>{{Delete|reason|~~~~}}</nowiki></code>
|{{Delete|This page is literal garbage|[[Special:MyLanguage/User:Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7|Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7]] ([[Special:MyLanguage/User talk:Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7|talk]]) 10:01, 22 June 2024 (UTC)|nocat=1}}
|-
|[[Special:MyLanguage/Template:Noticebox/Community|Template:Noticebox/Community]]
|<code><nowiki>{{Noticebox/Community}}</nowiki></code>
|{{Noticebox/Community}}
|-
|[[Special:MyLanguage/Template:Noticebox/unreleased|Template:Noticebox/unreleased]]
|<code><nowiki>{{Noticebox/unreleased}}</nowiki></code>
|{{Noticebox/unreleased}}
|-
|[[Special:MyLanguage/Template:Noticebox/wip|Template:Noticebox/wip]]
|<code><nowiki>{{Noticebox/wip}}</nowiki></code>
|{{Noticebox/wip}}
|}
==Navboxes==
{| class="wikitable"
|+
!Template
!Template code
!Result
|-
| [[Special:MyLanguage/Template:Start-navbox|Template:Start-navbox]]
| <code><nowiki>{{Start-navbox}}</nowiki></code>
| {{Start-navbox}}
|}
|}


Line 28: Line 75:
!Result
!Result
|-
|-
| [[Template:Infobox/World]]
| [[Special:MyLanguage/Template:Infobox/World|Template:Infobox/World]]
| <code><nowiki>{{World
| <code><nowiki>{{World
|name=
|name=
Line 44: Line 91:
}}</nowiki></code>
}}</nowiki></code>
| {{Infobox/World
| {{Infobox/World
|name=VRChat Home
|name=Treehouse in the Shade
|image=
|developer=1001
|imagecaption=
|platform= PC
|developer=VRChat
|link={{World link|wrld_551c30cb-0e56-4c69-9176-10e259a89e2a|Treehouse in the Shade}}
|platform= PCVR, Android
|published=Nov 09 2018
|link={{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}
|published=Sep 30 2022
}}
}}
|-
|-
| [[Template:Infobox/Official World]]
| [[Special:MyLanguage/Template:Infobox/Official World|Template:Infobox/Official World]]
| <code><nowiki>{{Official World
| <code><nowiki>{{Official World
|name=
|name=
Line 73: Line 118:
|imagecaption=
|imagecaption=
|developer=VRChat
|developer=VRChat
|platform= PCVR, Android
|platform= PC, Android
|link={{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}
|link={{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}}
|published=Sep 30 2022
|published=Sep 30 2022
}}
}}
|}
==Noticeboxes==
{| class="wikitable"
|+
!Template
!Template code
!Result
|-
| [[Template:Stub]]
| <code><nowiki>{{Stub}}</nowiki></code>
| {{Stub}}
|-
|[[Template:Noticebox/official]]
|<code><nowiki>{{Noticebox/official}}</nowiki></code>
|{{Noticebox/official}}
|-
|[[Template:Delete]]
|<code><nowiki>{{Delete|reason|~~~~}}</nowiki></code>
|{{Delete|This page is literal garbage|[[User:Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7|Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7]] ([[User talk:Usr 681ab43c-99d7-4e40-92ba-956d9d8d66e7|talk]]) 10:01, 22 June 2024 (UTC)}}
|-
|[[Template:Noticebox/community]]
|<code><nowiki>{{Noticebox/community}}</nowiki></code>
|{{Noticebox/community}}
|-
|[[Template:Noticebox/unreleased]]
|<code><nowiki>{{Noticebox/unreleased}}</nowiki></code>
|{{Noticebox/unreleased}}
|-
|[[Template:Noticebox/wip]]
|<code><nowiki>{{Noticebox/wip}}</nowiki></code>
|{{Noticebox/wip}}
|}
|}

Latest revision as of 19:22, 23 August 2024

When contributing to the VRChat Wiki, you can use Templates to help create rich links and content that can be useful. Here are some templates that may be particularly useful:

Inline Templates

These templates may be used inline, such as links to official VRChat documents, vrchat worlds, or other resources.

Template Template code Result
Template:VRC link {{VRC link|https://vrchat.com|VRChat Home page}} Official VRChat source VRChat Home page
Template:World link {{World link|wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd|VRChat Home}} VRChat World VRChat Home


Noticeboxes

Template Template code Result
Template:Stub {{Stub}}
Vrrat posed-right.png
V · EThis page is a stub.
You can help the VRChat Wiki by improving it.
[Reason: No reason provided.]
Template:Noticebox/Official {{Noticebox/Official}}
VRLogo.png
V · EThis is an official VRChat information page!
It is written and maintained by VRCWiki Team.
Template:Delete {{Delete|reason|~~~~}}
Icons Delete.png
V · EThis page has been marked for deletion.
This page was marked for deletion and may be patrolled by Wiki Moderators to have its content removed or merged into another page.
[Reason: This page is literal garbage — dorktoast (talk) 10:01, 22 June 2024 (UTC)]
Template:Noticebox/Community {{Noticebox/Community}}
IconOnly CL Portal.png
V · ECommunity-written content
The following was created by the community. It may contain material not directly endorsed by the VRChat team. To learn more, consider reading Contributing to the VRChat Wiki.
Template:Noticebox/unreleased {{Noticebox/unreleased}}
CautionTriangle.png
V · EUnreleased or beta content!
This content is currently unreleased or in beta, be aware it could change!
Template:Noticebox/wip {{Noticebox/wip}}
Tools.png
V · EThis page is a work in progress
This page is actively being worked on, information may be incomplete or out of date. You can help the VRChat Wiki by editing it.
[Reason: No reason provided.]

Navboxes

Template Template code Result
Template:Start-navbox {{Start-navbox}}
VRLogo.png
V · EGetting Started in VRChat
Getting StartedMenusControlsSafetyVRChat+TroubleshootingResourcesFAQ

Infoboxes

Template Template code Result
Template:Infobox/World {{World |name= |image= |imagecaption= |developer= |publisher= |designer= |gen= |platform= |themes= |link= |labs= |published= }}
Template:Infobox/Official World {{Official World |name= |image= |imagecaption= |developer= |publisher= |designer= |gen= |platform= |themes= |link= |labs= |published= }}