Difference between revisions of "Template:Infobox lexicon"
Line 25: | Line 25: | ||
Hides the ''Total uncategorized'' line. | Hides the ''Total uncategorized'' line. | ||
+ | |||
+ | <pre>|hideuncr=yes</pre> | ||
+ | |||
+ | Hides the ''Waiting to be created'' line. | ||
</noinclude><includeonly>{{Infobox | </noinclude><includeonly>{{Infobox | ||
Line 38: | Line 42: | ||
| label3={{#if:{{{hideuncat|}}}||Total uncategorized}} | | label3={{#if:{{{hideuncat|}}}||Total uncategorized}} | ||
| data3={{#if:{{{hideuncat|}}}||<span class="lex_box_uncat">...</span>}} | | data3={{#if:{{{hideuncat|}}}||<span class="lex_box_uncat">...</span>}} | ||
+ | | label4={{#if:{{{hideuncr|}}}||Waiting to be created}} | ||
+ | | data4={{#if:{{{hideuncr|}}}||<span class="lex_box_uncr">...</span>}} | ||
| header10={{Infobox | embed=yes | | header10={{Infobox | embed=yes | ||
| title=Categories | | title=Categories |
Revision as of 00:50, 9 April 2017
Number of words | ... | ||||
---|---|---|---|---|---|
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 three lines will be replaced by the amount of words in the lexicon, 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:
|hideundef=yes
Hides the Total undefined line.
|hideuncat=yes
Hides the Total uncategorized line.
|hideuncr=yes
Hides the Waiting to be created line.