Difference between revisions of "Template:Opt"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
imported>StDoodle
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
&amp;#91;{{{1}}}&amp;#93;
+
&#91;{{{1}}}&#93;
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Line 8: Line 8:
 
{{opt|blah}}
 
{{opt|blah}}
 
</pre>
 
</pre>
Produces: {{opt|blah}}
+
Produces: &#91;blah&#93;
 
[[Category:Basic Templates]]
 
[[Category:Basic Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:33, 1 March 2010


Wraps the single parameter supplied in square brackets (needed to avoid problems with wiki markup & links). Example:

{{opt|blah}}

Produces: [blah]