Difference between revisions of "Template:1010ExtraLabs"

From CompSciWiki
Jump to: navigation, search
m (Fixing header)
(Finally fixed the tables.)
 
Line 2: Line 2:
 
{|style="width: 100%; font-weight: normal" cellpadding="5" cellspacing="0"
 
{|style="width: 100%; font-weight: normal" cellpadding="5" cellspacing="0"
 
|-  
 
|-  
|width: 100%; style="font-weight: normal; padding: 15px; background: #E1E7EE; border-left: 1px solid grey; border-top: 1px solid grey; border-bottom: 1px solid grey;border-right: 1px solid grey;" align="left" valign="top" | == Introduction ==
+
!style="width:80%;font-weight: normal; padding: 15px; background: #E1E7EE; border-left: 1px solid grey; border-top: 1px solid grey; border-bottom: 1px solid grey;border-right: 1px solid grey;" align="left" valign="top"|
{{{Introduction|Introduction goes here.}}}
+
== Introduction ==
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
+
{{{Introduction|Introduction goes here.}}}
| __TOC__
+
!align="left" width="20%" style="background:#E1E7EE; border-top: 1px solid grey; border-right: 1px solid grey; border-bottom: 1px solid grey; font-weight:normal;"|__TOC__
 
|}
 
|}
 +
 
{{{Body}}}
 
{{{Body}}}
  

Latest revision as of 13:15, 27 March 2012


This template is used for each COMP 1010 topic page. Instructions and example usage are below.

Original design by User:BrianT.


Example Code Usage

{{Template:1010ExtraLabs

|Introduction=My introductory paragraph goes here
|Body=This is my body content. All of your content is added here. 

}}
  • Introduction: Standard text. Your introductory paragraph goes here.
  • Body: The body content of the page.

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 > Back to Extra Labs

Introduction

My introductory paragraph goes here

This is my body content. All of your content is added here.