قالب:Define

من أخبار المعرفة

Definitions can be found in either {{{namespace}}}:{{{book}}}/Glossary:{{{term|{{{1}}}}}} or in a labeled section (like <section begin=term />definition<section end=term />) in {{{namespace}}}:{{{book}}}/Glossary{{{term|{{{1}}}}}}

If both exist, the definition on a standalone page ({{{namespace}}}:{{{book}}}/Glossary:{{{term}}}) will be the one used.

Examples

standalone definition page

{{define|term=example term|namespace=User|book=shnizzedy/sandbox}} with definition at User:Shnizzedy/sandbox/Glossary:example_term generates === Usage === This template sets a title on given text.

Code:

{{H:title|title text|visible text}}

will result in:

تم كشف حلقة قالب: قالب:H:title

labeled definition section

{{define|term=example|namespace=User|book=shnizzedy/sandbox}} with definition at User:Shnizzedy/sandbox/Glossary#example generates === Usage === This template sets a title on given text.

Code:

{{H:title|title text|visible text}}

will result in:

تم كشف حلقة قالب: قالب:H:title

another book

{{define|term=Computer|print-as=computer|namespace=Main|book=CACS}} with definition at CACS/Glossary/Computer generates === Usage === This template sets a title on given text.

Code:

{{H:title|title text|visible text}}

will result in:

تم كشف حلقة قالب: قالب:H:title

positional arguments

{{define|Computer|computer|namespace=Main|book=CACS}} with definition at CACS/Glossary/Computer generates === Usage === This template sets a title on given text.

Code:

{{H:title|title text|visible text}}

will result in:

تم كشف حلقة قالب: قالب:H:title

Hovertext for a definition for a given term in a given book. Requires a definition to exist in {{{namespace}}}:{{{book}}}.

وسائط القالب

وسيطوصفنوعحالة
termterm 1

The term to define

مثال
peak height
نصمطلوب
print-asprint-as 2

How to display the term on the page

نصاختياري
bookbook

The title of the Wikibook containing the definition

غيابي
the current {{ROOTPAGENAME}}
مثال
Neuroimaging_Data_Processing
اسم الصفحةاختياري
namespacenamespace

The namespace containing the definition

غيابي
the current {{NAMESPACE}}
نصاختياري