Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 3: Line 3:
 
<div class="toc" style="display:inline-block; -moz-box-shadow:0 0 10px rgba(0,0,0,.5);  
 
<div class="toc" style="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:-10px;top:-17px;height:15px;
+
{{ #if: {{{image|}}} | <div style="position:relative;left:{{ #if: {{{leftposition|}}} | {{{leftposition}}} | -10px }};top:{{ #if: {{{topposition|}}} | {{{topposition}}} | -17px }};height:15px;
 
float:left">[[Image:{{{image}}}{{!}}{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}{{!}}link=]]</div> | }}
 
float:left">[[Image:{{{image}}}{{!}}{{ #if: {{{imagewidth|}}} | {{{imagewidth}}} | 50px }}{{!}}link=]]</div> | }}
 
<div style="float:left">{{{text}}}</div>
 
<div style="float:left">{{{text}}}</div>

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.