Difference between revisions of "Template:BuildModeTutorialsFooterCategory"
From SimsWiki
| Line 1: | Line 1: | ||
<table class="infobox plainlinks" style="font-size:90%; text-align: left; align: right;" cellspacing="4"> | <table class="infobox plainlinks" style="font-size:90%; text-align: left; align: right;" cellspacing="4"> | ||
<tr><th colspan="2" style="text-align: center;">[[Tutorials:Build Mode Tutorials|Tutorials]]:{{if|test={{{name|}}}|then=[[Tutorials:{{{name}}}|{{{name}}}]]|else={{PAGENAME}} }} series</th></tr> | <tr><th colspan="2" style="text-align: center;">[[Tutorials:Build Mode Tutorials|Tutorials]]:{{if|test={{{name|}}}|then=[[Tutorials:{{{name}}}|{{{name}}}]]|else={{PAGENAME}} }} series</th></tr> | ||
| + | {{switch | ||
| + | |{{name}} | ||
| + | |case: 1=Basements | ||
| + | |case: 2=Roofing | ||
| + | |case: 3=Garages | ||
| + | |case: 4=Landscaping | ||
| + | |case: 5=Stairs | ||
| + | |default: | ||
| + | }} | ||
| + | |||
{{if | {{if | ||
| − | | | + | |equal={{{name}}}=Landscaping |
|then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{photo}}}|250px|center]]<small>{{{caption|}}}</small></td></tr> | |then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{photo}}}|250px|center]]<small>{{{caption|}}}</small></td></tr> | ||
}} | }} | ||
Revision as of 13:04, 26 November 2006
| Tutorials:BuildModeTutorialsFooterCategory series | |
|---|---|
| [[Image:{{{photo}}}|250px|center]] | |
| Data will show up here. |
Basic template
{{BuildModeTutorialsFooterCategory
| name =
}}
Sample usage
{{BuildModeTutorialsFooterCategory
| name = Landscaping
}}
results in:
| Tutorials: Garages series | |
|---|---|