Template:File: Difference between revisions
Reduce padding |
Add proper sections |
||
Line 1: | Line 1: | ||
<noinclude>{{Template}}{{DISPLAYTITLE:Template:file}} | <noinclude>{{Template}}{{DISPLAYTITLE:Template:file}} | ||
== About == | |||
Used to display contents of a file. | |||
{{META Pipe Character}} | {{META Pipe Character}} | ||
Line 9: | Line 11: | ||
See documentation about <code><syntaxhighlight></code> for supported languages. | See documentation about <code><syntaxhighlight></code> for supported languages. | ||
<nowiki>{{file|main.c|c| | |||
#include <stdio.h> | #include <stdio.h> | ||
Line 27: | Line 20: | ||
}}</nowiki> | }}</nowiki> | ||
== Example == | |||
{{file|main.c|c| | {{file|main.c|c| | ||
#include <stdio.h> | #include <stdio.h> |