টেমপ্লেট:RunningHeader/নথি
এটি টেমপ্লেট:RunningHeader-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
এই টেমপ্লেটটি টেমপ্লেট শৈলী ব্যবহার করে: |
Usage
সম্পাদনাIntended to simplify the display of running headers (can also be used for footers) when transcribing scanned text pages. Many texts include running headers (chapter names, etc.) centered at the top of a page, with accompanying page numbers on the left or right side (depending on whether the page number is even or odd).
3-part headers (left, centre, right)
সম্পাদনাMost running headers have three parts, one on the left, one on the right and one in the centre. If the template is given 3 arguments or fewer, they correspond to the left, center, and right sides of the running header.
The template may be called using implicit parameters, in which case the order is left, center, right. For example:
{{RunningHeader|left|center|right}}
Alternatively, it may be called with explicit parameter names. For example:
{{RunningHeader|left=LEFT|center=CENTRE|right=RIGHT}}
The use of explicit parameter names is especially useful in cases where one or more parameters are to be omitted.
4-part headers (left, left-centre, right-centre, right)
সম্পাদনাSome works, especially dictionaries and directories, have two headings in the centre of the page, one to the left and one to the right. In this case, you can provide 4 parameters, corresponding in turn to the left, left-centre, right-centre and right parts of the header.
{{RunningHeader|left|left-centre|right-centre|right}}
If a fourth parameter is present but blank, it will still trigger a 4-part header:
{{RunningHeader|left|left-centre|right-centre|}}
Page styles
সম্পাদনাThis template adds the class wst-running-header
(টেমপ্লেট:Search/css) to the outer container.
You can target the "cells" of the header with CSS like .wst-running-header-cell:nth-child(n)
, where n is 1, 2 or 3 (or 4, for a 4-cell header).
Additional parameter: style
সম্পাদনাWhere there is a need to specify the style of the text, an optional "style" parameter can be used. This parameter takes the same style attributes that can be set for any <div> element in the 3-part headers case or table row in the 4-part headers case.
{{RunningHeader|style=font-size:110%; font-style:italic|left|left-centre|right-centre|right}}
If a style is repeated for all headers in a book, prefer the CSS method.
Redirects
সম্পাদনা{{Running header}} and {{rh}} redirect here. Use these forms of the template if you prefer.
Templatedata
সম্পাদনাSimplify the display of running headers (and footers) when transcribing scanned text pages.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
Left | left 1 | Left-side text. | স্ট্রিং | পরামর্শকৃত |
Center (or center-left) | center centre 2 | The center text. | স্ট্রিং | পরামর্শকৃত |
Right (or right-center) | right 3 | The right-side text. | স্ট্রিং | পরামর্শকৃত |
Right (if 4 params used) | 4 | If four parameters are given, they will be arranged in four equal widths across the width of the page. | স্ট্রিং | ঐচ্ছিক |
style | style | The style of the text; this parameter takes the same style attributes that can be set for any <div> element | স্ট্রিং | ঐচ্ছিক |
See also
সম্পাদনা- {{recto-verso header}} -- for simple headers that vary by page number
- {{rh/2}}
- {{rh/3}}
- {{rh/5}}
- {{rh/lr}}
- {{right}} for right text-alignment
- {{left}} for left text-alignment