Difference between revisions of "Template:Infobox CommunityPerson"
From SimsWiki
| Line 2: | Line 2: | ||
<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;">{{{photo}}}<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|}}} | ||
Revision as of 23:39, 13 June 2006
| User data will show up here. |
Basic template
{{Infobox Person
| name =
| alternate_names =
| forum_id =
| forum_join =
| photo =
| caption =
| website =
| yearbook =
}}
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]]
}}
results in:
| Delphy.jpg (the sinister guy that runs the servers) | |
| a.k.a. | Delphster |
| Website | http://www.delphster.net/ |
| Join date | 2004 |