Wiktenauer logo.png

Template:Sidenotes end

From Wiktenauer
Revision as of 19:27, 16 April 2013 by Michael Chidester (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{NAMESPACE}}|Page|</div></div>}}</includeonly><noinclude> {{documentation|Template:Sidenotes begin/doc}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

About

Templates {{Right sidenote}}, and {{Left sidenote}} are used to create a text in which notes appear to the side of the text, rather than as footnotes at the end.

These templates are compatible with dynamic layouts. Thus, the way notes are rendered depends on the layout. CSS properties are defined in self.ws_layouts.

Usage

Usage is as follows:

  • In the Page Namespace, {{Sidenotes begin}} should be placed in the header of the page, and {{Sidenotes end}} in the footer, in order to create margins. (Note: these templates will be deprecated in the future, as css style properties will be imported from the index page)
  • In the main namespace, these templates are no longer necessary.

{{Right sidenote}} is used to create a sidenote appearing to the right of the text.

Parameters
Parameter Mandatory Definition Default
1 Yes The text to appear at the right, possibly including wiki markup.
2 No The css style of the note

{{Left sidenote}} is used to create a sidenote appearing to the left of the text.

Parameters
Parameter Mandatory Definition Default
1 Yes The text to appear at the left, possibly including wiki markup.
2 No The css style of the note


Example: