Template:Notice/doc

From Dragon Village Collection Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Description

This template is used to create notices.

Blank Template

{{Notice
|class =
|style =
|rounded =
|width =
|color = 
|image = 
|text =
}}

Parameters

  • class: The class of the notice box, or what it should be referred to as/what its purpose is.
  • style: The border style of the notice box. Default is double.
  • rounded: The border-radius of the notice box in pixels. Default is 0.
  • width: The width of the notice box. This is typically left blank to keep the default width.
  • color: The color of the notice box border.
  • image: The image that is to the left of the text in the notice box. Only emoji images should be used for consistency.
  • text: The text content of the notice box.

Usage Example

Input:

{{Notice
|class = welcome
|color = pink
|image = File:Welcome Emoji.png
|text = Hello there! I am a notice box. Have a lovely day!
}}

Output:

Welcome Emoji.png Hello there! I am a notice box. Have a lovely day!


This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.