Template:Ingamestring: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (updated examples)
No edit summary
 
Line 5: Line 5:
* <code><nowiki>{{Ingamestring|#|i_brown}}</nowiki></code> turns into {{Ingamestring|#|i_brown}}.
* <code><nowiki>{{Ingamestring|#|i_brown}}</nowiki></code> turns into {{Ingamestring|#|i_brown}}.
* <code><nowiki>{{Ingamestring|^|h_yellow}}</nowiki></code> turns into {{Ingamestring|^|h_yellow}}.
* <code><nowiki>{{Ingamestring|^|h_yellow}}</nowiki></code> turns into {{Ingamestring|^|h_yellow}}.
=== Shortcut ===
The template <nowiki>{{igs|}}</nowiki> is a shorthand for this template, and both can be used interchangeably.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 20:18, 15 August 2020

Template to provide short preformatted text that resembles that of the game.

Usage

  • {{Ingamestring|Z}} turns into Z.
  • {{Ingamestring|Z|c_green}} turns into Z.
  • {{Ingamestring|#|i_brown}} turns into #.
  • {{Ingamestring|^|h_yellow}} turns into ^.

Shortcut

The template {{igs|}} is a shorthand for this template, and both can be used interchangeably.