Difference between revisions of "Template:Infobox Tutorial"
From SimsWiki
(10 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
|test={{{logo1st|}}} | |test={{{logo1st|}}} | ||
|then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{logo1st}}}|center]]<br><small>{{{caption|}}}</small></td></tr> | |then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{logo1st}}}|center]]<br><small>{{{caption|}}}</small></td></tr> | ||
+ | }}{{if | ||
+ | |test={{{logoall|}}} | ||
+ | |then=<tr><td colspan="2" style="text-align:center;align:center;">{{{logoall}}}<br><small>{{{caption|}}}</small></td></tr> | ||
}}{{if | }}{{if | ||
|test={{{author|}}} | |test={{{author|}}} | ||
− | |then=<tr><th> | + | |then=<tr><th>Author</th><td>{{{author}}}</td></tr> |
}}{{if | }}{{if | ||
|test={{{operating_Ep|}}} | |test={{{operating_Ep|}}} | ||
− | |then=<tr><th> | + | |then=<tr><th>Working EPs</th><td>{{{operating_Ep}}}</td></tr> |
}}{{if | }}{{if | ||
|test={{{website|}}} | |test={{{website|}}} | ||
Line 18: | Line 21: | ||
}} | }} | ||
</table> | </table> | ||
− | |||
− | |||
− | |||
<noinclude> | <noinclude> | ||
Line 37: | Line 37: | ||
|} | |} | ||
+ | |||
+ | == Example == | ||
+ | Infobox Tutorial<br> | ||
+ | <br> | ||
+ | name = Title/category ''text'' | ||
+ | <br> | ||
+ | logo1st =UNI-ep1.gif ''All Eps logo are with this format and saved in the gallery'' | ||
+ | <br> | ||
+ | caption = University ''text'' | ||
+ | <br> | ||
+ | author = [[:Category:Tutorials by myexample | My example]] ''text or link'' | ||
+ | <br> | ||
+ | operating_Ep = UNI 0nly ''ALL/Followings/restrictions'' | ||
+ | <br> | ||
+ | notes = '' free comments'' | ||
+ | <br> | ||
+ | website = [http://mysite.com My Site SIMS2] '' text or link '' | ||
+ | <br> | ||
+ | |||
+ | * copy and paste the '''usage popup''' content in the Usage section | ||
+ | * Note that the Author link must use the format <nowiki>[[:Category:Tutorials by NAME]]</nowiki>. This links to a list of all tutorials by this author. Note the ''':''' before Category. This makes it a Wikilink rather than a category tag. | ||
</noinclude> | </noinclude> |
Latest revision as of 23:13, 28 September 2010
Infobox Tutorial |
---|
[edit] Usage
{{Infobox Tutorial | name = | logo1st = | caption = | author = | operating_EP = | notes = | website = }} |
[edit] Example
Infobox Tutorial
name = Title/category text
logo1st =UNI-ep1.gif All Eps logo are with this format and saved in the gallery
caption = University text
author = My example text or link
operating_Ep = UNI 0nly ALL/Followings/restrictions
notes = free comments
website = My Site SIMS2 text or link
- copy and paste the usage popup content in the Usage section
- Note that the Author link must use the format [[:Category:Tutorials by NAME]]. This links to a list of all tutorials by this author. Note the : before Category. This makes it a Wikilink rather than a category tag.