Difference between revisions of "ArticleNote"
From Sonic Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:{{{mini}}}|yes|{{#vardefine:imgsize|50x30px}}|{{#vardefine:imgsize|50px}}}}{|class="prettytable" style="width:auto; margin-left: | + | <includeonly>{{#ifeq:{{{mini}}}|yes|{{#vardefine:imgsize|50x30px}}|{{#vardefine:imgsize|50px}}}}{|class="prettytable" style="width:auto; margin-left:30px; {{#ifeq:{{{inline}}}|yes|display:inline-block;}}" |
|style="width:50px; padding:0px; vertical-align:middle; text-align:center;"| {{#if: {{{image|}}} | [[File:{{{image}}}|{{#var:imgsize}}]] | [[File:Sonicretro-round.svg|{{#var:imgsize}}]] }} | |style="width:50px; padding:0px; vertical-align:middle; text-align:center;"| {{#if: {{{image|}}} | [[File:{{{image}}}|{{#var:imgsize}}]] | [[File:Sonicretro-round.svg|{{#var:imgsize}}]] }} | ||
|style="padding-top:2px; padding-bottom:2px;"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }} | |style="padding-top:2px; padding-bottom:2px;"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }} | ||
Line 11: | Line 11: | ||
| text= | | text= | ||
| mini= | | mini= | ||
+ | | inline= | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 20:31, 30 July 2018
This template is for transclusion in cleanup templates and other similar site-wide templates.
Usage
{{ArticleNote | image= | text= | mini= | inline= }}
Examples
Code | Result | ||
---|---|---|---|
{{ArticleNote | image=Sonicretro-round.svg | text=This is a stub. }} |
| ||
{{ArticleNote | image=Lock.svg | text='''This page is protected from editing to prevent vandalism.'''<br /> Please discuss any proposed changes on this article's talk page. }} |
| ||
{{ArticleNote | image=Lock.svg | text='''This page is protected from editing to prevent vandalism.''' }} |
| ||
{{Reqbook}} |
| ||
{{Segaretro}} |
| ||
{{ArticleNote | image= | mini=yes | text=Template with no image. }} |
|