Template:Not/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Corrected example)
m (Whoops)
Line 17: Line 17:
: <code><nowiki>{{not|{{synergy}}}}</nowiki></code> → {{not|{{synergy}}}}
: <code><nowiki>{{not|{{synergy}}}}</nowiki></code> → {{not|{{synergy}}}}


: <code><nowiki>{{not|{{doi}}{{nmrih}}}}</nowiki></code> → {{note|{{doi}}{{nmrih}}}}
: <code><nowiki>{{not|{{doi}}{{nmrih}}}}</nowiki></code> → {{not|{{doi}}{{nmrih}}}}


==See Also==
==See Also==

Revision as of 14:38, 20 April 2021


Edit-copy.png
This is a documentation subpage for Template:Not.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game only templates with a single template that's less unweldly to work with. The color of the text changes based upon which game is used.

Usage

This template has one unnamed parameter. The parameter should be a transclusion of a template in Category:Game icons. Multiple game icon templates can be used for the parameter, but this will result in the default color for the text.

Examples

{{not|{{synergy}}}}(not in Synergy)
{{not|{{doi}}{{nmrih}}}}(not in Day of InfamyNo More Room in Hell)

See Also

  • {{Also}}
  • {{Removed}}
  • {{Since}}
  • {{Only}}