Template:Why: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (let's try this technique instead. Inserts an html "title" box that appears as a popup when hovering over "Why?" to explain 'why'.)
m (Added info)
Line 1: Line 1:
<sup><span title="{{{1}}}">[''[[{{FULLPAGENAME}}#|Why?]]'']</span></sup>
<sup><span title="{{{1}}}">[''[[{{FULLPAGENAME}}#|Why?]]'']</span></sup>
<noinclude>[[Category:Notice templates|{{PAGENAME}}]]</noinclude>
<noinclude>
 
== Documentation ==
Gives reasoning for a method used on a page.
 
{{syntax2
|<nowiki><code>{{why|</nowiki><'''reason'''><nowiki>}}</code></nowiki>
|<nowiki>4. Ensure the room is completely closed. <nowiki>{{why|If the room isn't closed, leaks will occur and cause compile errors."}}</nowiki>
|4. Ensure the room is completely closed. {{why|If the room isn't closed, leaks will occur and cause compile errors."}}
}}
 
[[Category:Notice templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:29, 3 November 2011

[Why?]


Documentation

Gives reasoning for a method used on a page.