Difference between revisions of "Template:Infobox lexicon"

Line 1: Line 1:
{{Infobox
+
<noinclude>
 +
{{Infobox lexicon
 +
|cat1=n
 +
|def1=nouns
 +
|cat2=v
 +
|def2=verbs}}
 +
</noinclude><includeonly>{{Infobox
 
| title=Lexicon information
 
| title=Lexicon information
 
| above=Stats and definitions
 
| above=Stats and definitions
Line 10: Line 16:
 
| label2=Number undefined
 
| label2=Number undefined
 
| data2=<span class="lex_box_undef">...</span>
 
| data2=<span class="lex_box_undef">...</span>
| header10=Categories
+
| header10={{Infobox | embed=yes
| label11={{{cat1}}}
+
| title=Categories
| data11={{{def1}}}(<span class="lex_box_cat_{{#ifeq:{{{cat1}}}|#|number|{{{cat1}}}}}"></span>)
+
| bodystyle=min-width:100%; padding: 0 auto;
| label12={{{cat2|}}}
+
| labelstyle=text-align: right; padding-right: 0.75em;
| data12={{#if:{{{cat2|}}}|{{{def2|}}}(<span class="lex_box_cat_{{{cat2}}}"></span>)}}
+
| datastyle=text-align: left; padding-left: 0.75em;
| label13={{{cat3|}}}
+
| label1={{{cat1}}}
| data13={{#if:{{{cat3|}}}|{{{def3|}}}(<span class="lex_box_cat_{{{cat3}}}"></span>)}}
+
| data1={{{def1}}}(<span class="lex_box_cat_{{#ifeq:{{{cat1}}}|#|number|{{{cat1}}}}}"></span>)
| label14={{{cat4|}}}
+
| label2={{{cat2|}}}
| data14={{#if:{{{cat4|}}}|{{{def4|}}}(<span class="lex_box_cat_{{{cat4}}}"></span>)}}
+
| data2={{#if:{{{cat2|}}}|{{{def2|}}}(<span class="lex_box_cat_{{{cat2}}}"></span>)}}
| label15={{{cat5|}}}
+
| label3={{{cat3|}}}
| data15={{#if:{{{cat5|}}}|{{{def5|}}}(<span class="lex_box_cat_{{{cat5}}}"></span>)}}
+
| data3={{#if:{{{cat3|}}}|{{{def3|}}}(<span class="lex_box_cat_{{{cat3}}}"></span>)}}
| label16={{{cat6|}}}
+
| label4={{{cat4|}}}
| data16={{#if:{{{cat6|}}}|{{{def6|}}}(<span class="lex_box_cat_{{{cat6}}}"></span>)}}
+
| data4={{#if:{{{cat4|}}}|{{{def4|}}}(<span class="lex_box_cat_{{{cat4}}}"></span>)}}
| label17={{{cat7|}}}
+
| label5={{{cat5|}}}
| data17={{#if:{{{cat7|}}}|{{{def7|}}}(<span class="lex_box_cat_{{{cat7}}}"></span>)}}
+
| data5={{#if:{{{cat5|}}}|{{{def5|}}}(<span class="lex_box_cat_{{{cat5}}}"></span>)}}
| label18={{{cat8|}}}
+
| label6={{{cat6|}}}
| data18={{#if:{{{cat8|}}}|{{{def8|}}}(<span class="lex_box_cat_{{{cat8}}}"></span>)}}
+
| data6={{#if:{{{cat6|}}}|{{{def6|}}}(<span class="lex_box_cat_{{{cat6}}}"></span>)}}
| label19={{{cat9|}}}
+
| label7={{{cat7|}}}
| data19={{#if:{{{cat9|}}}|{{{def9|}}}(<span class="lex_box_cat_{{{cat9}}}"></span>)}}
+
| data7={{#if:{{{cat7|}}}|{{{def7|}}}(<span class="lex_box_cat_{{{cat7}}}"></span>)}}
| label20={{{cat10|}}}
+
| label8={{{cat8|}}}
| data20={{#if:{{{cat10|}}}|{{{def10|}}}(<span class="lex_box_cat_{{{cat10}}}"></span>)}}
+
| data8={{#if:{{{cat8|}}}|{{{def8|}}}(<span class="lex_box_cat_{{{cat8}}}"></span>)}}
 +
| label9={{{cat9|}}}
 +
| data9={{#if:{{{cat9|}}}|{{{def9|}}}(<span class="lex_box_cat_{{{cat9}}}"></span>)}}
 +
| label10={{{cat10|}}}
 +
| data10={{#if:{{{cat10|}}}|{{{def10|}}}(<span class="lex_box_cat_{{{cat10}}}"></span>)}}
 
}}
 
}}
 +
}}</includeonly>

Revision as of 23:51, 4 April 2017

Lexicon information
Stats and definitions
Number of words ...
Number undefined ...
Categories
n nouns()
v verbs()