Difference between revisions of "Template:Advertising"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Random)
(Language-specific ads)
Line 1: Line 1:
 
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}
 
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}
   |<!--then-->
+
   |<!--then EN -->
 
   {{#ifexpr: {{#time: s }} > 30  
 
   {{#ifexpr: {{#time: s }} > 30  
 
     | {{#widget:AdCourseEn}}
 
     | {{#widget:AdCourseEn}}
 
     | {{#widget:AdSenseBlock}}
 
     | {{#widget:AdSenseBlock}}
 
   }}
 
   }}
   |<!--else-->{{#widget:AdSenseBlock}}}}
+
   |<!--else-->
 +
  {{#switch: {{SUBPAGENAME}}
 +
    | de = {{#widget:AdCourseDe}}
 +
    | fr = {{#widget:AdCourseFr}}
 +
    | ru = {{#widget:AdCourseRu}}
 +
    | {{#widget:AdSenseBlock}}
 +
  }}
 +
}}

Revision as of 10:56, 16 December 2016