• Home
  • Random
  • Log in
  • Settings
Donate Now If this site has been useful to you, please give today.
  • About Wikisource
  • Disclaimers
Wikisource

Template:Outside L

  • Template
  • Discussion
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
{{Outside}} should not be used directly. Please use {{outside L}} or {{outside RL}} for correct use.
CSSThis template uses TemplateStyles:
  • Template:Outside/styles.css

Contents

  • 1 Usage
    • 1.1 Available parameters
    • 1.2 Notes
  • 2 See also

Usage

edit

For use with works with sidenotes where the works are transcluded from the Page: namespace.

These templates display sidenotes to the left and right as displayed when in the Page namespace, though when the pages are transcluded to the main namespace, the sidenotes are 'all displayed on the left hand side of the page. Uses a <span> for formatting.

  • Pages with original notes on left hand side use {{outside L}}
{{outside L|Special sidenote to display}}{{lorem ipsum}}
Special sidenote to displayLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
CSSThis template uses TemplateStyles:
  • Template:Outside RL/styles.css
  • Pages with original notes on right hand side use {{outside RL}}
{{outside RL|Special sidenote to display}}{{lorem ipsum}}
Special sidenote to displayLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Note: Template:outside is not and should not be used directly, it is called as appropriate from within {{outside L}} and {{outside RL}}

Available parameters

edit
  • depth: Depth in (ems) of penetration into left margin, default 9em. (Omit em unit when entering.)
  • padding: The space on the right of the text, default 1em.
  • top: Vertical offset of text (margin-top) in pixel, default is 4px.
  • align: Text alignment (text-align) within the span, default to "left".
  • size: Size of font (font-size), default to "smaller", can be freely set.
  • height: The height of each line, the vertical space between lines, default is 125% (enter as a number, do not include the percent sign).

Notes

edit
Note - The use of this template has elements of complexity due to the requirement for the technical placement of text relative to other text
  • PAGE: namespace

When set within the Page: namespace, the use of {{sidenotes begin}} and {{sidenotes end}} within the header and footer, respectively, is recommended for display purposes.

  • MAIN namespace

When transcluding to main namespace, the following formatting is recommended

<div style="margin-left: XXem">
<pages your transclusion details as Wikisource:ProofreadPage />
</div>

where XXem = depth + padding; so 10em for default usage
example Copyright Act, 1956 (United Kingdom)/Part 1

See also

edit
  • Template:Sidenotes begin and the set of templates used
  • Template:Overfloat left


The above documentation is transcluded from Template:Outside/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Subpages of this template.
Retrieved from "https://en.wikisource.org/w/index.php?title=Template:Outside_L&oldid=14128640"
Last edited on 25 April 2024, at 18:02

Languages

    • অসমীয়া
    • বাংলা
    • Ελληνικά
    • தமிழ்
    Wikisource
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 25 April 2024, at 18:02.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikisource
    • Disclaimers
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop