Actions

Template

Difference between revisions of "ArticleNote"

From Sonic Retro

(more consistent)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{mini}}}|yes|{{#vardefine:imgsize|50x30px}}|{{#vardefine:imgsize|50px}}}}{|class="prettytable" 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="width:50px; padding:0px; vertical-align:middle; text-align:center;"| {{#if: {{{image|}}} | [[File:{{{image}}}|{{#var:imgsize}}]] | [[File:Sonicretro-round.svg|{{#var:imgsize}}]] }}
+
|-style="height:30px;"
|style="padding-top:2px; padding-bottom:2px;"| {{#if: {{{text|}}} | {{{text}}} | Text goes here. }}
+
{{#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. }}
 
|}</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 11: Line 12:
 
| text=
 
| text=
 
| mini=
 
| mini=
 +
| inline=
 +
| style=
 +
| textstyle=
 
}}
 
}}
 
</pre>
 
</pre>
Line 22: 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 27: 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;
<pre>{{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.
 
}}</pre>
 
|
 
{{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.
 
 
}}
 
}}
 
|-
 
|-
Line 62: Line 59:
 
<pre>{{ArticleNote
 
<pre>{{ArticleNote
 
| image=
 
| image=
| mini=yes
 
 
| text=Template with no image.
 
| text=Template with no image.
 
}}</pre>
 
}}</pre>
Line 68: Line 64:
 
{{ArticleNote
 
{{ArticleNote
 
| image=
 
| image=
| mini=yes
 
 
| text=Template with no image.
 
| text=Template with no image.
 +
| inline=yes
 
}}
 
}}
 
|}
 
|}
 +
 +
{{cleanup|ds dasf
 +
* fgsdfg
 +
*( dfasf
 +
*gfafdfsadf
 +
sadfsadfas}}
  
 
[[Category:Sonic Retro templates]]
 
[[Category:Sonic Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:30, 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;
}}
Sonicretro-round.svg This is a stub.
{{ArticleNote
| image=Lock.svg
| text='''This page is protected from editing to prevent vandalism.'''
}}
Lock.svg This page is protected from editing to prevent vandalism.
{{Reqbook}}
Image upload.svg This book or strategy guide requires additional or replacement scans.
{{Segaretro}}
Segaretro-round.svg It has been suggested that this page be moved over to Sega Retro as to be in accordance with both sites' policies.
Please see the talk page for relevant discussion and export procedure.
{{ArticleNote
| image=
| text=Template with no image.
}}
Template with no image.


Sonicretro-round.svg 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

  • fgsdfg
  • ( dfasf
  • gfafdfsadf
sadfsadfas

After the article has been cleaned up, you may remove this message. See How to Edit a Page for help.