Difference between revisions of "Template:Infobox lexicon"

(Sortable on demand (rather than calculations on demand))
Line 101: Line 101:
 
| bodystyle=width:100%
 
| bodystyle=width:100%
 
| header1=Sorting is disabled on lexicons greater than 200 words. This is in order to save browser processing.
 
| header1=Sorting is disabled on lexicons greater than 200 words. This is in order to save browser processing.
| header2={{#tag:localtag|Make Sortable|jsbutton=doApplySort()}}
+
| headerclass1=font-weight: normal;
 +
| header2={{#tag:localtag|Make Lexicon Sortable|jsbutton=doApplySort()}}
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 04:49, 27 July 2017

Info at a Glance
Number of words ...
Total derivations ...
Total undefined ...
Total uncategorized ...
Waiting to be created ...
Categories
n nouns ()
v verbs ()
Sorting is disabled on lexicons greater than 200 words. This is in order to save browser processing.
Make Lexicon Sortable
{{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.

|hideundef=yes

Hides the Total undefined line.

|hideuncat=yes

Hides the Total uncategorized line.

|hideuncr=yes

Hides the Waiting to be created line.