Difference between revisions of "Template:1010Topic"
From CompSciWiki
(Added introductory section) |
m (Fixed closing table tag error) |
||
Line 13: | Line 13: | ||
!align="left" width="25%" style="background:#C4D0DD; font-weight: normal; border: 1px solid grey;" valign="top"{{!}} | !align="left" width="25%" style="background:#C4D0DD; font-weight: normal; border: 1px solid grey;" valign="top"{{!}} | ||
{{ #if: {{{IntroImageImage|}}} | [[Image:{{{IntroImage}}}]] | }} | {{ #if: {{{IntroImageImage|}}} | [[Image:{{{IntroImage}}}]] | }} | ||
+ | {{!}}} | ||
}} | }} | ||
Revision as of 12:51, 30 November 2010
This template is used for each COMP 1010 topic page. Instructions and example usage are below.
Original design by User:WikiSysop. Modified and updated by User:BrianT.
Example Code Usage
{{Template:1010Topic |Introduction=My introductory paragraph goes here |IntroImage=Image if so desired |Chapter_TOC=[[What is Programming?]] |Previous=[[What is Programming?]] |Next=[[Anatomy of a Program]] |Body= }}
Sample Output
Please note that the layout gets a bit skewed while displaying the template in itself; if you don't have horribly oversized images, everything will look fine when used in production.
Everything below this line is the sample output
COMP 1010 Home > What is Programming?
IntroductionMy introductory paragraph goes here |
---|
This is my body content. All of your content is added here.
Previous Page: What is Programming? |