Template:NSRW/doc

From Wikisource
Jump to navigation Jump to search

Purpose[edit]

This template is typically for headers of articles from the The New Student's Reference Work. It can also be used as a header for other articles in the project.

Usage[edit]

{{NSRW
 |previous       =
 |next           =
 |wikipedia      =
 |wikipedia2     =
 |other_projects =
 |extra_notes    =
 |nonotes        =
 |section        =
}}

The template goes at the top of an article. The 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.

  • | 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]]. Only include links to wikimedia projects.
  • | 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.
  • | nonotes =
    • This is useful when this template is used as a header for pages in this project which are not articles from NSRW. 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 (doc) would be displayed instead of the SUBPAGENAME of the article (Bebel, Ferdinand August) for which the header would be used.

The page name for any article using this template as a header should be prefixed by The New Student's Reference Work/. This prefix is followed by the name of the subject, as specified in NSRW, but without the pronunciation guides. For example The New Student's Reference Work/Bebel, Ferdinand August.

Examples[edit]

Typical[edit]

{{NSRW
 | previous  = Beaver Falls, Pa.
 | next      = Bechuanaland
 | wikipedia = August Bebel
}}
731183The New Student's Reference Work — Bebel, Ferdinand August


No Wikipedia link[edit]

{{NSRW
 | previous  = Beaver Falls, Pa.
 | next      = Bechuanaland
}}
731183The New Student's Reference Work — Bebel, Ferdinand August


Don't display notes[edit]

{{NSRW
 | previous = Preface
 | next = A
 | nonotes =
}}
731183The New Student's Reference Work — Key to pronunciation


Don't display notes or previous and next links[edit]

{{NSRW|nonotes=}}
731183The New Student's Reference Work — Project Disclaimer