Difference between revisions of "Template:Flatten"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
 
 
=<span style="color: #FF6600;">{{{custompagetitle|{{{1|Error}}}}}}</span>=
 
=<span style="color: #FF6600;">{{{custompagetitle|{{{1|Error}}}}}}</span>=
 
<nowiki>[</nowiki>[{{fullurl:{{{1|}}}|action=edit}} edit]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[{{fullurl:{{{1|}}}|action=edit}} edit]<nowiki>]</nowiki>
 
+
<includeonly>
 
{{:{{{1|error}}}}}
 
{{:{{{1|error}}}}}
 
</includeonly>
 
</includeonly>

Revision as of 01:29, 15 April 2012

Error

[[[[:Template:Fullurl:]] edit]]


Description

This template is used in conjunction with the flat html page. This assumes local links. An alternative page name is an option with the custompagename variable assignment. This causes the content of the named page to be transcluded under an orange header (to distinguish from subheaders and consequently standard pages) for the page name or the custom name if provided. Below may be pasted into a page with minor modifications to define what will become the header and transcluded content. Missing or malformed page title info defaults to an Error as shown above. Text ought to be formatted with desired capitalization.

Usage

{{flatten|<name of the page>|custompagename=<custom page name>}}