Difference between revisions of "Template:LabContent"

From LongJump Support Wiki
imported>Aeric
(Created page with "<noinclude> '''Usage:''' <tt><nowiki>{{subst:Lab Content}}</nowiki></tt> ''Learn more:'' Aeric:Style#Setting Up Labs Example: Do Something </noinclude> __[[Lab Title|Link t…")
 
imported>Aeric
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
'''Usage:''' <tt><nowiki>{{subst:Lab Content}}</nowiki></tt>
'''Usage:''' <tt><nowiki>{{subst:Lab Content}}</nowiki></tt><br>
''Learn more:'' [[Aeric:Style#Setting Up Labs]]
''Learn more:'' [[User:Aeric/Style Guide#Setting up Labs]]


Example: Do Something
:''Note:''
:Lab Title is present in the page, because the page is transcluded into a Lab Container,
and the Container title is merely a decorated number, like "Lab #3".
</noinclude>
</noinclude>
==Lab Title==
<span style="color:red"><u>'''''In Progress...'''''</u></span>


__[[Lab Title|Link to this Lab]]__ (The sequence of labs may change. Use this link to bookmark a lab.)
__[[Lab Title|Link to this Lab]]__ (The sequence of labs may change. Use this link to bookmark a lab.)
<!--  Can't use {PAGENAME}}. That's used to test the page material is transcluded into-->
<!--  ^--SET THIS. (Can't use {PAGENAME}}. That tests the page the material is transcluded into)-->


===Requirements===
;Goals:
:* Do X
:* Do Y 
 
;Prerequisites:
:* ...
:* ...
:* {{:Lab Number(Lab Title)}}: Lab Title -- The number and title of the Lab
:* {{:Lab Number(Lab Title)}}: Lab Title -- The number and title of the Lab


Content...
==Background==
:* Things to know about stuff used in the lab.
:* What makes this lab worth doing.
:* Links to more information.
 
==Exercise==
 
===Do X===
# Do foo
::<syntaxhighlight lang="java" line="GESHI_NORMAL_LINE_NUMBERS">
class foo implements bar
{
}
</syntaxhighlight>
 
===Do Y===
 
stuff...
 
<br/>
;Next
: --Lab X.N: To Be Done--

Latest revision as of 23:51, 7 September 2011

Usage: {{subst:Lab Content}}
Learn more: User:Aeric/Style Guide#Setting up Labs

Note:
Lab Title is present in the page, because the page is transcluded into a Lab Container,

and the Container title is merely a decorated number, like "Lab #3".

Lab Title

In Progress...

__Link to this Lab__ (The sequence of labs may change. Use this link to bookmark a lab.)

Goals
  • Do X
  • Do Y
Prerequisites

Background

  • Things to know about stuff used in the lab.
  • What makes this lab worth doing.
  • Links to more information.

Exercise

Do X

  1. Do foo
class foo implements bar
{
}

Do Y

stuff...


Next
--Lab X.N: To Be Done--