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
m (22 revisions imported: Import from https://sims.wikia.com)
(move to /doc)
 
(7 intermediate revisions by 3 users not shown)
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;">
<infobox theme="all">
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
<title source="name"><default>{{PAGENAME}}</default></title>
'''''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''''' <br> {{{image}}}<br><small>{{{caption}}}</small></p></div>
<image source="image"><caption source="caption"/></image>
<noinclude>{{clr}}{{Documentation}}
</infobox><noinclude>{{Documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
</noinclude>

Latest revision as of 19:24, 26 May 2019

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?)