Difference between revisions of "Template:Flatten"

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

Revision as of 03:30, 19 February 2013

Error

[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. An [edit] link is added because the section edit link would cause an edit of the flat html page rather than the specific page as a section of flat html. 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>}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox