Editing Template:Code/Doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This template is for code | This template is for code. | ||
Example: | |||
<pre>{{Code|xorg.conf|<pre> | |||
Section "Monitor" | |||
Identifier "Monitor0" | |||
<pre> | VendorName "Monitor Vendor" | ||
{{Code | ModelName "Monitor Model" | ||
| | Modeline "800x480" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync | ||
| | EndSection | ||
</pre>}}</pre> | |||
< | |||
}}</pre> | |||
Will produce: | Will produce: | ||
{{Code| | {{Code|xorg.conf|<pre> | ||
Section "Monitor" | |||
Identifier "Monitor0" | |||
VendorName "Monitor Vendor" | |||
ModelName "Monitor Model" | |||
Modeline "800x480" 29.58 800 816 896 992 480 481 484 497 -HSync +Vsync | |||
EndSection | |||
</pre>}} | </pre>}} | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | |||
< | |||
[[Category:Template |