Template:C/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(→‎Usage: add craft)
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
 
This template is used to apply pre-defined colour/style classes to text.
This template is used to apply pre-defined colour/style classes to text.


Line 32: Line 33:
* <code><nowiki>{{c|corrupted|sample text}}</nowiki></code> → {{c|corrupted|sample text}}
* <code><nowiki>{{c|corrupted|sample text}}</nowiki></code> → {{c|corrupted|sample text}}


<includeonly>
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</includeonly>
}}

Revision as of 10:50, 1 December 2020

This subpage provides documentation for Template:C.

This template is used to apply pre-defined colour/style classes to text.

Parameters

The first parameter is the class identifier.

The second parameter is the text to be styled.

Usage

See MediaWiki:Common.css for an exhaustive list. Search for: text-color

  • {{c|stat|sample text}}sample text
  • {{c|help|sample text}}sample text
  • {{c|value|sample text}}sample text
  • {{c|mod|sample text}}sample text
  • {{c|craft|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|cosmetic|sample text}}sample text
  • {{c|flavour|sample text}}sample text
  • {{c|gemdesc|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|currency|sample text}}sample text
  • {{c|gem|sample text}}sample text
  • {{c|card|sample text}}sample text
  • {{c|quest|sample text}}sample text
  • {{c|prophecy|sample text}}sample text
  • {{c|corrupted|sample text}}sample text