সাঁচ:Gloss/doc
অৱয়ব
এয়া হৈছে ‘সাঁচ:Gloss’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
এয়া হৈছে ‘Template:Glossend’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
Usage
[সম্পাদনা কৰক]- The template {{gloss}} is used with {{glossend}} to explicitly bracket a glossary definition list, especially in a structured glossary, although they can be used more generally. This is required for structured glossaries, and is good practice anywhere definition lists are used for glossaries.
- The pair of templates incidentally prevent Wikipedia's MediaWiki software engine from auto-creating redundant definition list code (
<dl>...</dl>
) around terms and definitions if they have blank lines between them, as they often do, especially in non-structured glossaries.
Apply CSS styles to the glossary
[সম্পাদনা কৰক]The |style=
parameter will pass CSS styling on to the <dl>
element. I.e., this styles the definition list itself, as a container, not the individual terms and definitions with it. There is rarely any reason to do this.
Examples
[সম্পাদনা কৰক]This shows both a very simple and a rather complex instance in a structured glossary:
|
|
See also
[সম্পাদনা কৰক]- {{gloss}} – The other half of this template pair; uses
<dl>
with a class to open the structured glossary definition list that {{glossend}} closes. - {{glossend}} – The other half of this template pair; uses
</dl>
to close the structured glossary definition list that {{gloss}} opens. - {{term}} – The glossary term to which the {{defn}} definition applies; a customized
<dt>
with a class and an embedded<dfn>
. - {{defn}} – The definition that applies to the {{term}}; uses
<dd>
with a class - WP:Manual of Style (glossaries)