Difference between revisions of "Template:Collapsed2/doc"

From Help Wiki
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[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.  
+
[[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.  
 
<div>
 
<div>
 
'''Example:''' [[WordPress Tutorial for blogs.evergreen.edu]]
 
'''Example:''' [[WordPress Tutorial for blogs.evergreen.edu]]
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 the content that is included in the collapsed section.
;2:Content that is embedded into the page
+
;2: Text, links, pictures etc... that make up the content of the collapsed section.
  
  
 
[[category:Template Documentation Pages]]
 
[[category:Template Documentation Pages]]

Latest revision as of 17:54, 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 the content that is included in the collapsed section.
2
Text, links, pictures etc... that make up the content of the collapsed section.