Template:Code/doc: Difference between revisions

From Official Kodi Wiki
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|&#60;nowiki>... code to be displayed ...&#60;/nowiki>}}</nowiki>}}
{{code|<nowiki>{{Code|&#60;nowiki>... code to be displayed ...&#60;/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|&#60;nowiki&gt;... code to be displayed ...&#60;/nowiki&gt;}}​
Parameters

Use 'scroll' as second parameter to create a vertical scollbar.