Template:Code/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
You must add nowiki tags before and after the code you want to display: | You must add nowiki tags before and after the code you want to display: | ||
{{code|<nowiki>{{Code|<nowiki>... code to be displayed ...</nowiki>}}</nowiki>}} | {{code|<nowiki>{{Code|<nowiki>... code to be displayed ...</nowiki>}}</nowiki>}} | ||
;Parameters | |||
Use 'scroll' as second parameter to create a vertical scollbar. | |||
<includeonly><!-- | <includeonly><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Typing-aid templates|Code]] | [[Category:Typing-aid templates|Code]] | ||
</includeonly> | </includeonly> |
Revision as of 12:06, 23 February 2008
You must add nowiki tags before and after the code you want to display:
{{Code|<nowiki>... code to be displayed ...</nowiki>}}
- Parameters
Use 'scroll' as second parameter to create a vertical scollbar.