Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 1: Line 1:
{{#if:{{{mini|}}} |
+
<includeonly>{{#if:{{{mini|}}} |
 
<div style="text-align:center">
 
<div style="text-align:center">
 
<div class="toc" style="text-align:left;display:inline-block; -moz-box-shadow:0 0 10px rgba(0,0,0,.5);  
 
<div class="toc" style="text-align:left;display:inline-block; -moz-box-shadow:0 0 10px rgba(0,0,0,.5);  
Line 13: Line 13:
 
{{!}}style="padding:0 0 0 5px;{{ #if: {{{textcolor|}}} | color:{{{textcolor}}} | }}"{{!}}{{{text}}}
 
{{!}}style="padding:0 0 0 5px;{{ #if: {{{textcolor|}}} | color:{{{textcolor}}} | }}"{{!}}{{{text}}}
 
{{!}}}
 
{{!}}}
}}<noinclude>
+
}}</includeonly><noinclude>
 
This template is for transclusion in [[:Category:Cleanup Templates|cleanup templates]] and other similar site-wide templates.
 
This template is for transclusion in [[:Category:Cleanup Templates|cleanup templates]] and other similar site-wide templates.
  

Revision as of 22:53, 31 May 2010

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.