Difference between revisions of "Template:Notebox"

From Hellmoo Wiki Archive
Jump to navigation Jump to search
imported>Maniac
m (Trying to convince mediawiki to not include extra line breaks)
imported>Isadora
(Added a 4px margin (a small sliver of blank space) around every side of noteboxes, to stop them sitting so closely to main body text and hindering readability.)
 
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="float:right; border-left:4px solid gray; padding-left:4px; background-color:lightgray; max-width:350px"> '''{{{1}}}''' <br> {{{2}}} </div>
<div style="float:right; border-left:4px solid gray; padding-left:4px; background-color:lightgray; margin:4px; max-width:350px"> '''{{{1}}}''' <br> {{{2}}} </div>
</includeonly><noinclude>
</includeonly><noinclude>
This is a template for noteboxes.
This is a template for noteboxes.

Latest revision as of 10:20, 6 May 2019

This is a template for noteboxes.

Appearance and Usage

This is a notebox title
This is some notebox text. The width of a notebox is capped to 350px, so even if you write quite a lot, it won't dominate the article.

Noteboxes appear like the box to the right of this text, adjacent to the regular paragraphs of an article. They should be used to add extra notes that are relevant to the topic being discussed or are otherwise interesting, but are not sufficiently important to warrant their own regular paragraph.

The syntax for adding noteboxes to pages is as follows:

{{notebox|title text|body text}}

You should insert them just before the paragraph that you intend for them to align with in the page's source.