Template:Glossary item/doc View history

(Revert to positionals more readable (with whitespace) now that Trim is added to template)
m (changed 3 aliases to 4)
Line 16: Line 16:
{{Para|term}} glossary term
{{Para|term}} glossary term


{{Para||<abbreviation/alias>}} accepts up to 3 abbreviations/aliases as unnamed parameters
{{Para||<abbreviation/alias>}} accepts up to 4 abbreviations/aliases as unnamed parameters


{{Para||<2nd abbreviation/alias>}}
{{Para||<2nd abbreviation/alias>}}

Revision as of 18:14, 27 January 2015

This is a documentation subpage for Template:Glossary item.
It contains usage information, categories and other content that is not part of the original template page.

This templates produces an entry for the glossary table. It should be added on a new line in the glossary page.

Add the new term in the correct place in the glossary by alphabetical order sorted by the term name.

Leave an empty line between each entry template.

The template has three required parameters, and the optional parameters. The term, description, and date last updated are required. The three abbreviations / aliases are optional.

The template will produce a table row with the aliases in the second column separate by commas. It will also add an {{anchor}} for the term name, and each of the aliases/abbreviations as well at the top of the table row.


Parameters

|term= glossary term

|<abbreviation/alias> accepts up to 4 abbreviations/aliases as unnamed parameters

|<2nd abbreviation/alias>

|<3rd abbreviation/alias>

|<4th abbreviation/alias>

|description= glossary term description.

|date= date last updated enter in the YYYY-MM-DD format.


Example

{{/Glossary item
|term = Entry Title
| ET
| Title
| Entry
| Fourth
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.
|date = 2015-01-25}}


Produces ↓

Entry Title ET, Title, Entry, Fourth Here you put the definition and links to further information I.e. disambiguation pages and articles etc.