Difference between revisions of "Template:Collapsed2/doc"

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

Revision as of 15:54, 19 October 2016

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

Example: WordPress Tutorial for blogs.evergreen.edu

Usage

{{Collapsed2
 |lead=Leading Text
 |content= Secondary Text
}}

Parameters

lead
A few words to sum up what is embedded into the page
content
Content that is embedded into the page