Difference between revisions of "Template:Include"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Include template)
 
(includeonly -> include)
Line 4: Line 4:
 
     |
 
     |
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
         | {{#dpl:titlematch={{{1}}}|includeonly=*}}
+
         | {{#dpl:titlematch={{{1}}}|include=*}}
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|includeonly=*}}
+
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|include=*}}
 
         }}
 
         }}
 
     | {{{1}}}
 
     | {{{1}}}

Revision as of 12:04, 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.