Template:C: Difference between revisions
Jump to navigation
Jump to search
(Don't output anything if second parameter (the text) is empty) |
>Vinifera7 No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{2|}}} | <span class="text-{{{1|}}}">{{{2}}}</span> }}</includeonly><noinclude> | <includeonly>{{#if: {{{2|}}} | <span class="text-color -{{{1|}}}">{{{2}}}</span> }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 04:16, 3 June 2016
This template is used to apply predefined colors and styles to text. For the template used to set font colors arbitrarily, see {{Color}}.
This template is used to apply predefined colour/style classes to text.
Parameters
The first parameter is the class identifier.
The second parameter is the text to be styled.
Usage
{{c|mod|sample text}}
→ sample text{{c|stat|sample text}}
→ sample text{{c|value|sample text}}
→ sample text{{c|fire|sample text}}
→ sample text{{c|cold|sample text}}
→ sample text{{c|lightning|sample text}}
→ sample text{{c|chaos|sample text}}
→ sample text{{c|augmented|sample text}}
→ sample text{{c|crafted|sample text}}
→ sample text{{c|fractured|sample text}}
→ sample text{{c|enchanted|sample text}}
→ sample text{{c|scourge|sample text}}
→ sample text{{c|normal|sample text}}
→ sample text{{c|magic|sample text}}
→ sample text{{c|rare|sample text}}
→ sample text{{c|unique|sample text}}
→ sample text{{c|gem|sample text}}
→ sample text{{c|currency|sample text}}
→ sample text{{c|quest|sample text}}
→ sample text{{c|nemesis|sample text}}
→ sample text{{c|corrupted|sample text}}
→ sample text{{c|bloodline|sample text}}
→ sample text{{c|torment|sample text}}
→ sample text{{c|divination|sample text}}
→ sample text{{c|prophecy|sample text}}
→ sample text{{c|essence|sample text}}
→ sample text{{c|bestiary|sample text}}
→ sample text{{c|delirium|sample text}}
→ sample text{{c|craftingcaster|sample text}}
→ sample text{{c|craftingphysical|sample text}}
→ sample text{{c|craftingfire|sample text}}
→ sample text{{c|craftingcold|sample text}}
→ sample text{{c|craftinglightning|sample text}}
→ sample text{{c|craftingchaos|sample text}}
→ sample text{{c|craftingspeed|sample text}}
→ sample text{{c|craftinglife|sample text}}
→ sample text{{c|craftingdefences|sample text}}
→ sample text{{c|craftingattack|sample text}}
→ sample text{{c|help|sample text}}
→ sample text{{c|flavour|sample text}}
→ sample text{{c|primal|sample text}}
→ sample text{{c|vivid|sample text}}
→ sample text{{c|wild|sample text}}
→ sample text
The above documentation is transcluded from Template:C/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.