Usage தொகு

Template recto-verso header4 is based on {{recto-verso header}} intended to make it easier to deal with the differences between recto and verso page headers in simple cases. It also attempts to make the வார்ப்புரு:Wde changes semi-automatic by calling {{Rh}} with different parameters depending on whether the provided page number is odd or even.

The intended use is to insert this template in the Header field of the work's index page with the page number argument replaced with {{{pagenum}}}. When creating a page in the Page: namespace, the ProofreadPage extension will replace that argument with the actual page number, leading to a template invocation that will do the right thing. You can, of course, also use it directly on a page in the Page: namespace, but that will usually not be any easier than just using {{rh}} directly.

Difference between Recto-verso header and Recto-verso header4 தொகு

{{Recto-verso header}} is intended to make things as simple as possible for the most common cases and as a result it has many limitations, some of which are dealt with in {{Recto-verso header2}} and {{Recto-verso header3}}. Template Recto-verso header4 deals with the cases when the name of the work or a chapter is displayed in the header, but it is left or right aligned instead of centered, depending on the page being recto or verso.

Examples தொகு

  • {{rvh4|51|PALACKÝ AND CZECH POLITICS AFTER 1876|EAST EUROPEAN QUARTERLY}}

PALACKÝ AND CZECH POLITICS AFTER 1876

51

  • {{rvh4|52|PALACKÝ AND CZECH POLITICS AFTER 1876|EAST EUROPEAN QUARTERLY}}

52

EAST EUROPEAN QUARTERLY

Tricks தொகு

  • There's nothing preventing you from swapping the text for the recto and verso arguments. This template does not know anything about what you put in there: it's all just text, and it'll dutifully spit it out on alternating pages regardless of content. Does your work have the work's title on recto pages and the chapter title on verso pages? Just swap the arguments.

See also தொகு

  • {{Rvh}}
  • {{Rvh2}} – based on {{Rvh}} but deals also with roman numeral and enables page number formatting
  • {{Rvh3}} – for left/right aligned non-page number headers
  • {{Rh}} – Simple 3 and 4 item running header
  • {{Rh/5}} – 5 item running header left center center center right arrangment, as might be encountered in an index, dictionary or Gazetteer type work.
  • {{Rv}} – Template with flexible content to cover non-standand cases


"https://ta.wikisource.org/w/index.php?title=வார்ப்புரு:Recto-verso_header4/doc&oldid=1536604" இலிருந்து மீள்விக்கப்பட்டது