Difference between revisions of "Template:Infobox Fansite"

From SimsWiki
Jump to: navigation, search
m (inserting examples)
(new options)
 
Line 1: Line 1:
<table class="infobox plainlinks" style="font-size:90%; text-align: left; align: right;" cellspacing="4" width="260">
+
<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 13: Line 13:
 
   |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={{{members|}}}
+
   |test={{{type|}}}
   |then=<tr><th>Members</th><td>{{{members}}}</td></tr>
+
   |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]]{{if|test={{{type|}}}|then=[[Category:{{{type}}}]]}}</includeonly>
+
<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.
 
<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.
  
Line 32: Line 32:
 
| founders =  
 
| founders =  
 
| key_people =  
 
| key_people =  
| website =
 
 
| type =  
 
| type =  
 +
| website =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 44: Line 44:
 
| founders = [[Delphy]]
 
| founders = [[Delphy]]
 
| key_people =  
 
| key_people =  
| members = 400,000+
+
| type = Downloads
 
| website = http://www.modthesims.info/
 
| website = http://www.modthesims.info/
| type = Freesites
 
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
Results in:
 
Results in:
  
<table class="infobox plainlinks" style="font-size:90%; text-align: left; align: right;" cellspacing="4" width="260">
+
<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><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><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>Founded</th><td>May 2004</td></tr>
 
<tr><th>Founder(s)</th><td>[[Delphy]]</td></tr>
 
<tr><th>Founder(s)</th><td>[[Delphy]]</td></tr>
<tr><th>Members</th><td>400,000+</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>
 
<tr><th>Website</th><td>[http://www.modthesims.info/ http://www.modthesims.info/]</td></tr>
 
</table>
 
</table>

Latest revision as of 18: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
MTS2 FrontPage.jpg
A screenshot of the MTS2 front page as at 6th March 2006.
FoundedMay 2004
Founder(s)Delphy
TypeDownloads
Websitehttp://www.modthesims.info/
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox