Difference between revisions of "Template:1010PrAD"
From CompSciWiki
Line 27: | Line 27: | ||
<noinclude> | <noinclude> | ||
''This template is used for the Program-A-Day page. Instructions and example usage are below.'' | ''This template is used for the Program-A-Day page. Instructions and example usage are below.'' | ||
− | --- | + | |
+ | ---- | ||
+ | |||
== Example Code Usage == | == Example Code Usage == | ||
<pre> | <pre> | ||
Line 54: | Line 56: | ||
</pre> | </pre> | ||
== Current Issues == | == Current Issues == | ||
− | + | * In the ''SolutionCode'' parameter, all ''OR'' pipe characters ( {{!}} character ) should be replaced with the pipe wiki template: <code><nowiki>{{!}}</nowiki></code> | |
+ | * Syntax highlighting will have to wait for the Wikimedia system to be updated to a more recent version. | ||
</noinclude> | </noinclude> |
Revision as of 12:20, 8 April 2010
This template is used for the Program-A-Day page. Instructions and example usage are below.
Example Code Usage
{{1010PrAD |ProblemName=The name of the program |Problem=The problem |SideSectionTitle=...by students |SideSection= [[Image:OperatingSystemExample.jpg|center]] <BR> An image or By Students section |Solution=The solution... |SolutionCode=public class MySolution { public static void main ( String [] args ) { System.out.println("Hello, world!"); } } }}
Current Issues
- In the SolutionCode parameter, all OR pipe characters ( | character ) should be replaced with the pipe wiki template:
{{!}}
- Syntax highlighting will have to wait for the Wikimedia system to be updated to a more recent version.