Template:EB1911 Shoulder Heading/doc

From Wikisource
Jump to navigation Jump to search

Purpose[edit]

This creates a text box that aligns by default on the left side of the page inside the margin. The box is similar to the headings used in the original text of 1911 Encyclopædia Britannica. Insert the template just before the first word where the text is displaced by the heading.

This template has some optional parameters (the defaults are displayed):

align=left
width=10
section=
nobold=
noshrink=

See section Optional parameters below for more details

Example[edit]

...dignissim odio. {{EB1911 Shoulder Heading|Sample shoulder heading}}Nunc mollis...

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam porta, lectus eu tristique pellentesque, risus nulla ornare erat, eu tincidunt neque purus ut neque. Vestibulum hendrerit dignissim odio. Sample shoulder headingNunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

...dignissim odio. {{EB1911 Shoulder Heading|align=right|Sample shoulder heading}}Nunc mollis...

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam porta, lectus eu tristique pellentesque, risus nulla ornare erat, eu tincidunt neque purus ut neque. Vestibulum hendrerit dignissim odio. Sample shoulder headingNunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.


...dignissim odio. {{EB1911 Shoulder Heading|align=left|Sample shoulder heading}}Nunc mollis...

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam porta, lectus eu tristique pellentesque, risus nulla ornare erat, eu tincidunt neque purus ut neque. Vestibulum hendrerit dignissim odio. Sample shoulder headingNunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc mollis facilisis tortor. Quisque blandit. In hac habitasse platea dictumst. Phasellus ultricies risus non erat rhoncus auctor. Etiam blandit aliquet dui. Nullam rhoncus. Integer auctor, orci eu eleifend tristique, lacus est iaculis nibh, id porta turpis dolor vitae erat. Nunc id nisi vestibulum erat dignissim consequat. Nunc sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

Important formatting point[edit]

If the shoulder heading text includes an equals sign then it will be necessary to explicitly number the unnamed parameter as 1=text like this:

  • {{EB1911 Shoulder Heading|1=one+two=three}}

Optional parameters[edit]

This template has some optional parameters:

  • align=right or left Omitting this or setting to "left" will put the shoulder heading on the left of the page, "right" will put it on the right. The text is always left aligned inside the heading's box.
  • width=number Omitting this or setting to 10 will set the width of the shoulder heading to 10em. It can be changed with the width parameter, and for example the template {{EB1911 Shoulder HeadingSmall}} defaults to 6em.
  • section=anything If the parameter section= is passed into the template, then the text of the shoulder heading becomes a linkable section name. See also EB1911 Style Manual § Linking within an article.
  • nobold=anything If the parameter nobold= is passed, then the default bolding and italicization of the template is removed.
  • noshrink=anything If the parameter noshrink= is passed, then the default 85% sizing of the template is removed.