Difference between revisions of "Template:Infobox Story Character"

From SimsWiki
Jump to: navigation, search
Line 2: Line 2:
 
<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}}}|250px|center]]<small>{{{caption|}}}</small></td></tr>
+
   |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|}}}

Revision as of 22:53, 18 January 2007


Basic template

{{Infobox Story Character
| name = 
| alternate_names = 
| photo = 
| caption = 
| appears = 
}}

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:

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox