{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}

| main = | other | #default = }}