Difference between revisions of "Template:CGscriptParameters Template"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{#switch: {{{Type}}}
 
{{#switch: {{{Type}}}
 
<!--You can put any text formatting for each Type-->
 
<!--You can put any text formatting for each Type-->
 
  
 
|array = <span style="color:#100DEE;">Array</span>
 
|array = <span style="color:#100DEE;">Array</span>
Line 12: Line 11:
 
|AnyType  = <span style="color:#100DEE;">AnyType</span>
 
|AnyType  = <span style="color:#100DEE;">AnyType</span>
 
<!--below is default setting-->
 
<!--below is default setting-->
 
  
 
|{{{Type|}}}
 
|{{{Type|}}}
}}  
+
}}
{{#ifeq {{{Name|}}} | params AnyType | | ({{{Name|}}}) }}  
+
{{#ifeq {{{Name|}}} | params AnyType | | {{{Name|}}} }}  
 
{{#if {{{Description|}}} | ({{{Description|}}}) | }}
 
{{#if {{{Description|}}} | ({{{Description|}}}) | }}
{{{Comma|}}}
+
{{{Comma|}}}<nowiki> </nowiki>

Revision as of 11:07, 21 September 2011

{{#ifeq | params AnyType | | }} {{#if | () | }}