Difference between revisions of "Template:NavFrame"
From James Dooley's Wiki
| Line 41: | Line 41: | ||
<pre> | <pre> | ||
{{NavFrame | {{NavFrame | ||
| + | |collapse | ||
|head=Text displayed in the header | |head=Text displayed in the header | ||
|content=Text displayed in the content area | |content=Text displayed in the content area | ||
Multiple lines are allowed. | Multiple lines are allowed. | ||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
{{NavFrame | {{NavFrame | ||
| + | |collapse | ||
|head=Text displayed in the header | |head=Text displayed in the header | ||
|content=Text displayed in the content area | |content=Text displayed in the content area | ||
Multiple lines are allowed. | Multiple lines are allowed. | ||
| − | + | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:15, 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
|collapse
|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.