الاستخدام عدل

The template {{مسرد}} is used with {{glossend}} to explicitly bracket a glossary definition list. Prevents ميدياويكي from auto-creating redundant definintion lists (<dl>...</dl>) around terms and definitions if they have blank lines between them, as they often do.

مثال في مقالة قائمة مسرد:

==أ==
{{مسرد}}
{{term|applesnorkel}}
:Definition of term 1.

{{term|''arglefarst''{{أنجر|argle-farst|argle farst}}|arglefarst}}
:<p>Part of first definition of term 2</p><p>More of first definition of term 2.</p>
:Second definition of term 2.
{{glossend}}


مثال في مقالة مسرد ، الذي يجب أن لا يستخدم قالب {{term}} :

==Glossary of underwater basketweaving terms==
{{مسرد}}
;applesnorkel{{أنجر|applesnorkel}}
:Definition of term 1.

;''arglefarst''{{أنجر|arglefarst|argle-farst|argle farst}}
:<p>Part of first definition of term 2</p><p>More of first definition of term 2.</p>
:Second definition of term 2.
{{glossend}}


شاهد أيضا عدل

  • {{مسرد}} – The other half of this template pair; uses <dl> with a class to open the definition list that {{glossend}} closes.
  • {{glossend}} – The other half of this template pair; uses </dl> to close the definition list that {{مسرد}} opens.
  • {{term}} – a customized <dt> for terms to be defined in glossary list articles (as opposed to in-article glossaries, which just use ; prepended to the term.