Difference between revisions of "ArticleNote"
From Sonic Retro
PicklePower (talk | contribs) m |
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
||
(93 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{ | + | <includeonly>{{#ifeq:{{{mini}}}|yes|{{#vardefine:imgsize|50x30px}}|{{#vardefine:imgsize|50px}}}}{{#if:{{{imagesize|}}}|{{#vardefine:imgsize|{{{imagesize}}}px}}|}}{|class="prettytable" style="width:auto; margin-left:30px; border-bottom:none; {{#if:{{{inline|}}}|display:inline-block;}} {{#if:{{{style|}}}|{{{style}}}}}" |
− | + | |-style="height:30px;" | |
− | + | {{#if: {{{image|}}} | {{!}}style="padding:{{#if:{{{mini|}}}|3|8}}px; vertical-align:middle; text-align:center;"{{!}} [[File:{{{image}}}|{{#var:imgsize}}]] }} | |
− | + | |style="padding-top:2px; padding-bottom:2px; {{#if:{{{textstyle|}}}|{{{textstyle}}}}}"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }} | |
− | {{ #if: {{{ | + | |}</includeonly><noinclude> |
− | + | This template is for transclusion in [[:Category:Cleanup templates|cleanup templates]] and other similar site-wide templates. | |
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | {{ #if: {{{ | ||
− | |||
− | |||
− | } | ||
− | This template is for transclusion in [[:Category:Cleanup | ||
==Usage== | ==Usage== | ||
Line 21: | Line 11: | ||
| image= | | image= | ||
| text= | | text= | ||
− | |||
| mini= | | mini= | ||
+ | | inline= | ||
+ | | style= | ||
+ | | textstyle= | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | ===Examples=== | |
+ | {| class="prettytable" | ||
+ | ! Code || Result | ||
+ | |- | ||
+ | | | ||
+ | <pre>{{ArticleNote | ||
+ | | image=Sonicretro-round.svg | ||
+ | | text=This is a stub. | ||
+ | | mini=yes | ||
+ | | style=min-width:400px; | ||
+ | | textstyle=font-family:times new roman; | ||
+ | }}</pre> | ||
+ | | | ||
+ | {{ArticleNote | ||
+ | | image=Sonicretro-round.svg | ||
+ | | text=This is a stub. | ||
+ | | mini=yes | ||
+ | | style=min-width:400px; | ||
+ | | textstyle=font-family:times new roman; | ||
+ | }} | ||
+ | |- | ||
+ | | | ||
+ | <pre>{{ArticleNote | ||
+ | | image=Lock.svg | ||
+ | | text='''This page is protected from editing to prevent vandalism.''' | ||
+ | }}</pre> | ||
+ | | | ||
+ | {{ArticleNote | ||
+ | | image=Lock.svg | ||
+ | | text='''This page is protected from editing to prevent vandalism.''' | ||
+ | }} | ||
+ | |- | ||
+ | | <pre>{{Reqbook}}</pre> | ||
+ | | {{Reqbook}} | ||
+ | |- | ||
+ | | <pre>{{Segaretro}}</pre> | ||
+ | | {{Segaretro}} | ||
+ | |- | ||
+ | | | ||
+ | <pre>{{ArticleNote | ||
+ | | image= | ||
+ | | text=Template with no image. | ||
+ | }}</pre> | ||
+ | | | ||
+ | {{ArticleNote | ||
+ | | image= | ||
+ | | text=Template with no image. | ||
+ | | inline=yes | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | {{cleanup|ds dasf | ||
+ | * fgsdfg | ||
+ | *( dfasf | ||
+ | *gfafdfsadf | ||
+ | sadfsadfas}} | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 19:17, 1 January 2022
This template is for transclusion in cleanup templates and other similar site-wide templates.
Usage
{{ArticleNote | image= | text= | mini= | inline= | style= | textstyle= }}
Examples
Code | Result | ||
---|---|---|---|
{{ArticleNote | image=Sonicretro-round.svg | text=This is a stub. | mini=yes | style=min-width:400px; | textstyle=font-family:times new roman; }} |
| ||
{{ArticleNote | image=Lock.svg | text='''This page is protected from editing to prevent vandalism.''' }} |
| ||
{{Reqbook}} |
| ||
{{Segaretro}} |
| ||
{{ArticleNote | image= | text=Template with no image. }} |
|
This article needs cleanup. This article needs to be edited to conform to a higher standard of article quality. Specifically, issues with this article are: ds dasf
After the article has been cleaned up, you may remove this message. See How to Edit a Page for help. |