Template:Ext/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
| style="padding:.2em .5em" | '''Writing style:'''
| style="padding:.2em .5em" | '''Writing style:'''
* <code>#default</code> - Formatted in code style.
* <code>#default</code> - Formatted in code style.
* <code>2</code> - Acronym.
* <code>2</code> - Acronym without formatting.
| style="padding:.2em .4em" | <pre style="">{{ext|mdl|2}}</pre>
| style="padding:.2em .4em" | <pre style="">{{ext|mdl|2}}</pre>
| style="background-color:#262626; text-align:center; padding:.2em .5em" | {{ext|mdl|2}}
| style="background-color:#262626; text-align:center; padding:.2em .5em" | {{ext|mdl|2}}

Revision as of 00:11, 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

Below are the subpages that are used by this template for better code readability or something else.

  • Include - Content to include in the template.