Jump to content

User:Mathglot/sandbox/Templates/Brazil glossary term/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

The default behavior of this template is to display a boxed string "The OCW Glossary has an entry for" with a link to the entry at Draft:OCW-G with the same name as the Wikipedia page on which it appears.

This template takes up to two optional parameters which will alter the expression used to link to the Glossary.

  • {{Brazil glossary term |alternative term link |different display text, if desired}}

Examples

[edit]

1. {{Brazil glossary term |1=Prisão preventiva |2=prisão preventiva}}

produces:

2. {{Brazil glossary term |1=False accusation |2=false accusation}}

produces:

3. {{Draft:OCW Glossary term |Mandado de busca|mandado de busca}}

produces:

Limitations

[edit]

[] - square brackets

[edit]
  • You cannot use square brackets ("[" and "]") in the first parameter.

To resolve this use "[" and "]" instead:

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Mathglot/sandbox/Templates/Brazil glossary term in articles based on its TemplateData.

TemplateData for Mathglot/sandbox/Templates/Brazil glossary term

Creates a small box with links to an entry at Wikipedia:Glossary.

Template parameters

ParameterDescriptionTypeStatus
Entry name1

The name of the expression in the Glossary. The article's page name is used as a default. Square brackets <code>&#91;</code> and <code>&#93;</code> need to be coded as <code>&amp;#91;</code> and <code>&amp;#93;</code> instead.

Stringoptional
Displayed name2

Optional displayed link text.

Stringoptional

See also

[edit]