Test2

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
-
{{#vardefine:test|
+
{{ #vardefine:cpag|hogehoge
 +
}}{{#vardefine:mpag|{{#show:{{#var:cpag}}|?docinfo master page#}}
 +
}}{{#switch:{{{show|}}}
 +
|<!-- BLANK -->
 +
|all
 +
|title={{#vardefine:title|{{#show:{{#var:cpag}}|?book title}}
 +
}}{{#if:{{#var:title}}
 +
|<!-- IS BLANK THEN -->
 +
|{{#if:{{#var:mpag}}|{{#vardefine:title|{{#show:{{#var:mpag}}|?book title}} }} }}
 +
}}{{#if:{{#var:title}}
 +
|<!-- IS BLANK THEN -->
 +
|{{#vardefine:title|{{PAGENAME:{{#var:cpag}} }} }}
 +
}}
}}
}}
-
 
-
--{{#var:test}}--
 

Revision as of 08:08, 23 April 2011

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox