Difference between revisions of "Template:Infobox lexicon"
(7 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
Hides the ''Total derivations'' line. | Hides the ''Total derivations'' line. | ||
+ | (words derived from other words in the lexicon) | ||
<pre>|hideundef=yes</pre> | <pre>|hideundef=yes</pre> | ||
Hides the ''Total undefined'' line. | Hides the ''Total undefined'' line. | ||
+ | (entries in the lexicon without a definition) | ||
<pre>|hideuncat=yes</pre> | <pre>|hideuncat=yes</pre> | ||
Hides the ''Total uncategorized'' line. | Hides the ''Total uncategorized'' line. | ||
+ | (entries in the lexicon without a category) | ||
<pre>|hideuncr=yes</pre> | <pre>|hideuncr=yes</pre> | ||
Hides the ''Waiting to be created'' line. | Hides the ''Waiting to be created'' line. | ||
+ | (entries in the lexicon where a category and/or definition exists, but no word) | ||
</noinclude><includeonly>{{Infobox | </noinclude><includeonly>{{Infobox | ||
Line 98: | Line 102: | ||
}} | }} | ||
| header20={{Infobox | embed = yes | | header20={{Infobox | embed = yes | ||
− | | bodyclass= | + | | bodyclass=infobox_lexicon_button |
− | | bodystyle=width:100% | + | | bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em; |
| headerstyle=font-weight: normal; | | headerstyle=font-weight: normal; | ||
− | | header1= | + | | header1=Hit this button to update the totals above when you load a new batch of words. |
− | | header2={{#tag:localtag|Make Lexicon Sortable| | + | | header2={{#tag:localtag|Recalculate|jsbuttonCalculateInfo=}} |
+ | }} | ||
+ | | header30={{Infobox | embed = yes | ||
+ | | bodyclass=infobox_lexicon_button infobox_lexicon_sortbutton | ||
+ | | bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em; | ||
+ | | headerstyle=font-weight: normal; | ||
+ | | header1=Note that making the lexicon sortable will remove the ability to load more words into the lexicon. | ||
+ | | header2={{#tag:localtag|Make Lexicon Sortable|jsbuttonDoApplySort=}} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 07:22, 22 May 2018
Number of words | ... | ||||
---|---|---|---|---|---|
Total derivations | ... | ||||
Total undefined | ... | ||||
Total uncategorized | ... | ||||
Waiting to be created | ... | ||||
| |||||
| |||||
|
{{Infobox lexicon |cat1=n |def1=nouns |cat2=v |def2=verbs}}
Accepts cat/def pairs up to 20.
The "..." in the first four lines will be replaced by the amount of words in the lexicon, the number of derivations, the number of undefined words, and the amount of uncategorized words. Similarly, the ()s in the Categories will become (x), where x is the number of words in that category.
Optional parameters:
|hidederiv=yes
Hides the Total derivations line. (words derived from other words in the lexicon)
|hideundef=yes
Hides the Total undefined line. (entries in the lexicon without a definition)
|hideuncat=yes
Hides the Total uncategorized line. (entries in the lexicon without a category)
|hideuncr=yes
Hides the Waiting to be created line. (entries in the lexicon where a category and/or definition exists, but no word)