Difference between revisions of "Template:Message2/doc"

From BattleMaster Wiki
Jump to navigation Jump to search
m (New page: <noinclude}{{DocSubpage}}</noinclude> ==Intro== This template is designed to allow the easy inclusion of IG style messages on the wiki in an easy-to-read format. ==Usage== <pre> {{Message...)
 
m (Made required parameters bold ; advised using % for width)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude}{{DocSubpage}}</noinclude>
+
<noinclude>{{DocSubpage}}</noinclude>
 
==Intro==
 
==Intro==
 
This template is designed to allow the easy inclusion of IG style messages on the wiki in an easy-to-read format.
 
This template is designed to allow the easy inclusion of IG style messages on the wiki in an easy-to-read format.
Line 6: Line 6:
 
<pre>
 
<pre>
 
{{Message2
 
{{Message2
 +
|Width=
 
|Type=
 
|Type=
 
|Sender=
 
|Sender=
Line 14: Line 15:
  
 
==Parameters==
 
==Parameters==
* '''Type:''' Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character.
+
* '''Width:''' The width of the message box on the page. Please use percentage (e.g. 50%.) Default is 100%. ''Optional.''
* '''Sender:''' Who the message is from. Optional.
+
* '''Type:''' Event, Letter, Roleplay, Report, Request, Orders, Important Orders, Out-of-Character. '''Required.'''
* '''Recipients:''' Who the message is addressed to.
+
* '''Sender:''' Who the message is from. ''Optional.''
* '''Content:''' The message body.
+
* '''Recipients:''' Who the message is addressed to. ''Optional.''
* '''Title:''' The message signature. Optional.
+
* '''Content:''' The message body. '''Required.'''
 +
* '''Title:''' The message signature. ''Optional.''
  
 
==Subpages==
 
==Subpages==

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: