Difference between revisions of "Template:Colorize"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{#replaceset:{{#replaceset:{{{1|}}}|/```([^`]+)```/=<span style="color: # | {{#replaceset:{{#replaceset:{{#replaceset:{{{1|}}}|/```([^`]+)```/=<span style="color: #ba5a0b; font-weight: bold;">\1</span>}}|/``([^`]+)``/=<span style="color: #c3ce51; font-weight: bold;">\1</span>}}|/`([^`]+)`/=<span style="color: #0a9421; font-weight: bold;">\1</span>}}<noinclude> | ||
{{Colorize/doc}} | {{Colorize/doc}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] |
Revision as of 03:11, 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.