Template:Aside: Difference between revisions

imported>Samueldr
Add template for {{aside}}
 
DoggoBit (talk | contribs)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{Notice
{{Template}}
  |color=var(--color-base)
'''An 'Aside' box, for a comment that is not really notable.
  |background=var(--background-color-neutral-subtle)
 
  |borderColor=var(--border-color-base)
====Usage====
  |small=yes
 
  |'''{{{leading|{{{title|{{{heading|Sidenote:}}}}}}}}}''' {{{text|{{{1|}}}}}}
{{ic|<nowiki>{{Aside|This text should be heeded.}}</nowiki>}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
{{ic|<nowiki>{{Aside|text=This text should be heeded.}}</nowiki>}}
 
{{ic|<nowiki>{{Aside|title=To be noted|text=This text should be heeded.}}</nowiki>}}
 
====Example====
 
{{Aside|This text should be heeded.}}
 
{{Aside|text=This text should be heeded.}}
 
{{Aside|title=To be noted|text=This text should be heeded.}}
 
</noinclude><includeonly>{{META Box|{{{title|Aside}}}|{{{text|{{{1|{{META Error}}}}}}}}}}</includeonly>