Difference between revisions of "ArticleNote"
From Sonic Retro
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:8px; vertical-align:middle; text-align:center;"{{!}} [[File:{{{image}}}|{{#var:imgsize}}]] }} | {{#if: {{{image|}}} | {{!}}style="padding:8px; vertical-align:middle; text-align:center;"{{!}} [[File:{{{image}}}|{{#var:imgsize}}]] }} |
Revision as of 15:25, 29 October 2019
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. |