Template:Noticebox/doc: Difference between revisions

From VRChat Wiki
m (add example)
m (add example)
Line 3: Line 3:
This is a customizable notice box that can be used on pages and acts as the foundation for other notice boxes on the wiki.
This is a customizable notice box that can be used on pages and acts as the foundation for other notice boxes on the wiki.
=== Example Usage ===
=== Example Usage ===
<nowiki>{{Noticebox|Vrrat_thumbsup.png|VRRat is cool!|Please deliver upon them cheese.|size=16px|border=#F8CC3A|background=#F5EFDC|textcolor=#000022}}</nowiki>
<pre><nowiki>{{Noticebox|Vrrat_thumbsup.png|VRRat is cool!|Please deliver upon them cheese.|size=16px|border=#F8CC3A|background=#F5EFDC|textcolor=#000022}}</nowiki></pre>


will make:
will make:

Revision as of 19:37, 8 June 2024

Please refrain from editing this template if you do not know what you are doing!

Documentation

This is a customizable notice box that can be used on pages and acts as the foundation for other notice boxes on the wiki.

Example Usage

{{Noticebox|Vrrat_thumbsup.png|VRRat is cool!|Please deliver upon them cheese.|size=16px|border=#F8CC3A|background=#F5EFDC|textcolor=#000022}}

will make:

Vrrat thumbsup.png
VRRat is cool!
Please deliver upon them cheese.


Template parameters

Caption text
Name Variable Description
Image 1 placeholder.png
Title 2 the title of the notice box
Description 3 the description of the notice box
Image size size= (Optional) size of the image file, default is 64px
border color border= (Optional) border of the notice box
background color background= (Optional) background color of the notice box
text color textcolor= (Optional) font color of the notice box