Template:Ext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(If nothing is specified, an error will appear)
mNo edit summary
Line 4: Line 4:
<onlyinclude>{{#if:{{{1|}}}
<onlyinclude>{{#if:{{{1|}}}


| <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|}}}|style={{{2|}}}}} ]]</code>
| <code style="white-space:nowrap; {{#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|}}}|style={{{2|}}}}}]]</code>


| <code style="background-color:rgb(130 60 60 / 16%); border-radius:.3em; color:rgb(255 100 100); padding:.15em .3em">{{autolang
| <code style="background-color:rgb(130 60 60 / 16%); border-radius:.3em; white-space:nowrap; color:rgb(255 100 100); padding:.15em .3em"><nowiki>{{Ext}}</nowiki></code>
| Template Error : The file extension was not specified
| ru = Ошибка шаблона : Расширение файла не было указано }}</code>


}}</onlyinclude>
}}</onlyinclude>


</includeonly>
</includeonly>

Revision as of 23:09, 12 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}}
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.