Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 1: Line 1:
 
{{#if:{{{mini|}}} |
 
{{#if:{{{mini|}}} |
 
<div style="text-align:center">
 
<div style="text-align:center">
<div class="toc" style="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);  
 
-webkit-box-shadow:0 0 10px rgba(0,0,0,.5); box-shadow:0 0 10px rgba(0,0,0,.5);overflow:hidden">
 
-webkit-box-shadow:0 0 10px rgba(0,0,0,.5); box-shadow:0 0 10px rgba(0,0,0,.5);overflow:hidden">
 
{{ #if: {{{image|}}} | <div style="position:relative;left:{{ #if: {{{leftposition|}}} | {{{leftposition}}} | -10px }};top:{{ #if: {{{topposition|}}} | {{{topposition}}} | -17px }};height:15px;
 
{{ #if: {{{image|}}} | <div style="position:relative;left:{{ #if: {{{leftposition|}}} | {{{leftposition}}} | -10px }};top:{{ #if: {{{topposition|}}} | {{{topposition}}} | -17px }};height:15px;

Revision as of 21:57, 31 May 2010

{{{text}}}

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

Usage

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

Set mini to yes/no for a minified version.