Template:For: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (test)
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Hatnote|{{#if:{{{about|}}} | This article is about {{{about}}}.&nbsp;}}For {{{1}}}{{#if:{{{2|}}}|, see {{{2}}}|}}{{#if:{{{4|}}}|.  For {{{3}}}, see {{{4}}}{{#if:{{{6|}}}|.  For {{{5}}}, see {{{6}}}.|.}}{{#if:{{{8|}}}|&nbsp;For {{{7}}}, see {{{8}}}.}}{{#if: {{{9|}}}|&nbsp;For {{{9}}}, see {{{10}}}.}}|{{#if:{{{3|}}}|&nbsp;and {{{3}}}.|.}}}}}}<noinclude>
{{Documentation}}
==Documentation==
[[Category:Disambiguation and redirection templates]]
Basic disambiguation template. Works the same as Wikipedia's [https://en.wikipedia.org/wiki/Template:For2 For2] template, but with an optional About parameter.
[[Category:Hatnote templates]]
<includeonly>


Examples:
<onlyinclude>{{Hatnote| 1 = {{#if:{{{about|}}} | {{For/strings|ThisArticle}} {{{about}}}.&nbsp;}}{{For/strings|For}} {{{1}}}{{#if:{{{2|}}}|, {{For/strings|See}} {{{2}}}. }}{{#if:{{{4|}}}|&nbsp;  {{For/strings|For}} {{{3}}}, {{For/strings|See}} {{{4}}}.{{#if:{{{6|}}}|/ {{For/strings|For}} {{{5}}}, {{For/strings|See}} {{{6}}}. |}}{{#if:{{{8|}}}|&nbsp; {{For/strings|For}} {{{7}}}, {{For/strings|See}} {{{8}}}.}}{{#if: {{{9|}}}|&nbsp; {{For/strings|For}} {{{9}}}, {{For/strings|See}} {{{10}}}.}}|{{#if:{{{3|}}}|&nbsp; {{For/strings|And}} {{{3}}}.}}}}}}</onlyinclude>
:<code><nowiki>{{For|the template|[[Template:For]]|}}</nowiki></code> &rarr;<br><!-- a construct to show hatnote as expected (using newline) -->
{{For|the template|[[Template:For]]|}}


:<code><nowiki>{{For|about=the template|the other template|[[Template:For]]|}}</nowiki></code> &rarr;<br><!-- a construct to show hatnote as expected (using newline) -->
</includeonly>
{{For|about=the template|the other template|[[Template:For]]|}}
[[Category:Disambiguation and redirection templates]][[Category:Hatnote templates]]</noinclude>

Latest revision as of 06:19, 25 October 2025

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
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.


Documentation

Basic disambiguation template. Works the same as Wikipedia's For2 template, but with an optional About parameter.

Examples:

{{For|the template|[[Template:For]]|}}
For the template, see Template:For.
{{For|about=the template|the other template|[[Template:For]]|}}
This article is about the template. For the other template, see Template:For.

See also