Difference between revisions of "ArticleNote"
From Sonic Retro
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<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}}}}}" | <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;" | |-style="height:30px;" | ||
− | {{#if: {{{image|}}} | {{!}}style="padding: | + | {{#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. }} | |style="padding-top:2px; padding-bottom:2px; {{#if:{{{textstyle|}}}|{{{textstyle}}}}}"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 75: | Line 75: | ||
sadfsadfas}} | 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. |