Difference between revisions of "Template:Message2/doc"

From BattleMaster Wiki
Jump to navigation Jump to search
m (added info about Width spec)
m (Made required parameters bold ; advised using % for width)
 
Line 15: Line 15:
  
 
==Parameters==
 
==Parameters==
* '''Width:''' The width of the message box on the page. Can be any valid table width measurement: px, %, etc. ''Optional.''
+
* '''Width:''' The width of the message box on the page. Please use percentage (e.g. 50%.) Default is 100%. ''Optional.''
* '''Type:''' Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character. Required.
+
* '''Type:''' Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character. '''Required.'''
 
* '''Sender:''' Who the message is from. ''Optional.''
 
* '''Sender:''' Who the message is from. ''Optional.''
 
* '''Recipients:''' Who the message is addressed to. ''Optional.''
 
* '''Recipients:''' Who the message is addressed to. ''Optional.''
* '''Content:''' The message body. Required.
+
* '''Content:''' The message body. '''Required.'''
 
* '''Title:''' The message signature. ''Optional.''
 
* '''Title:''' The message signature. ''Optional.''
  

Latest revision as of 04:28, 2 December 2019

Gtk-dialog-info.svg Page Information
This is a documentation subpage for the Message2 template.
It contains usage information, categories and other content that is not part of the original template page.

Intro

This template is designed to allow the easy inclusion of IG style messages on the wiki in an easy-to-read format.

Usage

{{Message2
|Width=
|Type=
|Sender=
|Recipients=
|Content=
|Title=
}}

Parameters

  • Width: The width of the message box on the page. Please use percentage (e.g. 50%.) Default is 100%. Optional.
  • Type: Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character. Required.
  • Sender: Who the message is from. Optional.
  • Recipients: Who the message is addressed to. Optional.
  • Content: The message body. Required.
  • Title: The message signature. Optional.

Subpages

This is for editing the template itself, not using it: