Difference between revisions of "Template:Infobox Person"

From SimsWiki
Jump to: navigation, search
 
 
(2 intermediate revisions by one user 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 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 Administrator
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 55: Line 60:
 
| yearbook =  
 
| yearbook =  
 
| forum_join = [[2004]]
 
| forum_join = [[2004]]
}}[[Category:Infobox templates]]
+
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:01, 13 June 2006


[edit] Basic template

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

[edit] Sample usage

{{Infobox Person
| 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 Administrator
}}

results in:

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox