Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 10: Line 10:
 
{{{!}}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: {{{image|}}} | {{!}}width="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"{{!}}{{{text}}}
 
{{!}}}
 
{{!}}}

Revision as of 22:22, 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.