「テンプレート:Main other」の版間の差分
提供: Yourpedia
								
												
				|  (iqKAKTjjoGBanuRa) | 藤原朝臣二川藤太郎光綱 (トーク | 投稿記録)  | ||
| 1行目: | 1行目: | ||
| − | + | {{#switch: | |
| + |   <!--If no or empty "demospace" parameter then detect namespace--> | ||
| + |   {{#if:{{{demospace|}}}  | ||
| + |   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"--> | ||
| + |   | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | ||
| + |     | main | ||
| + |     | other | ||
| + |     }}  | ||
| + |   }} | ||
| + | | main     = {{{1|}}} | ||
| + | | other | ||
| + | | #default = {{{2|}}} | ||
| + | }}<!--End switch--><noinclude> | ||
| + | {{Documentation}} | ||
| + | </noinclude> | ||
2010年8月12日 (木) 12:22時点における版
{{#switch:
 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}
| main = | other | #default = }}


