Difference between revisions of "Template:Infobox CommunityPerson"

From SimsWiki
Jump to: navigation, search
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox plainlinks" style="width: 250px; 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;"><big>[[Image:Person marker.png|20px]] {{if|test={{{forum_id|}}}|then=[http://www.modthesims2.com/member.php?u={{{forum_id}}}}} {{if|test={{{name|}}}|then={{{name}}}|else={{PAGENAME}} }}{{if|test={{{forum_id|}}}|then=]}}</big></th></tr>{{if
 
<tr><th colspan="2" style="text-align: center;"><big>[[Image:Person marker.png|20px]] {{if|test={{{forum_id|}}}|then=[http://www.modthesims2.com/member.php?u={{{forum_id}}}}} {{if|test={{{name|}}}|then={{{name}}}|else={{PAGENAME}} }}{{if|test={{{forum_id|}}}|then=]}}</big></th></tr>{{if
 
   |test={{{photo|}}}
 
   |test={{{photo|}}}
   |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;">{{{photo}}}<br /><small>{{{caption|}}}</small></td></tr>
 
}}{{if
 
}}{{if
 
   |test={{{alternate_names|}}}
 
   |test={{{alternate_names|}}}
Line 15: Line 15:
 
   |test={{{forum_join|}}}
 
   |test={{{forum_join|}}}
 
   |then=<tr><th>[[Forums|Join date]]</th><td>{{{forum_join}}}</td></tr>
 
   |then=<tr><th>[[Forums|Join date]]</th><td>{{{forum_join}}}</td></tr>
 +
}}{{if
 +
  |test={{{activity|}}}
 +
  |then=<tr><th>Main Skills</th><td>{{{activity}}}</td></tr>
 
}}
 
}}
 
<noinclude><tr><td colspan="2">User data will show up here.</td></tr></noinclude>
 
<noinclude><tr><td colspan="2">User data will show up here.</td></tr></noinclude>
Line 30: Line 33:
 
| website =  
 
| website =  
 
| yearbook =  
 
| yearbook =  
 +
| activity =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 42: Line 46:
 
| yearbook =  
 
| yearbook =  
 
| forum_join = [[2004]]
 
| forum_join = [[2004]]
 +
| activity = Programmer, System Admin
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 55: Line 60:
 
| yearbook =  
 
| yearbook =  
 
| forum_join = [[2004]]
 
| forum_join = [[2004]]
}}[[Category:Infobox templates]]
+
| activity = Programmer, System Admin
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:36, 29 September 2010


[edit] Basic template

{{Infobox Person
| name = 
| alternate_names = 
| forum_id = 
| forum_join = 
| photo = 
| caption = 
| website = 
| yearbook = 
| activity = 
}}

[edit] Sample usage

{{Infobox CommunityPerson
| name = Delphy
| forum_id = 1
| photo = Delphy.jpg
| caption = (the sinister guy that runs the servers)
| alternate_names = Delphster
| website = http://delphster.net/
| yearbook = 
| forum_join = [[2004]]
| activity = Programmer, System Admin
}}

results in:

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox