Template:All: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>LostInRiverview
mNo edit summary
sims>LostInRiverview
m (variables get two braces, not three)
Line 1: Line 1:
<div style="width:250px;float:right;clear:right;margin:0 0 1em 1em;border:1px solid #007FFF;background: #FFFFFF;-moz-border-radius:10px;-webkit-border-radius:10px;padding:10px 10px 10px 10px;">
<div style="width:250px;float:right;clear:right;margin:0 0 1em 1em;border:1px solid #007FFF;background: #FFFFFF;-moz-border-radius:10px;-webkit-border-radius:10px;padding:10px 10px 10px 10px;">
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
'''''{{#if:{{{name|}}}|{{{name}}}|{{{PAGENAME}}}}}''''' <br> {{{image}}}<br><small>{{{caption}}}</small></p></div>
'''''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''''' <br> {{{image}}}<br><small>{{{caption}}}</small></p></div>
<noinclude>{{Documentation}}
<noinclude>{{Documentation}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]

Revision as of 00:35, 20 March 2014

All
{{{image}}}
{{{caption}}}

Template documentation (View · Edit · History · Purge)

Description

This template is used to provide an image with a caption at the top-right of certain articles, such as those for motives and game mechanics.

This template is fairly old and extremely basic with minimalistic styling and only three parameters. It should probably be replaced with a better-looking one.

Usage

Copy and paste the information below into a page and then replace the information in brackets with the information.

{{all
|name         = {{{name}}}
|image        = {{{image}}}
|caption      = {{{caption}}}
}}

Visit Template:All/doc to edit this text! (How does this work?) (Refresh this text - why?)