Difference between revisions of "Template:Ifexist subpage"

From blackwiki
Jump to navigation Jump to search
imported>Michael Anon
(Added start of comment to collapse templates for nonexistent subpages)
imported>Michael Anon
(Undid revision 512458299 by Michael Anon (talk) – the comment start prevents the template from functioning correctly)
Line 2: Line 2:
 
{{../box-header|{{SUBPAGENAME}} {{{1}}} | {{FULLPAGENAME}}/{{{1}}} }}
 
{{../box-header|{{SUBPAGENAME}} {{{1}}} | {{FULLPAGENAME}}/{{{1}}} }}
 
{{ {{FULLPAGENAME}}/{{{1}}} }}
 
{{ {{FULLPAGENAME}}/{{{1}}} }}
{{../box-footer|}} |}} |<!--}}
+
{{../box-footer|}} |}} |}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:44, 14 September 2012


Template documentation[view] [edit] [history] [purge]

Usage

{{Subpage | <subpagename>}} 
for example: {{subpage |November 2006}} {{Subpage | 1}}

This will output a box on this page containing the contents of the subpage if the subpage exists.

Typical usage

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates