قالب: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}}}.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
term | term 1 | The term to define
| نص | مطلوب |
print-as | print-as 2 | How to display the term on the page | نص | اختياري |
book | book | The title of the Wikibook containing the definition
| اسم الصفحة | اختياري |
namespace | namespace | The namespace containing the definition
| نص | اختياري |