Difference between revisions of "Template:ArticleNote"

From MegaDrive Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{mini|}}} | <div style="{{ #if: {{{inline|}}} |display:block;float:left| }}"> <div class="toc shadow posrel" style="{{ #if: {{{inline|}}} ||display:table;}}{...")
 
Line 67: Line 67:
 
}}
 
}}
  
[[Category:Sonic Retro Templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 14:18, 11 September 2011

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

Usage

{{ArticleNote
|image=
|text=
|imagewidth=
|align=
|width=
|mini=
|topposition=
|leftposition=
|inline=
}}

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. Only possible value for align is left.

Example

Normal use

{{ArticleNote
| image=clock-green.png
| text='''This article is outdated.'''<br />
Due to changing events, this article is either no longer correct or needs information added to it to make it complete. You can help Sonic Retro by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} updating it] so it is consistent with current knowledge.  After fixing this article, please remove this notice.
}}


50px

This article is outdated.
Due to changing events, this article is either no longer correct or needs information added to it to make it complete. You can help Sonic Retro by updating it so it is consistent with current knowledge. After fixing this article, please remove this notice.


mini=yes

{{ArticleNote
| image=Lock.svg
| mini=yes
| text='''This page is protected from editing to prevent vandalism.'''<br />
Please discuss any proposed changes on this article's talk page.
| bgcolor=#000033
| textcolor=#fff
}}
This page is protected from editing to prevent vandalism.
Please discuss any proposed changes on this article's talk page.