Template:Confusion: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (A more descriptive documentation, cause why not? (Initially I wanted to do an add-on to this, but I realized a disambiguation page would do better, so I added a silly default placeholder text if you don't put in anything somehow, get trolled))
Line 1: Line 1:
<noinclude>{{lang|Template:Confusion}}</noinclude><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;">{{{1|}}}</span></div><noinclude>[[Category:Inline note templates|{{PAGENAME}}]][[Category:Notice templates|{{PAGENAME}}]]</noinclude>
<noinclude>{{lang|Template:Confusion}}</noinclude>
<noinclude>==Documentation==
<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;">
This template is intended for when two entities have very similar, of even exact same names. such as [[Weapon_molotov]] which exists in {{csgo}}, {{l4d}}, {{l4d2}} and probably more, but are '''not''' the same entity.</noinclude>
<!-- 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}}, but are '''not''' the same entity and act differently.
 
 
To start using this template, refer to this example:
<pre>{{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}</pre>
Shows as this: {{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 like this, or you'll get s surprise..
<pre>{{Confusion|}}</pre>
 
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
</noinclude>

Revision as of 14:44, 23 March 2021

Warning.png Risk of confusion: 

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 Counter-Strike: Global Offensive, Left 4 Dead or Left 4 Dead 2, but are not the same entity and act differently.


To start using this template, refer to this example:

{{Confusion|Hey! {{l4d}} with {{l4d2}} looks confusing to me! Don't judge!}}

Shows as this:

Warning.png Risk of confusion:  Hey! Left 4 Dead with Left 4 Dead 2 looks confusing to me! Don't judge!

Simple and self-explanatory, isn't it?
However, remember to never fill the parameter blank like this, or you'll get s surprise..

{{Confusion|}}