Difference between revisions of "Help:Style Guide"
Jump to navigation
Jump to search
Templarian (talk | contribs) m |
Templarian (talk | contribs) m |
||
Line 37: | Line 37: | ||
some other content | some other content | ||
}} | }} | ||
+ | </source> | ||
+ | |||
+ | == Code Blocks == | ||
+ | |||
+ | To format code use the tag with full syntax highlighting (if you don't want it to syntax highlight use "text"). Remove the spaces out of it of course (it is not possible to not parse it). | ||
+ | |||
+ | "python", "text", "javascript" are the main ones but all languages are supported. | ||
+ | |||
+ | <source lang="text"> | ||
+ | < source lang="text" > | ||
+ | Code or Text | ||
+ | < /source > | ||
</source> | </source> | ||
Revision as of 02:16, 20 July 2009
One Column
<source lang="text"> Template:Article-one-column </source>
Two Columns
<source lang="text">
some content |
some other content |
</source>
Three Columns
<source lang="text">
some content |
some other content |
some other content |
</source>
Code Blocks
To format code use the tag with full syntax highlighting (if you don't want it to syntax highlight use "text"). Remove the spaces out of it of course (it is not possible to not parse it).
"python", "text", "javascript" are the main ones but all languages are supported.
<source lang="text"> < source lang="text" > Code or Text < /source > </source>
Application Pages (Application:Name)
<source lang="text">
Name - Name of the Application - {{{version}}}
description - Describe the app in full detail, put anything you want.
</source>