Template:Admonition

From ThresholdRPG Wiki
Revision as of 02:53, 6 February 2025 by Gesslar (talk | contribs)


Usage

This template creates admonition boxes (highlighted message boxes) with different styles based on type.

Syntax

{{Admonition|type=TYPE|text}}

or

{{Admonition|type=TYPE|title=CUSTOM TITLE|text}}

Available Types

  • note (default) - For general information
  • warning - For warning messages
  • tip - For helpful tips
  • important - For crucial information
  • info - For additional information
  • question - For questions or FAQs
  • caution - For careful consideration

Examples

{{Admonition|This is a default note.}}
{{Admonition|type=warning|This is a warning message.}}
{{Admonition|type=tip|title=Pro Tip!|This is a custom-titled tip.}}
{{Admonition|type=important|This is important information.}}
{{Admonition|type=info|This is additional information.}}
{{Admonition|type=question|Have you considered this?}}
{{Admonition|type=caution|Proceed with caution.}}

Live Examples

📝 Note
This is a default note.



⚠️ Warning
This is a warning message.



💡 Pro Tip!
This is a custom-titled tip.