m (→Parameters: *) |
m (→Example: noanchor and non-display anchor) |
||
Line 51: | Line 51: | ||
| Fourth<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 /> | ||
|updated = 2015-01-25<nowiki>}}</nowiki></code> | |updated = 2015-01-25<br /> | ||
|added = 2014-02-13<nowiki>}}</nowiki></code> | |||
Produces ↓ | Produces ↓ | ||
{| | {| class="wikitable sortable" border="1" | ||
!colspan="5"|<font size="5">Waze Glossary</font><br>(With sortable entries!) | |||
|- | |||
!Glossary Term!!Abbreviation / Acronym!!class="unsortable"|Description!!width="10" data-sort-type="isoDate"|<small>Date Updated<br /> | |||
Date Added</small> | |||
{{User:PesachZ/Glossary/Glossary item | {{User:PesachZ/Glossary/Glossary item | ||
|term = Entry Title | |term = Entry Title | ||
Line 63: | Line 68: | ||
| Fourth | | 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. | ||
|updated = 2015-01-25}} | |updated = 2015-01-25 | ||
|added = 2014-02-13}} | |||
|} | |} | ||
---- | |||
<code><nowiki>{{</nowiki>/Glossary item<br /> | |||
|term = Entry title<br /> | |||
| ET<br /> | |||
| Title<br /> | |||
| Entry<br /> | |||
| Fourth<br/> | |||
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.<br /> | |||
|updated = 2015-01-25<br /> | |||
|added = 2014-02-13<br /> | |||
|noanchor = yes<nowiki>}}</nowiki></code> | |||
Produces a table row identical to the one above, but does not include and anchors. This method is great for entries which are actually just aliases lining to other entries. | |||
---- | |||
<code><nowiki>{{</nowiki>/Glossary item<br /> | |||
|term = Entry title<br /> | |||
| ET<br /> | |||
| Title<br /> | |||
| Entry<br /> | |||
| Fourth<br/> | |||
| anchor1 = entry title<br /> | |||
| anchor2 = Entry Title<br /> | |||
| anchor3 = Entry titles<br /> | |||
| anchor4 = Entry Titles<br /> | |||
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.<br /> | |||
|updated = 2015-01-25<br /> | |||
|added = 2014-02-13<nowiki>}}</nowiki></code> | |||
Produces again a table row visually identical to the one above, but this one also includes anchor for four common misspellings of the title. This can be used for backwards compatibility to previous glossary entry anchors. This is also got practice in sober cases to include common spelling variations. | |||
==Future planned modifications== | ==Future planned modifications== |
Revision as of 09:23, 8 February 2015
This is a documentation subpage for . 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 parameters are required. The four abbreviations / aliases, four non displayed anchor names, noanchor, and date added parameters 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, each of the aliases/abbreviations, and each of the specified non-display anchor names as well at the top of the table row.
If you do not want an anchor to be produced for a specific entry row, you can prevent it by specifying the |noanchor=yes
Parameters
A star (*) next a parameter sows it is required for proper use.
|term=
*glossary term
|<abbreviation/alias>
accepts up to 4 abbreviations/aliases as unnamed parameters
|<2nd abbreviation/alias>
|<3rd abbreviation/alias>
|<4th abbreviation/alias>
|anchor1=<non-displayed anchor name>
|anchor2=<second non-displayed anchor name>
|anchor3=<third non-displayed anchor name>
|anchor4=<fourth non-displayed anchor name>
|description=
*glossary term description.
|updated=
*date last updated enter in the YYYY-MM-DD format.
|added=
date first added to the glossary 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.
|updated = 2015-01-25
|added = 2014-02-13}}
Produces ↓
Waze Glossary (With sortable entries!) | ||||
---|---|---|---|---|
Glossary Term | Abbreviation / Acronym | Description | Date Updated Date Added
|
{{/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.
|updated = 2015-01-25
|added = 2014-02-13
|noanchor = yes}}
Produces a table row identical to the one above, but does not include and anchors. This method is great for entries which are actually just aliases lining to other entries.
{{/Glossary item
|term = Entry title
| ET
| Title
| Entry
| Fourth
| anchor1 = entry title
| anchor2 = Entry Title
| anchor3 = Entry titles
| anchor4 = Entry Titles
|desc = Here you put the definition and links to further information I.e. disambiguation pages and articles etc.
|updated = 2015-01-25
|added = 2014-02-13}}
Produces again a table row visually identical to the one above, but this one also includes anchor for four common misspellings of the title. This can be used for backwards compatibility to previous glossary entry anchors. This is also got practice in sober cases to include common spelling variations.
Future planned modifications
- an in page anchor search (pipe dream)