Template:ModSoftware/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{Delete|Useless template. Firstly, this is unnecessary formatting, and secondly, it does not contain the actual mod icon, but just an HL2 image nearby. Mods without icons may use bold underline or <nowiki><b> or '''.</nowiki>}}</noinclude>
Template to replace mods using {{hl2}} '''Mod Name'''
 
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)

Revision as of 11:05, 15 April 2024

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)