Template:C/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
(→‎Usage: add craft)
Line 13: Line 13:
* <code><nowiki>{{c|value|sample text}}</nowiki></code> → {{c|value|sample text}}
* <code><nowiki>{{c|value|sample text}}</nowiki></code> → {{c|value|sample text}}
* <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}}
* <code><nowiki>{{c|mod|sample text}}</nowiki></code> → {{c|mod|sample text}}
* <code><nowiki>{{c|craft|sample text}}</nowiki></code> → {{c|craft|sample text}}
* <code><nowiki>{{c|fire|sample text}}</nowiki></code> → {{c|fire|sample text}}
* <code><nowiki>{{c|fire|sample text}}</nowiki></code> → {{c|fire|sample text}}
* <code><nowiki>{{c|cold|sample text}}</nowiki></code> → {{c|cold|sample text}}
* <code><nowiki>{{c|cold|sample text}}</nowiki></code> → {{c|cold|sample text}}

Revision as of 15:38, 10 May 2019

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