Difference between revisions of "Template:Infobox CommunityPerson"

From SimsWiki
Jump to: navigation, search
 
(10 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|}}}
Line 17: Line 17:
 
}}{{if
 
}}{{if
 
   |test={{{activity|}}}
 
   |test={{{activity|}}}
   |then=<tr><th>Main activity</th><td>{{{activity}}}</td></tr>
+
   |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 33: Line 33:
 
| website =  
 
| website =  
 
| yearbook =  
 
| yearbook =  
 +
| activity =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 45: Line 46:
 
| yearbook =  
 
| yearbook =  
 
| forum_join = [[2004]]
 
| forum_join = [[2004]]
 +
| activity = Programmer, System Admin
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 58: 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