Difference between revisions of "Template:Infobox lexicon"

 
(3 intermediate revisions by the same user not shown)
Line 102: Line 102:
 
}}
 
}}
 
| header20={{Infobox | embed = yes
 
| header20={{Infobox | embed = yes
| bodyclass=infobox_lexicon_sort
+
| bodyclass=infobox_lexicon_button
 
| bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em;
 
| bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em;
 
| headerstyle=font-weight: normal;
 
| headerstyle=font-weight: normal;
 
| header1=Hit this button to update the totals above when you load a new batch of words.
 
| header1=Hit this button to update the totals above when you load a new batch of words.
| header2={{#tag:localtag|Recalculate|jsbutton=calculateInfo()}}
+
| header2={{#tag:localtag|Recalculate|jsbuttonCalculateInfo=}}
 
}}
 
}}
 
| header30={{Infobox | embed = yes
 
| header30={{Infobox | embed = yes
| bodyclass=infobox_lexicon_sort
+
| bodyclass=infobox_lexicon_button infobox_lexicon_sortbutton
 
| bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em;
 
| bodystyle=width:100%; border-top: 1px dotted #bbb; padding-top: 1em;
 
| headerstyle=font-weight: normal;
 
| headerstyle=font-weight: normal;
| header1=Note that making the lexicon sortable will remove the option to load more words into the lexicon.
+
| header1=Note that making the lexicon sortable will remove the ability to load more words into the lexicon.
| header2={{#tag:localtag|Make Lexicon Sortable|jsbutton=doApplySort()}}
+
| header2={{#tag:localtag|Make Lexicon Sortable|jsbuttonDoApplySort=}}
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 07:22, 22 May 2018

Info at a Glance
Number of words ...
Total derivations ...
Total undefined ...
Total uncategorized ...
Waiting to be created ...
Categories
n nouns ()
v verbs ()
Hit this button to update the totals above when you load a new batch of words.
Recalculate
Note that making the lexicon sortable will remove the ability to load more words into the lexicon.
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. (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)