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:30px; {{#if:{{{inline}}}|display:inline-block;}}" | + | <includeonly>{{#ifeq:{{{mini}}}|yes|{{#vardefine:imgsize|50x30px}}|{{#vardefine:imgsize|50px}}}}{|class="prettytable" style="width:auto; margin-left:30px; border-bottom:none; {{#if:{{{inline|}}}|display:inline-block;}} {{#if:{{{style|}}}|{{{style}}}}}" |
− | |style="width:50px; padding:0px; vertical-align:middle; text-align:center;" | + | |-style="height:30px;" |
− | |style="padding-top:2px; padding-bottom:2px;"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }} | + | {{#if: {{{image|}}} | {{!}}style="width:50px; padding:0px; 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. }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
This template is for transclusion in [[:Category:Cleanup templates|cleanup templates]] and other similar site-wide templates. | This template is for transclusion in [[:Category:Cleanup templates|cleanup templates]] and other similar site-wide templates. | ||
Line 12: | Line 13: | ||
| mini= | | mini= | ||
| inline= | | inline= | ||
+ | | style= | ||
+ | | textstyle= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 23: | Line 26: | ||
| image=Sonicretro-round.svg | | image=Sonicretro-round.svg | ||
| text=This is a stub. | | text=This is a stub. | ||
+ | | mini=yes | ||
+ | | style=min-width:400px; | ||
+ | | textstyle=font-family:times new roman; | ||
}}</pre> | }}</pre> | ||
| | | | ||
Line 28: | Line 34: | ||
| image=Sonicretro-round.svg | | image=Sonicretro-round.svg | ||
| text=This is a stub. | | text=This is a stub. | ||
− | + | | mini=yes | |
− | | | + | | style=min-width:400px; |
− | + | | textstyle=font-family:times new roman; | |
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
|- | |- | ||
Line 63: | Line 59: | ||
<pre>{{ArticleNote | <pre>{{ArticleNote | ||
| image= | | image= | ||
− | |||
| text=Template with no image. | | text=Template with no image. | ||
}}</pre> | }}</pre> | ||
Line 69: | Line 64: | ||
{{ArticleNote | {{ArticleNote | ||
| image= | | image= | ||
− | |||
| text=Template with no image. | | text=Template with no image. | ||
+ | | inline=yes | ||
}} | }} | ||
|} | |} |
Revision as of 00:12, 31 July 2018
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. }} |
|