Difference between revisions of "Template:LabContainer"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
'''Usage:''' <tt><nowiki>{{subst:Lab Container}}</nowiki></tt> into Lab #N (title of container)<br>
''Learn more:'' [[User:Aeric/Style Guide#Setting up Labs]]
:'''Note:'''
:After substituting this template:
:# Set the three Lab pointers in the code below to the previous and (optional) next lab
:# Enable the category listing at the end
:# When moving a Lab, be sure to change the associate "Lab Number Function" page: <nowiki>Lab Number(Do Something)</nowiki>
----
</noinclude> <!--Transclude Lab Content here-->
<nowiki>{{:Lab:Do Something}}</nowiki>
<br>
<br>
<!--  
<!--  
   Footer: Back/Forward/Up links  
   Footer: Back/Forward/Up links  
   Note: A conditional inside the table fails, so we need two different tables
   Note: A conditional inside the table fails, so we need two different tables
-->
-->
{{#ifexist: Lab #4 | <!-- Exists -->
{{#ifexist: Lab #4 | <!-- Exists -->
<table border="1" width="100%" cellspacing="0">   
<table border="1" width="100%" cellspacing="0">   
<tr>
<tr>
<td style="text-align:left; width:33%;">
<td style="text-align:left; width:33%;">
[[Lab #2| Back to Lab #2]]
[[Lab #2| Back to Lab #2]]                         <!-- SET THIS -->
</td>
</td>
<td style="text-align:center; width:34%;">
<td style="text-align:center; width:34%;">
Line 14: Line 28:
</td>
</td>
<td style="text-align:right; width:33%;">
<td style="text-align:right; width:33%;">
[[Lab #4 | Forward to Lab #4]]
[[Lab #4 | Forward to Lab #4]]                     <!-- SET THIS -->
</td>
</td>
</tr>
</tr>
Line 23: Line 37:
<tr>
<tr>
<td style="text-align:left; width:33%;">
<td style="text-align:left; width:33%;">
[[Lab #2| Back to Lab #2]]
[[Lab #2| Back to Lab #2]]                         <!-- SET THIS -->
</td>
</td>
<td style="text-align:center; width:34%;">
<td style="text-align:center; width:34%;">
Line 32: Line 46:
</td>
</td>
</tr>
</tr>
</table>}}
</table>}}<noinclude>
 
<!--ENABLE THIS
[[Category:Lab]]
-->
</noinclude>

Latest revision as of 23:51, 7 September 2011

Usage: {{subst:Lab Container}} into Lab #N (title of container)
Learn more: User:Aeric/Style Guide#Setting up Labs

Note:
After substituting this template:
  1. Set the three Lab pointers in the code below to the previous and (optional) next lab
  2. Enable the category listing at the end
  3. When moving a Lab, be sure to change the associate "Lab Number Function" page: Lab Number(Do Something)

{{:Lab:Do Something}}

Back to Lab #2

Up to Lab Index