Difference between revisions of "Template:LabContainer"
From AgileApps Support Wiki
imported>Aeric (Created page with " <!-- Footer: Back/Forward/Up links --> <table border="1" class="tight-rows"> <tr> <td style="text-align:left; width:33%; "> [[Lab #2] Back to Lab #2 </td> <td style="text-alig…") |
imported>Aeric |
||
(13 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]] | |||
<!-- Footer: Back/Forward/Up links --> | :'''Note:''' | ||
<table border="1" | :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 | |||
Note: A conditional inside the table fails, so we need two different tables | |||
--> | |||
{{#ifexist: Lab #4 | <!-- Exists --> | |||
<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 | [[Lab #2| Back to Lab #2]] <!-- SET THIS --> | ||
</td> | </td> | ||
<td style="text-align:center; width:34%; "> | <td style="text-align:center; width:34%;"> | ||
[[...|Up to Lab Index]] | [[...|Up to Lab Index]] | ||
</td> | </td> | ||
<td style=" text-align:right; width:33%; "> | <td style="text-align:right; width:33%;"> | ||
[[Lab #4 | Forward to Lab #4]] <!-- SET THIS --> | |||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| <!-- Does not exist --> | |||
<table border="1" width="100%" cellspacing="0"> | |||
<tr> | |||
<td style="text-align:left; width:33%;"> | |||
[[Lab #2| Back to Lab #2]] <!-- SET THIS --> | |||
</td> | |||
<td style="text-align:center; width:34%;"> | |||
[[...|Up to Lab Index]] | |||
</td> | |||
<td style="text-align:right; width:33%;"> | |||
| |||
</td> | |||
</tr> | |||
</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:
- 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: Lab Number(Do Something)
{{:Lab:Do Something}}
|