Difference between revisions of "Template:Collapsed2/doc"

From Help Wiki
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Collapsed2
 
{{Collapsed2
  |1=Leading Text
+
  |1=Title Text
  |2= Secondary Text
+
  |2= Content
 
}}
 
}}
 
</pre>
 
</pre>
  
 
===Parameters===
 
===Parameters===
;1: A few words to sum up what is embedded into the page  
+
;1: A few words to title what is embedded into the page  
 
;2: Content that is embedded into the page  
 
;2: Content that is embedded into the page  
  
  
 
[[category:Template Documentation Pages]]
 
[[category:Template Documentation Pages]]

Revision as of 17:19, 19 October 2016

Template:Collapsed2 Is used to create collapsible sections for a page. It can be used within other templates. For example the page WordPress Tutorial for sites.evergreen.edu uses the Template:WPTutorial but includes the Collapsed2 template to organize it's content.

Example: WordPress Tutorial for blogs.evergreen.edu

Usage

{{Collapsed2
 |1=Title Text
 |2= Content
}}

Parameters

1
A few words to title what is embedded into the page
2
Content that is embedded into the page