Template:Ext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<includeonly>
<includeonly>


<onlyinclude><code style="{{#switch:{{{2|}}}|2=text-transform:uppercase|background-color: rgb(60 130 130 / 16%); border-radius:.3em; padding:.15em .3em}}">[[{{Ext/include|link={{{1|}}}}}|{{Ext/include|name={{{1|}}}|{{{2|}}}}}]]</code></onlyinclude>
<onlyinclude><code style="{{#switch:{{{2|}}}|2=text-transform:uppercase|background-color:rgb(70 70 110 / 35%); border-radius:.3em; padding:.15em .3em}}">[[{{Ext/include|link={{{1|}}}}}|{{Ext/include|name={{{1|}}}|{{{2|}}}}}]]</code></onlyinclude>


</includeonly>
</includeonly>

Revision as of 05:26, 9 June 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

File extension.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} Abbreviation without a dot and uppercase.
{{ext|mdl}}
{{{2}}} Style.
{{ext|mdl|2}}

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.