Difference between revisions of "Template:Basic Grammar"

(Add conditional check for HSK level in basic grammar template)
(Test moving back to direct pattern usage there are some new SMW errors being thrown)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="display:none;">
 
<div style="display:none;">
 
[[is related to character::{{{1}}}| ]][[level::{{{2}}}| ]]
 
[[is related to character::{{{1}}}| ]][[level::{{{2}}}| ]]
{{#if: {{hsk}} | [[HSK::{{{hsk}}}| ]]|
+
{{#if: {{#show: {{PAGENAME}} | ?HSKOverridden}}||
{{#ifeq: {{{2}}} | A1 grammar points | [[HSK::HSK2]] |
+
{{#ifeq: {{{2}}} | A1 | [[HSK::HSK2|:HSK2]] |
{{#ifeq: {{{2}}} | A2 grammar points | [[HSK::HSK3]] |
+
{{#ifeq: {{{2}}} | A2 | [[HSK::HSK3|:HSK3]] |
{{#ifeq: {{{2}}} | B1 grammar points | [[HSK::HSK4]] |
+
{{#ifeq: {{{2}}} | B1 | [[HSK::HSK4|:HSK4]] |
{{#ifeq: {{{2}}} | B2 grammar points | [[HSK::HSK5]] |
+
{{#ifeq: {{{2}}} | B2 | [[HSK::HSK5|:HSK5]] |
{{#ifeq: {{{2}}} | C1 grammar points | [[HSK::HSK6]] | }}
+
{{#ifeq: {{{2}}} | C1 | [[HSK::HSK6|:HSK6]] | [[HSK::INVALID|:INVALID]]}}
 
}} }} }} }} }}
 
}} }} }} }} }}
[[{{P|{{{3}}}}}[[example::{{{4}}}| ]][[is page type::{{{5}}}| ]][[has hash::{{{6}}}| ]]
+
[[pattern::{{{3}}}| ]][[example::{{{4}}}| ]][[is page type::{{{5}}}| ]][[has hash::{{{6}}}| ]]
 
{{#seo:keywords={{SEO Keywords}}|description={{SEO Description}}}}
 
{{#seo:keywords={{SEO Keywords}}|description={{SEO Description}}}}
 
[[Category:{{{2}}} grammar points]]
 
[[Category:{{{2}}} grammar points]]
 
</div>
 
</div>

Latest revision as of 18:38, 3 October 2019

INVALID


[[Category:{{{2}}} grammar points]]