Difference between revisions of "Template:Advertising"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Created page with "{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}|<!--then-->{{#widget:AdCourseEn}}|<!--else-->{{#widget:AdSenseBlock}}}}")
 
(Tweak advertising block)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}|<!--then-->{{#widget:AdCourseEn}}|<!--else-->{{#widget:AdSenseBlock}}}}
+
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}
 +
  |<!--then EN -->
 +
  {{#ifexpr: {{#time: s }} < 15
 +
    | {{#widget:AdCourseEn}}
 +
    | {{#widget:AdSenseBlock}}
 +
  }}
 +
  |<!--else-->
 +
  {{#switch: {{SUBPAGENAME}}
 +
    | de = {{#widget:AdCourseDe}}
 +
    | fr = {{#widget:AdCourseFr}}
 +
    | ru = {{#widget:AdCourseRu}}
 +
    | {{#widget:AdSenseBlock}}
 +
  }}
 +
}}

Latest revision as of 06:46, 17 May 2017