Template:Noticebox/doc: Difference between revisions
From VRChat Wiki
TrixxedHeart (talk | contribs) m (Protected "Template:Noticebox/doc": High-risk template or module: This wouldn't actually cause many issues if someone were to edit this, however it would probably be preferred to keep editing privileges to autoconfirmed ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (Text replacement - "\[\[(?!(Special:|File:|Media:))([^\|\]]+)\]\]" to "$2") |
||
Line 25: | Line 25: | ||
! Name !! Variable !! Description !! Default | ! Name !! Variable !! Description !! Default | ||
|- | |- | ||
| Image || <code>image=</code><br>Can also be parameter 1.|| Noticebox image. ||[[:File:PlaceholderRoss.png]] [[File:PlaceholderRoss.png|64px|frameless]] | | Image || <code>image=</code><br>Can also be parameter 1.|| Noticebox image. ||[[Special:MyLanguage/:File:PlaceholderRoss.png|:File:PlaceholderRoss.png]] [[File:PlaceholderRoss.png|64px|frameless]] | ||
|- | |- | ||
| Title || <code>title=</code><br>Can also be parameter 2. || the title of the notice box. || <span style="color:#FF0000;">Notice</span> | | Title || <code>title=</code><br>Can also be parameter 2. || the title of the notice box. || <span style="color:#FF0000;">Notice</span> | ||
Line 41: | Line 41: | ||
| text color || <code>textcolor=</code> || (Optional) font color of the notice box||#000000 | | text color || <code>textcolor=</code> || (Optional) font color of the notice box||#000000 | ||
|} | |} | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Special:MyLanguage/Category:Template Documentation|Category:Template Documentation]]</noinclude> |
Revision as of 19:13, 23 August 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.
{{Noticebox |image= |title= |message= |size= |border= |border-width= |background= |textcolor=}}
Example Usage
{{Noticebox|Vrrat_thumbsup.png|VRRat is cool!|Please deliver upon them cheese.|size=16px|border=#F8CC3A|border-width=2px|background=#F5EFDC|textcolor=#000022}}
will make:
VRRat is cool! Please deliver upon them cheese. |
Template parameters
Name | Variable | Description | Default |
---|---|---|---|
Image | image= Can also be parameter 1. |
Noticebox image. | :File:PlaceholderRoss.png |
Title | title= Can also be parameter 2. |
the title of the notice box. | Notice |
Message | message= Can also be parameter 3. |
the description of the notice box. | Description missing |
Image size | size= |
(Optional) size of the image file | 64px |
border color | border= |
(Optional) border of the notice box | #000000 |
border width | border-width= |
(Optional) border width | 1px |
background color | background= |
(Optional) background color of the notice box | #ebebeb |
text color | textcolor= |
(Optional) font color of the notice box | #000000 |