Difference between revisions of "Template:NavFrame"
From James Dooley's Wiki
(Created page with "<includeonly> <div class="NavFrame {{#if:{{{collapse}}}||collapsed}} {{{frameClass|}}}" style="{{{frameStyle|}}}"> <div class="NavHead {{{headClass|}}}" style="{{{headStyle|...") |
(No difference)
|
Revision as of 13:08, 8 April 2015
Usage
General usage layout is:
{{NavFrame
|head=Text displayed in the header
|content=Text displayed in the content area
Multiple lines are allowed.
|collapse Automatically collapse the content area
|[frame|head|content]Class= CSS class for a specific element
|[frame|head|content]Style= CSS style for a specific element
}}
Example
{{NavFrame
|head=Text displayed in the header
|content=Text displayed in the content area
Multiple lines are allowed.
}}
Text displayed in the header
Text displayed in the content area
Multiple lines are allowed.
Collapsed
{{NavFrame
|head=Text displayed in the header
|content=Text displayed in the content area
Multiple lines are allowed.
|collapse
}}
Text displayed in the header
Text displayed in the content area
Multiple lines are allowed.