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") |
||
(65 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <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: {{{image|}}} | {{!}} | ||
− | |||
− | {{ | ||
− | |||
− | This template is for transclusion in [[:Category:Cleanup | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ArticleNote | {{ArticleNote | ||
− | |image= | + | | image= |
− | |text= | + | | text= |
− | | | + | | mini= |
− | + | | inline= | |
− | + | | style= | |
− | | | + | | textstyle= |
− | | | ||
− | | | ||
}} | }} | ||
</pre> | </pre> | ||
− | |||
− | == | + | ===Examples=== |
− | + | {| class="prettytable" | |
+ | ! Code || Result | ||
+ | |- | ||
+ | | | ||
<pre>{{ArticleNote | <pre>{{ArticleNote | ||
− | | image= | + | | image=Sonicretro-round.svg |
− | | text= | + | | text=This is a stub. |
− | + | | mini=yes | |
+ | | style=min-width:400px; | ||
+ | | textstyle=font-family:times new roman; | ||
}}</pre> | }}</pre> | ||
− | + | | | |
{{ArticleNote | {{ArticleNote | ||
− | | image= | + | | image=Sonicretro-round.svg |
− | | text= | + | | text=This is a stub. |
− | + | | mini=yes | |
+ | | style=min-width:400px; | ||
+ | | textstyle=font-family:times new roman; | ||
}} | }} | ||
− | + | |- | |
− | + | | | |
− | |||
− | |||
<pre>{{ArticleNote | <pre>{{ArticleNote | ||
| image=Lock.svg | | image=Lock.svg | ||
− | + | | text='''This page is protected from editing to prevent vandalism.''' | |
− | | text='''This page is protected from editing to prevent vandalism.''' | ||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
− | + | | | |
{{ArticleNote | {{ArticleNote | ||
| image=Lock.svg | | image=Lock.svg | ||
− | + | | text='''This page is protected from editing to prevent vandalism.''' | |
− | | 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: | + | [[Category:Templates]] |
</noinclude> | </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. |