Difference between revisions of "Template:Infobox lexicon"

Line 28: Line 28:
 
</noinclude><includeonly>{{Infobox
 
</noinclude><includeonly>{{Infobox
 
| title=Info at a Glance
 
| title=Info at a Glance
| bodystyle=font-size: 0.75em; border: 1px solid #222; background: #eee; float: right;
+
| bodyclass=infobox_lexicon
 
| titlestyle=font-size: 1.4em;
 
| titlestyle=font-size: 1.4em;
 
| labelstyle=text-align:right; padding-right: 0.75em;
 
| labelstyle=text-align:right; padding-right: 0.75em;
Line 41: Line 41:
 
| title=Categories
 
| title=Categories
 
| titlestyle=font-size: 1.2em;
 
| titlestyle=font-size: 1.2em;
| bodystyle=min-width:100%; padding: 0 auto;
+
| bodyclass=infobox_lexicon_inner
 
| labelstyle=text-align: right; padding-right: 0.75em;
 
| labelstyle=text-align: right; padding-right: 0.75em;
 
| datastyle=text-align: left; padding-left: 0.75em; font-weight: normal;
 
| datastyle=text-align: left; padding-left: 0.75em; font-weight: normal;

Revision as of 00:15, 6 April 2017

Info at a Glance
Number of words ...
Total undefined ...
Total uncategorized ...
Categories
n nouns ()
v verbs ()
{{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.