Jump to content

Template:Trap: Difference between revisions

From ModEnc²
en>DCoder
Creating
 
m 3 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
<noinclude>Use this template to mark up incorrect comments, and commented out nonsense like ";VeteranAircraft=SHAD" which are often tempting to be restored. Don't mark up things that ''can'' be misused but weren't, that's what [[Template:Bugs]] is for.
<noinclude>Use this template to mark up incorrect comments, and commented out nonsense like ";VeteranAircraft=SHAD" which are often tempting to be restored. Don't mark up things that ''can'' be misused but weren't, that's what [[Template:Bugs]] is for.
== Usage ==
== Usage ==
<pre>{{Trap}}</pre> yields {{Trap}} and includes [[:Category: INI Traps]] automatically.</noinclude>
<pre>{{Trap}}</pre> yields {{HorizontalBar|[[Image:cc_core.png|left|40px]]'''Warning''': The default INI files contain commented out or unexplained usage of this flag/section which, when restored (often simply out of curiousity), results in problems that are hard to trace and are seemingly unrelated.}}
and includes [[:Category: INI Traps]] automatically.</noinclude>

Latest revision as of 22:22, 31 March 2025

Use this template to mark up incorrect comments, and commented out nonsense like ";VeteranAircraft=SHAD" which are often tempting to be restored. Don't mark up things that can be misused but weren't, that's what Template:Bugs is for.

Usage

{{Trap}}

yields

Warning: The default INI files contain commented out or unexplained usage of this flag/section which, when restored (often simply out of curiousity), results in problems that are hard to trace and are seemingly unrelated.


and includes Category: INI Traps automatically.