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
(use TemplateStyles)
imported>K6ka
(temporary revert while i investigate an issue on the Bladder page)
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;">
<templatestyles src="All/styles.css" /><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>
</infobox><noinclude>{{clr}}{{Documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
<noinclude>{{Documentation}}
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>

Revision as of 18:59, 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?)