Template:ModSoftware/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "Template to replace mods using {{hl2}} '''Mod Name''' Example: {{ModSoftware|4|BlockStorm}}, provides a link to the BlockStorm page")
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{doc/subpage}}
Template to replace mods using {{hl2}} '''Mod Name'''
Template to replace mods using {{hl2}} '''Mod Name'''


Example: {{ModSoftware|4|BlockStorm}}, provides a link to the [[BlockStorm]] page
Example: {{ModSoftware|4|BlockStorm}}, provides a link to the [[BlockStorm]] page
This template is based on {{tl2|Software}}. Documentation on how to create the icon templates can be found there.
=== Parameters ===
{{Param}} – Optional: The representation. Can be set to 1, 2, 3, 3.1, 4, 4.1, col, in, also, only, since, removed, not;
{{Param|2}} - Optional: The text to display, Can be set to any string. If missing, defaults to Half-Life 2
{{Param|3}} - Optional: The color of the text, Can be set to any HEX. If missing, defaults to #FFCC14 (HL2 color)

Latest revision as of 11:05, 15 April 2024

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

Template to replace mods using Half-Life 2 Mod Name

Example: BlockStorm BlockStorm, provides a link to the BlockStorm page

This template is based on {{Software}}. Documentation on how to create the icon templates can be found there.


Parameters

{{{1}}} – Optional: The representation. Can be set to 1, 2, 3, 3.1, 4, 4.1, col, in, also, only, since, removed, not;

{{{2}}} - Optional: The text to display, Can be set to any string. If missing, defaults to Half-Life 2

{{{3}}} - Optional: The color of the text, Can be set to any HEX. If missing, defaults to #FFCC14 (HL2 color)