Difference between revisions of "Template:Notebox"

From Hellmoo Wiki Archive
Jump to navigation Jump to search
imported>Isadora
(Added template for noteboxes, used to add extra info on relevant topics in a visually seamless manner. Template page includes documentation; read for info on usage. Thanks to outlet for helping with the CSS.)
 
imported>Maniac
m (Trying to convince mediawiki to not include extra line breaks)
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; max-width:350px"> '''{{{1}}}''' <br> {{{2}}} </div>
</includeonly>
</includeonly><noinclude>
<noinclude>
This is a template for noteboxes.
This is a template for noteboxes.


Line 13: Line 12:


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

Revision as of 15:36, 21 April 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.