Template:Main: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Use {{autolang}} and import translations and add Esperanto translation.)
No edit summary
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{lang|Template:Main}}
{{Doc}}
<onlyinclude><includeonly><i>{{inline note|name=<!--
-->{{autolang|Main article|de=Hauptseite|eo=Ĉefartikolo|ru=Основная статья|es=Artículo principal|zh=主条目}}<!--
-->|bold=0|color=#bbb|{{#if:{{{1|}}} | [[{{{1}}}|{{{2|{{{1}}}}}}]] }}}}</i></includeonly></onlyinclude>
{{doc}}


<!-- Add categories to the /doc subpage, not here -->
<includeonly>
 
<onlyinclude><i>{{inline note
| name = {{#switch: {{{lang|{{ROOTPAGENAME}}}}}
| #default = Main article
| De = Hauptseite
| Eo = Ĉefartikolo
| Fi = Pää artikkeli
| Hr = Glavni članak
| Ru = Основная статья
| Es = Artículo principa
| Vi = Bài chi tiết
| Zh = 主条目
| Ja = 主要なページ
}}
| bold = 0
| color = #BBB
| {{#ifexist: {{{1}}} | {{#if:{{{1|}}} | [[{{{1}}}|{{{2|{{{1}}}}}}]] }} | <!--else-->{{#if:{{{1|}}} | [[{{{1}}}|{{{2|{{{1}}}}}}]] }}<!--else-->}}<!--ifexist-->
}}</i></onlyinclude>
 
</includeonly>

Latest revision as of 13:06, 1 August 2024

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
Inline note templates
Template Pages using it
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4

Link to the article that provided the information.

Parameters and Examples

Parameter Description Example Preview
No Parameters Inserts a superscript.
[[Main Page]]{{Main}}
Main Page[Main article]
{{{1}}} The page name to link to.
{{Main|Main Page}}
Main article:  Main Page
{{{2}}} An alternative link text.
{{Main|Main Page|alternate text}}
Main article:  alternate text