Template:Confusion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{lang|Template:Confusion}}
{{todo|[[Template:ClassicConfusion]] has default text if no text is entered; once this is added, this template can be moved to [[:Template:Confusion]].}}{{Doc|docpage=template:note/doc}}
<includeonly>


<onlyinclude><includeonly><div><strong style="color:#f0f000; display:table-cell; padding-left:1em; white-space:nowrap;">[[File:Warning.png|10px|link=]]&nbsp;<!--
<onlyinclude>{{Notify
-->Risk of confusion<!--
| mode = inline
-->:&nbsp;</strong><span style="display:table-cell;"><!--
| img = Warning.png
Should make it that this is only visible in pages that use this template, rather right here right now
| size = 10px
-->{{#if:{{{1|}}}|{{{1}}}|''Something's confusing about this, but the editor forgot to add something in here. Silly them...''}}</span></div></includeonly></onlyinclude>
| type = {{Dictionary/Risk of Confusion/{{pagelang}}}}
| text = {{{1|}}}
| color = 255,255,0
}}</onlyinclude>


This template, just like {{tl|distinguish}}, is intended for when two or more entities have very similar, or even identical names. One such example is [[weapon_molotov]], some games it can be found in are {{csgo}}, {{l4d}} or {{l4d2}}, yet they are ''not'' the same entity and act differently.
</includeonly>
 
To start using this template, refer to this example:
{| style=background:none
| <code><nowiki>{{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}</nowiki></code>
| →
| {{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}
|}
Simple and self-explanatory, isn't it?<br>
However, remember to never fill the parameter blank, or you'll get a surprise..
 
{{doc|docpage=Template:Note/doc}}

Revision as of 12:38, 26 August 2024

Todo: Template:ClassicConfusion has default text if no text is entered; once this is added, this template can be moved to Template:Confusion.
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

Usage

Parameters


Examples

Wikitext Result
{{Confusion}} Warning.pngRisk of Confusion:
{{Confusion|This is an example text.}}
Warning.pngRisk of Confusion:This is an example text.
{{Confusion|
# Enum
# Eration
}}
Warning.pngRisk of Confusion:# Enum
  1. Eration
text
{{Confusion|text}}
text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Warning.pngRisk of Confusion:Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.