Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

m
m
Line 1: Line 1:
 
{{#if:{{{mini|}}} |
 
{{#if:{{{mini|}}} |
{{{!}}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}}} | 80px }}|left]] | }}
 
{{!}}{{{text}}}
 
{{!}}}
 
| <!-- else mini version -->
 
 
<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="display:inline-block; -moz-box-shadow:0 0 10px rgba(0,0,0,.5);  
Line 13: Line 7:
 
<div style="float:left">{{{text}}}</div>
 
<div style="float:left">{{{text}}}</div>
 
</div></div>
 
</div></div>
 +
| <!-- else normal version -->
 +
{{{!}}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}}} {{!}} 50px {{!}}}}link=]] | }}
 +
{{!}}{{{text}}}
 +
{{!}}}
 
}}
 
}}
 
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 21:53, 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.