Template:Ext/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:


== Components ==
== Components ==
Below are the subpages that are used by this template for better code readability or something else.
This template uses components to simplify working with repetitive code. Below is a list of all components included in the template.
* [[{{NAMESPACE}}:{{ROOTPAGENAME}}/include|Include]] - Content to include in the template.
* [[{{NAMESPACE}}:{{ROOTPAGENAME}}/include|Include]] - content to include in the template.


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 00:13, 19 September 2025

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

File extension.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} File extension in lowercase.
{{ext|mdl}}
.mdl
{{{2}}} Writing style:
  • #default - Formatted in code style.
  • 2 - Acronym without formatting.
{{ext|mdl|2}}
mdl

Components

This template uses components to simplify working with repetitive code. Below is a list of all components included in the template.

  • Include - content to include in the template.