Difference between revisions of "Template:Grammar Box"
Line 3: | Line 3: | ||
<ul class="ibox-list"> | <ul class="ibox-list"> | ||
<li class="ibox-level-cefr-hsk clearfix"> | <li class="ibox-level-cefr-hsk clearfix"> | ||
+ | {{#arraydefine: LEVELS.array | {{#show: {{PAGENAME}} | ?HSK}} | , | sort=asc, unique}} | ||
<div class="ibox-label">Level</div> | <div class="ibox-label">Level</div> | ||
− | <div class="ibox-info"><span style="font-size: 1.4em;">[[{{#show: {{PAGENAME}} | ?level}} grammar points | {{#show: {{PAGENAME}} | ?level}}]]</span> / <span style="font-size:0.75em;"> | + | <div class="ibox-info"><span style="font-size: 1.4em;">[[{{#show: {{PAGENAME}} | ?level}} grammar points | {{#show: {{PAGENAME}} | ?level}}]]</span> / <span style="font-size:0.75em;">{{#arrayprint:LEVELS.array||@@@@|[[@@@@_grammar_points|@@@@]]|print=pretty }}</span></div> |
</li> | </li> | ||
<li class="ibox-level clearfix" style="display:none"> | <li class="ibox-level clearfix" style="display:none"> |