Difference between revisions of "Template:Include"

From Synfig Studio :: Documentation
Jump to: navigation, search
(includeonly -> include)
(fix output format)
 
Line 4: Line 4:
 
     |
 
     |
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
         {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
         | {{#dpl:titlematch={{{1}}}|include=*}}
+
         | {{#dpl:titlematch={{{1}}}|include=*|format=,}}
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|include=*}}
+
         | {{#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.