Difference between revisions of "Template:Colorize"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#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>
{{#replaceset:{{#replaceset:{{#replaceset:{{{1|}}}|/```([^`]+)```/=<span class="colorized-description triple-tick">\1</span>}}|/``([^`]+)``/=<span class="colorized-description double-tick">\1</span>}}|/`([^`]+)`/=<span class="colorized-description single-tick">\1</span>}}<noinclude>
{{Colorize/doc}}
{{Colorize/doc}}
[[Category:Formatting templates]]
[[Category:Formatting templates]]

Latest revision as of 02:58, 3 July 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.