ਫਰਮਾ:Recto-verso
ਦਿੱਖ
(ਫਰਮਾ:Rv ਤੋਂ ਮੋੜਿਆ ਗਿਆ)
Lua error in ਮੌਡਿਊਲ:RunningHeader at line 49: attempt to call upvalue 'toArabic' (a nil value).
ਇਹ ਫਰਮਾ ਹੇਠ ਲਿਖੇ ਲੂਆ ਨੂੰ ਵਰਤਦਾ ਹੈ: |
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
[ਸੋਧੋ]- {{rvh}}
- {{rvh2}} - like the former template, but enables also using roman numerals and formatting page numbers
- {{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.