Template:Ext: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TODO|change the link to be the standard for page names (i.e. CFG, not .cfg)}}
{{Doc}}
{{Doc}}
<includeonly>
<includeonly><onlyinclude>{{#if:{{{1|}}}


<onlyinclude><code style="background-color: rgb(100 150 150 / 12%); border-radius:.3em; padding:.15em .35em">[[{{Ext/include|link={{{1|}}}}}|{{Ext/include|name={{{1|}}}}}]]</code></onlyinclude>
| {{#switch:{{{2|}}}
| #default = <code style="white-space:nowrap; background-color:rgb(60 130 130 / 16%); border-radius:.3em; padding:.15em .3em">[[{{Ext/include|link={{{1|}}}}}|{{Ext/include|name={{{1|}}}|style={{{2|}}}}}]]{{Ext/include|icon={{{1|}}}}}</code>


</includeonly>
| 2 = <span style="white-space:nowrap; text-transform:uppercase">[[{{Ext/include|link={{{1|}}}}}|{{Ext/include|name={{{1|}}}|style={{{2|}}}}}]]</span>
  }}
 
| <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>
 
}}</onlyinclude></includeonly>

Latest revision as of 18:17, 26 July 2023

Template:Dictionary/Todo/extchange the link to be the standard for page names (i.e. CFG, not .cfg)
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.