Template:Box Code
Jump to navigation
Jump to search
Note: This page is a template. It contains no Paparazzi related information but should be used as part of other articles. For more information, read Help:Templates.
Please do not experiment with this template, it could mess up all pages using this template.
This template takes two parameters.
filename
will be displayed as the filename of the code blockcode
the code itself.
If you include the following:
{{Box Code|somefile.txt| int main(){ printf("hello!\n"); return 0; } }}
It will result in the following:
File: somefile.txt |
int main(){ printf("hello!\n"); return 0; } |