Difference between revisions of "Template:Infobox Fansite"
From SimsWiki
LarryPoppins (Talk | contribs) (creating new fansite infobox) |
LarryPoppins (Talk | contribs) (tweaking and example usage) |
||
| 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" 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|}}} | ||
| Line 22: | Line 22: | ||
</table> | </table> | ||
<includeonly>[[Category:Fansites]]{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]}}</includeonly> | <includeonly>[[Category:Fansites]]{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]}}</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 = | ||
| + | | website = | ||
| + | | type = | ||
| + | }}</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 = | ||
| + | | website = http://www.modthesims.info/ | ||
| + | | type = Freesites | ||
| + | }}</nowiki></pre> | ||
| + | |||
| + | Results in: | ||
| + | |||
| + | {{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 = | ||
| + | | website = http://www.modthesims.info/ | ||
| + | | type = Freesites | ||
| + | }}</noinclude> | ||
Revision as of 19:34, 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.
Basic template
{{Infobox Fansite
| name =
| photo =
| caption =
| founded =
| founders =
| key_people =
| website =
| type =
}}
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 =
| website = http://www.modthesims.info/
| type = Freesites
}}
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 | Freesites |
| Website | http://www.modthesims.info/ |