টেমপ্লেট:Left sidenote
This template uses a <span> element for formatting.Block-based templates and paragraph breaks cannot be nested inside it. |
এই টেমপ্লেটটি টেমপ্লেট শৈলী ব্যবহার করে: |
About
সম্পাদনাTemplates {{Right sidenote}}, and {{Left sidenote}} are used to create a text in which notes appear to the side of the text, rather than as footnotes at the end. Both templates are based on {{Sidenote}}.
These templates are compatible with dynamic layouts. Thus, the way notes are rendered in mainspace partly depends on the layout. Index-based CSS can also be used to target the sidenotes using the টেমপ্লেট:CSS class.
Usage
সম্পাদনাUsage is as follows:
- In the Page Namespace, {{Sidenotes begin}} should be placed in the header of the page, and {{Sidenotes end}} in the footer, in order to create margins. (Note: these templates will be deprecated in the future, as css style properties will be imported from the index page)
- In the main namespace, these templates are no longer necessary.
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | No | Unused, temporarily retained for access to 2 | — |
2 | No | Width of left and right margin to apply(measured in em values) | 11 |
side | No | Side of page to place a sidenotes column (options: left , right , both ) |
both
|
{{Right sidenote}} is used to create a sidenote appearing to the right of the text.
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | Yes | The text to appear at the right, possibly including wiki markup. | |
2 | No | The css style of the note |
{{Left sidenote}} is used to create a sidenote appearing to the left of the text.
Parameter | Mandatory | Definition | Default |
---|---|---|---|
1 | Yes | The text to appear at the left, possibly including wiki markup. | |
2 | No | The css style of the note |
Example:
- The Solar System/Chapter 1 (try the different layouts to check how notes are rendered in each of them)
Tracking categories
সম্পাদনা- Category:Sidenotes begin with override width: if {{sidenotes begin}} used with a width
বিবরণ নেই।
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
1 | 1 | Text of the side-note to apply. | অজানা | প্রয়োজনীয় |
2 | 2 | Additional CSS styles to apply to sidenote | অজানা | ঐচ্ছিক |
class | class | CSS class to apply to sidenote | অজানা | ঐচ্ছিক |
size | size | Font sizing of the sidenote (CSS Units) | অজানা | ঐচ্ছিক |
height | height | Line height of sidenote (CSS units) | স্ট্রিং | ঐচ্ছিক |
alignment | align | Text alignment of the sidenote.
| অজানা | ঐচ্ছিক |
side | side | Which side of the page the sidenote is on.
| অজানা | ঐচ্ছিক |
demospace | demospace | For testing purposes, the namespace.
| অজানা | ঐচ্ছিক |
উপরোক্ত নথিটি টেমপ্লেট:Sidenote/doc থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। এই টেমপ্লেটের উপপাতাসমূহ। |