Template:Glossary item/doc View history

(Example - Add fourth, squeeze positionals to one line)
(Revert to positionals more readable (with whitespace) now that Trim is added to template)
Line 21: Line 21:


{{Para||<3rd abbreviation/alias>}}
{{Para||<3rd abbreviation/alias>}}
{{Para||<4th abbreviation/alias>}}


{{Para|description}} glossary term description.
{{Para|description}} glossary term description.
Line 34: Line 36:
| Title<br />
| Title<br />
| Entry<br />
| Entry<br />
| Fourth<br/>
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.<br />
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.<br />
|date = 2015-01-25<nowiki>}}</nowiki></code>
|date = 2015-01-25<nowiki>}}</nowiki></code>
Line 42: Line 45:
{{User:PesachZ/Glossary/Glossary item
{{User:PesachZ/Glossary/Glossary item
|term = Entry Title
|term = Entry Title
|ET|Title|Entry|Fourth
| ET
| Title
| Entry
| Fourth
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.
|date = 2015-01-25}}
|date = 2015-01-25}}

Revision as of 15:50, 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 3 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.