Help:Division Box: Difference between revisions

From Iskomunidad
Jmtirao (talk | contribs)
Jmtirao (talk | contribs)
Line 18: Line 18:
Important notifications on [[iskWiki!]] has variable templates included.
Important notifications on [[iskWiki!]] has variable templates included.


  <nowiki>{{divbox|red|Warning|This is an example of the code above<small>({{Date}})</small>}}</nowiki>
  <nowiki>{{divbox|red|Warning|This is an example of the code above<small>({{Date1}})</small>}}</nowiki>


The ''<nowiki>{{Date}}</nowiki>'' syntax returns us a variable date that may change from time to time:
The ''<nowiki>{{Date1}}</nowiki>'' syntax returns us a variable month and year that may change from time to time:


{{divbox|red|Warning|This is an example of the code above<small>({{Date}})</small>}}
 
{{divbox|red|Warning|This is an example of the code above<small>({{Date1}})</small>}}

Revision as of 18:59, 24 February 2009

Division box is the standard template used by iskWiki! to develop early notification templates.

Usage

The division box template has the primary formula:

{{divbox|color|header title|message}}

Divbox portion of the code prompts the wiki system to translate {{{3}}} syntax into a division box. The {{{3}}} commands lead to the foundation of simple division boxes as described here.

Division boxes appeared at the section where it was applied. The subject header title on the formula describes the intended header message of the notification, and message gives the descriptive message to the readers.

Example

{{divbox|red|Notification Message|This is an example of the code above}}



Important notifications on iskWiki! has variable templates included.

{{divbox|red|Warning|This is an example of the code above<small>({{Date1}})</small>}}

The {{Date1}} syntax returns us a variable month and year that may change from time to time: