வார்ப்புரு:Recto-verso
This template uses Lua: |
Usage
தொகுThis template switches the content it shows depending on whether its first argument is even or odd number. It is intended to be used in page headers or footers that have different content on recto and verso pages, to cover the cases that do not fit into less flexible templates like {{recto-verso header}}.
Syntax
தொகுThe syntax is:
{{rv|pagenumber|content for recto pages|content for verso pages}}
Note that the page number specified in the first parameter is not shown by itself, it is only used to determine which content should be rendered.
Examples
தொகு- Typical use with the work's title on verso pages and the chapter title on recto pages
{{rv|1|{{right|{{uc|''Prologue''}}}}|{{left|{{uc|''The Scarlet Hill''}}}}}}
Prologue
{{rv|2|{{right|{{uc|''Prologue''}}}}|{{left|{{uc|''The Scarlet Hill''}}}}}}
The Scarlet Hill
See also
தொகு- {{recto-verso header}}
- {{recto-verso header2}} – like the former template, but enables also using roman numerals and formatting page numbers
- {{recto-verso header3}} – for left/right aligned non-page number headers
- {{Recto-verso header4}} – for left/right aligned page number headers
- {{RunningHeader}} – 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.