Template:Confusion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (typo)
No edit summary
 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:Confusion}}</noinclude>
{{Doc|docpage=template:note/doc}}
<div><strong style="color:#f0f000;display:table-cell;padding-left:1em;white-space:nowrap;">[[File:Warning.png|link=]]&nbsp;Risk of confusion:&nbsp;</strong><span style="display:table-cell;">
<includeonly>
<!-- Should make it that this is only visible in pages that use this template, rather right here right now -->
<includeonly>{{#if:{{{1|}}}|{{{1}}}|''Something's confusing about this, but the editor forgot to add something in here. Silly them...''}}</includeonly></span></div>
<noinclude>
==Documentation==
This template is intended for when two or more entities have very similar, or even exactly same names. One such example is [[Weapon_molotov]], some games it can be found in are {{csgo}}, {{l4d}} or {{l4d2}}, yet are ''not'' the same entity and act differently.


To start using this template, refer to this example:
<onlyinclude>{{Notify
<pre>{{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}</pre>
| mode = inline
Shows as this: {{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}
| img = Warning.png
Simple and self-explanatory, isn't it?<br>
| size = 10px
However, remember to never fill the parameter blank like this, or you'll get a surprise..
| type = {{Dictionary/Risk of Confusion/{{pagelang}}}}
<pre>{{Confusion|}}</pre>
| color = 255,255,0
|{{{1|}}}}}</onlyinclude>


[[Category:Inline note templates|{{PAGENAME}}]]
</includeonly>
[[Category:Notice templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 00:02, 27 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

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:
  1. Enum
  2. 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.