Template:EB9/sandbox
This is the template sandbox page for Template:EB9 (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Purpose
[edit]This template is for headers of articles from Encyclopædia Britannica, Ninth Edition.
It automatically places all articles in Category:Encyclopædia Britannica, Ninth Edition. Entries without a volume number are also automatically placed in Category:EB9 no volume.
Usage
[edit]{{EB9 |volume = |previous = |next = |wikipedia = |wikipedia2 = |other_projects = |author = |extra_notes = |override_notes = |section = }}
The template goes at the top of an article. The volume, previous, and next should be filled in, even when those entries have not been created yet. This template is to be used at the top of every entry in the Encyclopedia.
- | volume =
- Type in the volume the entry appears in.
- | previous =
- Type in the name of the previous entry. It will create a link to it.
- | next =
- Same as above but goes to next entry.
- | wikipedia =
- Link to wikipedia article. Fill in the name of the article for this parameter. If there is no Wikipedia article, leave it blank or remove it.
- | wikipedia2 =
- Parameter for a second, relevant wikipedia article.
- | other_projects =
- Links to Wikimedia projects, for example Wiktionary, Commons, etc. It can also be used for Wikisource links and when more than two Wikipedia links are desired. Please format it to include the name of the project referred to (if not Wikisource): [[Project Name:Article Name|Article Name]] at [[Project Name:Main_Page|Project Name]]. External links are also a possibility, but should be used with discretion.
- | extra_notes =
- This is useful for notifying the reader of significant changes since the article was published, or other useful information about the article not appropriate to the previous parameters.
- | override_notes =
- This is useful when this template is used as a header for pages in this project which are not articles from the Encyclopedia. Its use should be restricted to such contexts. If set to nothing, the usual default notes will not be displayed. If set to some text, that text will be displayed instead of the default notes.
- | section =
- This is useful in extraordinary situations where the normal display of the SUBPAGENAME is not desired. For example, it is used to implement the examples below since otherwise the SUBPAGENAME of this documentation page (sandbox) would be displayed instead of the SUBPAGENAME of the article (Fillmore, Millard) for which the header would be used.
The page name for any article using this template as a header should be prefixed by Encyclopædia Britannica, Ninth Edition/
. This prefix is followed by the subject, last name first for biographies, for example Encyclopædia Britannica, Ninth Edition/Steubenville.
Examples
[edit]Typical
[edit]{{EB9 |previous = Fillan, St |next = Film |wikipedia = Millard Fillmore }}
Other projects
[edit]{{EB9 |previous = Morland, George |next = Mornay, Philippe de |wikipedia = Mormons |other_projects = the [[Portal:Mormonism|Mormonism portal]] on Wikisource }}
Here the link goes directly to another Wikisource page rather than a page on another sister site or an external link. It handles any linking need beyond the capacity of wikipedia
and wikipedia2
.