Difference between revisions of "Template:Colorize/doc"
Jump to navigation
Jump to search
m (→Example) |
m |
||
Line 1: | Line 1: | ||
__NOTOC__== Description == | __NOTOC__== Description == | ||
Applies color to the text to | Applies color to the text, according to markup (backticks). | ||
<pre>{{colorize|<text>}}</pre> | <pre>{{colorize|<text>}}</pre> | ||
Line 6: | Line 6: | ||
; ''unnamed param 1'' | ; ''unnamed param 1'' | ||
: The text to be colorized. | : The text to be colorized. | ||
; Markup to be used: | |||
: <span style="color: #0a9421;">`Green text`</span> <small>(single backticks)</small> | |||
: <span style="color: #c3ce51;">``Yellow-green text``</span> <small>(double backticks)</small> | |||
: <span style="color: #ba5a0b;">```Brown text```</span> <small>(triple backticks)</small> | |||
== Example == | == Example == | ||
<pre>{{colorize|Summons ``Demi-Bahamut`` to fight by your side. Each time you use an action on a target, ``Demi-Bahamut`` will execute ```Shockwave``` on the same target. `Duration:` 20s<br>Cannot summon ``Demi-Bahamut`` unless a pet is already summoned. Current pet will leave the battlefield while ``Demi-Bahamut`` is present, and return once gone.}}</pre> | <pre>{{colorize|Summons ``Demi-Bahamut`` to fight by your side. Each time you use an action on a target, ``Demi-Bahamut`` will execute ```Shockwave``` on the same target. `Duration:` 20s<br>Cannot summon ``Demi-Bahamut`` unless a pet is already summoned. Current pet will leave the battlefield while ``Demi-Bahamut`` is present, and return once gone.}}</pre> | ||
{{colorize|Summons ``Demi-Bahamut`` to fight by your side. Each time you use an action on a target, ``Demi-Bahamut`` will execute ```Shockwave``` on the same target. `Duration:` 20s<br>Cannot summon ``Demi-Bahamut`` unless a pet is already summoned. Current pet will leave the battlefield while ``Demi-Bahamut`` is present, and return once gone.}} | {{colorize|Summons ``Demi-Bahamut`` to fight by your side. Each time you use an action on a target, ``Demi-Bahamut`` will execute ```Shockwave``` on the same target. `Duration:` 20s<br>Cannot summon ``Demi-Bahamut`` unless a pet is already summoned. Current pet will leave the battlefield while ``Demi-Bahamut`` is present, and return once gone.}} | ||
Revision as of 03:15, 20 June 2017
Description
Applies color to the text, according to markup (backticks).
{{colorize|<text>}}
Parameter
- unnamed param 1
- The text to be colorized.
- Markup to be used
- `Green text` (single backticks)
- ``Yellow-green text`` (double backticks)
- ```Brown text``` (triple backticks)
Example
{{colorize|Summons ``Demi-Bahamut`` to fight by your side. Each time you use an action on a target, ``Demi-Bahamut`` will execute ```Shockwave``` on the same target. `Duration:` 20s<br>Cannot summon ``Demi-Bahamut`` unless a pet is already summoned. Current pet will leave the battlefield while ``Demi-Bahamut`` is present, and return once gone.}}
Summons Demi-Bahamut to fight by your side. Each time you use an action on a target, Demi-Bahamut will execute Shockwave on the same target. Duration: 20s
Cannot summon Demi-Bahamut unless a pet is already summoned. Current pet will leave the battlefield while Demi-Bahamut is present, and return once gone.