Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 8: Line 8:
 
</div></div>
 
</div></div>
 
| <!-- else normal version -->
 
| <!-- else normal version -->
{{{!}}class="toc" width="50%" style="margin:0 auto;-moz-box-shadow:0 0 10px rgba(0,0,0,.5); -webkit-box-shadow:0 0 10px rgba(0,0,0,.5); box-shadow:0 0 10px rgba(0,0,0,.5);"
+
{{{!}}class="toc" width="50%" style="margin:0 auto;-moz-box-shadow:0 0 10px rgba(0,0,0,.5); -webkit-box-shadow:0 0 10px rgba(0,0,0,.5); box-shadow:0 0 10px rgba(0,0,0,.5);{{ #if: {{{bgcolor|}}} | background:{{{bgcolor}}} | }}"
 
{{!}}-
 
{{!}}-
 
{{ #if: {{{image|}}} | {{!}}width="{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}"{{!}}[[Image:{{{image}}}{{!}}{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}{{!}}link=]] | }}
 
{{ #if: {{{image|}}} | {{!}}width="{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}"{{!}}[[Image:{{{image}}}{{!}}{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}{{!}}link=]] | }}
{{!}}style="padding:0 0 0 5px"{{!}}{{{text}}}
+
{{!}}style="padding:0 0 0 5px;{{ #if: {{{textcolor|}}} | color:{{{textcolor}}} | }}"{{!}}{{{text}}}
 
{{!}}}
 
{{!}}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 22:40, 31 May 2010

{{{text}}}

This template is for transclusion in cleanup templates and other similar site-wide templates.

Usage

{{ArticleNote
|image=
|text=
|imagewidth=
|mini=
|topposition=
|leftposition=
}}

Set mini to yes/no for a minified version. topposition (default: -17px) and leftposition (default: -10px) are optional values used to position the icon in the minified version.