Difference between revisions of "Template:Infobox Story Character"
From SimsWiki
| (3 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
<table class="infobox plainlinks" style="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" align="center" style="background:#ccf; text-align:center">[[Stories:Main_Page|Story]] [[:Category:Characters|Character]]</th> | ||
| + | </tr> | ||
<tr><th colspan="2" style="text-align: center;"><big>[[Image:Person marker.png|20px]] {{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={{{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}}}| | + | |then=<tr><td colspan="2" style="text-align: center;">[[Image:{{{photo}}}|200px|center]]<small>{{{caption|}}}</small></td></tr> |
}}{{if | }}{{if | ||
|test={{{alternate_names|}}} | |test={{{alternate_names|}}} | ||
| Line 8: | Line 11: | ||
}}{{if | }}{{if | ||
|test={{{appears|}}} | |test={{{appears|}}} | ||
| − | |then=<tr><th>Appears in</th><td>{{{appears}}}</td></tr> | + | |then=<tr><th>Appears in:</th><td>{{{appears}}}</td></tr> |
| + | }}{{if | ||
| + | |test={{{created_by|}}} | ||
| + | |then=<tr><th>Created by:</th><td>{{{created_by}}}</td></tr> | ||
}} | }} | ||
<noinclude><tr><td colspan="2">Character data will show up here.</td></tr></noinclude> | <noinclude><tr><td colspan="2">Character data will show up here.</td></tr></noinclude> | ||
Latest revision as of 23:58, 18 January 2007
| Story Character | |
|---|---|
| Character data will show up here. |
[edit] Basic template
{{Infobox Story Character
| name =
| alternate_names =
| photo =
| caption =
| appears =
}}
[edit] Sample usage
{{Infobox Story Character
| name = Delphy
| photo = Delphy.jpg
| caption = (the sinister guy that runs the servers)
| alternate_names = Delphster
| appears = In your dreams
}}
results in:
| Story Character | |
|---|---|
| (the sinister guy that runs the servers) | |
| a.k.a. | Delphster |
| Appears in: | In your dreams |