Help:Division Box: Difference between revisions

From Iskomunidad
Jmtirao (talk | contribs)
Jmtirao (talk | contribs)
Line 26: Line 26:


==Available Colors==
==Available Colors==
<div style="{{divstyleamber}}; width:5em; float:left; margin:.3em">amber</div>
<div style="{{divstyleblack}}; width:5em; float:left; margin:.3em">black</div>
<div style="{{divstylebloodred}}; width:5em; float:left; margin:.3em">bloodred</div>
<div style="{{divstyleblue}}; width:5em; float:left; margin:.3em">blue</div>
<div style="{{divstylebrown}}; width:5em; float:left; margin:.3em">brown</div>
<div style="{{divstyleforest}}; width:5em; float:left; margin:.3em">forest</div>
<div style="{{divstylegold}}; width:5em; float:left; margin:.3em">gold</div>
<div style="{{divstylegray}}; width:5em; float:left; margin:.3em">gray</div>
<div style="{{divstylegreen}}; width:5em; float:left; margin:.3em">green</div>
<div style="{{divstylenavy}}; width:5em; float:left; margin:.3em">navy</div>
<div style="{{divstylenone}}; width:5em; float:left; margin:.3em">none</div>
<div style="{{divstyleorange}}; width:5em; float:left; margin:.3em">orange</div>
<div style="{{divstyleplain}}; width:5em; float:left; margin:.3em">plain</div>
<div style="{{divstylepurple}}; width:5em; float:left; margin:.3em">purple</div>
<div style="{{divstylered}}; width:5em; float:left; margin:.3em">red</div>
<div style="{{divstylewhite}}; width:5em; float:left; margin:.3em">white</div>
<div style="{{divstyleyellow}}; width:5em; float:left; margin:.3em">yellow</div>
<br clear="all" />

Revision as of 19:01, 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:



Available Colors

amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow