Difference between revisions of "Template:Infobox Fansite"
From SimsWiki
LarryPoppins (Talk | contribs) (creating new fansite infobox) |
LarryPoppins (Talk | contribs) (new options) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <table class="infobox | + | <table class="infobox" style="font-size:90%; text-align: left; align: right;" cellspacing="4" width="260"> |
<tr><th colspan="2" style="text-align: center;"><big>{{if|test={{{name|}}}|then={{{name}}}|else={{PAGENAME}} }}</big></th></tr>{{if | <tr><th colspan="2" style="text-align: center;"><big>{{if|test={{{name|}}}|then={{{name}}}|else={{PAGENAME}} }}</big></th></tr>{{if | ||
|test={{{photo|}}} | |test={{{photo|}}} | ||
Line 8: | Line 8: | ||
}}{{if | }}{{if | ||
|test={{{founders|}}} | |test={{{founders|}}} | ||
− | |then=<tr><th> | + | |then=<tr><th>Founder(s)</th><td>{{{founders}}}</td></tr> |
}}{{if | }}{{if | ||
|test={{{key_people|}}} | |test={{{key_people|}}} | ||
|then=<tr><th>Key People</th><td>{{{key_people}}}</td></tr> | |then=<tr><th>Key People</th><td>{{{key_people}}}</td></tr> | ||
}}{{if | }}{{if | ||
− | |test={{{ | + | |test={{{type|}}} |
− | |then=<tr><th> | + | |then=<tr><th>Type</th><td>{{{type}}}</td></tr> |
}}{{if | }}{{if | ||
|test={{{website|}}} | |test={{{website|}}} | ||
Line 21: | Line 21: | ||
<noinclude><tr><td colspan="2">Fansite data will show up here.</td></tr></noinclude> | <noinclude><tr><td colspan="2">Fansite data will show up here.</td></tr></noinclude> | ||
</table> | </table> | ||
− | <includeonly>[[Category:Fansites]] | + | <includeonly>[[Category:Fansites]]</includeonly> |
+ | <noinclude>This template is used to insert an infobox containing information about a website. This is very useful for [[Fansites|fansites]] and its insertion is recommended. | ||
+ | |||
+ | ==Basic template== | ||
+ | <pre><nowiki>{{Infobox Fansite | ||
+ | | name = | ||
+ | | photo = | ||
+ | | caption = | ||
+ | | founded = | ||
+ | | founders = | ||
+ | | key_people = | ||
+ | | type = | ||
+ | | website = | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | ==Example usage== | ||
+ | <pre><nowiki>{{Infobox Fansite | ||
+ | | name = Mod The Sims 2 | ||
+ | | photo = MTS2 FrontPage.jpg | ||
+ | | caption = A screenshot of the MTS2 front page as at 6th March 2006. | ||
+ | | founded = May 2004 | ||
+ | | founders = [[Delphy]] | ||
+ | | key_people = | ||
+ | | type = Downloads | ||
+ | | website = http://www.modthesims.info/ | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | Results in: | ||
+ | |||
+ | <table class="infobox" style="font-size:90%; text-align: left; align: right;" cellspacing="4" width="260"> | ||
+ | <tr><th colspan="2" style="text-align: center;"><big>Mod The Sims 2</big></th></tr> | ||
+ | <tr><td colspan="2">[[Image:MTS2 FrontPage.jpg|250px|center]]<small>A screenshot of the MTS2 front page as at 6th March 2006.</small></td></tr> | ||
+ | <tr><th>Founded</th><td>May 2004</td></tr> | ||
+ | <tr><th>Founder(s)</th><td>[[Delphy]]</td></tr> | ||
+ | <tr><th>Type</th><td>Downloads</td></tr> | ||
+ | <tr><th>Website</th><td>[http://www.modthesims.info/ http://www.modthesims.info/]</td></tr> | ||
+ | </table> |
Latest revision as of 23:28, 25 July 2009
Infobox Fansite | |
---|---|
Fansite data will show up here. |
This template is used to insert an infobox containing information about a website. This is very useful for fansites and its insertion is recommended.
[edit] Basic template
{{Infobox Fansite | name = | photo = | caption = | founded = | founders = | key_people = | type = | website = }}
[edit] Example usage
{{Infobox Fansite | name = Mod The Sims 2 | photo = MTS2 FrontPage.jpg | caption = A screenshot of the MTS2 front page as at 6th March 2006. | founded = May 2004 | founders = [[Delphy]] | key_people = | type = Downloads | website = http://www.modthesims.info/ }}
Results in:
Mod The Sims 2 | |
---|---|
A screenshot of the MTS2 front page as at 6th March 2006. | |
Founded | May 2004 |
Founder(s) | Delphy |
Type | Downloads |
Website | http://www.modthesims.info/ |