Template:Ext/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
== Parameters and Examples ==
== Parameters and Examples ==
{| class="standard-table" style="width:100%"
{| class="standard-table" style="width:100%"
|- style="position:sticky; top:0"
|- style="position:sticky; z-index:10; top:0"
! Parameter
! Parameter
! Description
! Description
Line 11: Line 11:
! Preview
! Preview
|-
|-
| style="text-align:center" | {{Code|param=1| {{Param|1}} }}
| style="text-align:center" | {{Code|preset=1| {{Param|1}} }}
| style="text-align:center" | Abbreviation without a dot.
| style="padding:.2em .5em" | Abbreviation without a dot and uppercase.
| style="padding:.2em .4em" | {{CodeBlock|<nowiki>{{Ext|mdl}}</nowiki>}}
| style="padding:.2em .4em" | {{CodeBlock|<nowiki>{{ext|mdl}}</nowiki>}}
| style="text-align:center; padding:.2em .5em" | {{Capsule| {{Ext|mdl}} }}
| style="text-align:center; padding:.2em .5em" | {{Capsule| {{Ext|mdl}} }}
|-
| style="text-align:center" | {{Code|preset=1| {{Param|2}} }}
| style="padding:.2em .5em" | Style.
| style="padding:.2em .4em" | {{CodeBlock|<nowiki>{{ext|mdl|2}}</nowiki>}}
| style="text-align:center; padding:.2em .5em" | {{Capsule| {{Ext|mdl|2}} }}
|}
|}


== Included Subpages ==
== Included Subpages ==
Below are the subpages that are used by this template for better code readability or something else.
Below are the subpages that are used by this template for better code readability or something else.
* [[{{NAMESPACE}}:{{ROOTPAGENAME}}/include|Include]] - Content to include in the template.
* {{Code|[[{{NAMESPACE}}:{{ROOTPAGENAME}}/include|Include]]}} - Content to include in the template.


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

Latest revision as of 00:17, 11 June 2023

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}}} Abbreviation without a dot and uppercase.
{{ext|mdl}}
{{{2}}} Style.
{{ext|mdl|2}}
mdl

Included Subpages

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

  • Include - Content to include in the template.