Difference between revisions of "Template talk:Cmduser"
(→Template breaks on lines with =) |
|||
Line 2: | Line 2: | ||
If I use something like <nowiki>{{cmduser|./configure foo=bar bix=baz}}</nowiki>, the page displays only <nowiki>{{{1}}}</nowiki>. | If I use something like <nowiki>{{cmduser|./configure foo=bar bix=baz}}</nowiki>, the page displays only <nowiki>{{{1}}}</nowiki>. | ||
--[[User:Zhenech|Zhenech]] 12:44, 18 February 2007 (CET) | --[[User:Zhenech|Zhenech]] 12:44, 18 February 2007 (CET) | ||
+ | |||
+ | |||
+ | ---- | ||
+ | 2 possible solutions | ||
+ | |||
+ | wrap a nowiki around it like | ||
+ | |||
+ | <nowiki>{{cmduser|</nowiki>'''<nowiki>'''./configure foo=bar bix=baz'''</nowiki>'''<nowiki>}}</nowiki> | ||
+ | |||
+ | |||
+ | or use the html ascii version for the escaped chars: | ||
+ | |||
+ | '''&#61;''' for = | ||
+ | |||
+ | '''&#124;''' for | | ||
+ | |||
+ | or even better: we could integrate the nowiki thing in the template | ||
+ | |||
+ | --[[User:Mcgiver|Mcgiver]] 16:43, 18 February 2007 (CET) |
Revision as of 16:43, 18 February 2007
Template breaks on lines with =
If I use something like {{cmduser|./configure foo=bar bix=baz}}, the page displays only {{{1}}}. --Zhenech 12:44, 18 February 2007 (CET)
2 possible solutions
wrap a nowiki around it like
{{cmduser|<nowiki>./configure foo=bar bix=baz</nowiki>}}
or use the html ascii version for the escaped chars:
= for =
| for |
or even better: we could integrate the nowiki thing in the template
--Mcgiver 16:43, 18 February 2007 (CET)