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|}}} | {{!}}[[Image:{{{image}}}{{!}}{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 30px }}link=]] | }}
+
{{ #if: {{{image|}}} | {{!}}[[Image:{{{image}}}{{!}}50px{{!}}link=]] | }}
 
{{!}}{{{text}}}
 
{{!}}{{{text}}}
 
{{!}}}
 
{{!}}}

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