Difference between revisions of "Template:Include"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Include template)
 
(fix output format)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
     |
 
     |
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
         | {{#dpl:titlematch={{{1}}}|includeonly=*}}
+
         | {{#dpl:titlematch={{{1}}}|include=*|format=,}}
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|includeonly=*}}
+
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|include=*|format=,}}
 
         }}
 
         }}
 
     | {{{1}}}
 
     | {{{1}}}

Latest revision as of 12:05, 7 September 2009

This template allows to include content of one page into another. Usage:

{{Include|PageName}}

Content of PageName will be included to current page.

This template can't be used for pages in pseudo-namespace such as Media, Special.