Difference between revisions of "WPTemplate/doc"

From Help Wiki
(Created page with "WPTemplate Is used on pages that provide information about WordPress that are not included in WPTutorial. It is based on the Template:TwoColumn but like the WPTuto...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[WPTemplate]] Is used on pages that provide information about WordPress that are not included in [[WPTutorial]]. It is based on the [[Template:TwoColumn]] but like the WPTutorial template provides more room for sidebar content.
+
[[Template:WPdocs]] is used on pages that provide information about WordPress that are not included in WordPress tutorial pages. The [[Template:WPdocs]] uses named perameters like the [[Template:TwoColumn]]
 
+
<div>
+
 
'''Example:''' [[Embed Enhanced or Video Podcast - Wordpress]]
 
'''Example:''' [[Embed Enhanced or Video Podcast - Wordpress]]
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
 
{{WPTemplate
 
{{WPTemplate
  |1=Leading; Text
+
  |1=Leading;Text
 
  |2=Content;Text
 
  |2=Content;Text
  |3=Sidebar; Text  
+
  |3=Sidebar;Text  
 
}}
 
}}
 
</pre>
 
</pre>
Line 14: Line 12:
 
===Parameters===
 
===Parameters===
 
;1: Leading: Page summary provides a succinct description of what this page is about. Could be two lines worth but shorter is better. Adding an application's icon as a small image can also help orient readers.
 
;1: Leading: Page summary provides a succinct description of what this page is about. Could be two lines worth but shorter is better. Adding an application's icon as a small image can also help orient readers.
;2: Content: Main body content of the page
+
;2: Content: Main body content of the page.
 
;3: Sidebar: Text and additional navigational templates. Make sure <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
 
;3: Sidebar: Text and additional navigational templates. Make sure <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
  
  
 
[[category:Template Documentation Pages]]
 
[[category:Template Documentation Pages]]

Latest revision as of 14:47, 25 October 2016

Template:WPdocs is used on pages that provide information about WordPress that are not included in WordPress tutorial pages. The Template:WPdocs uses named perameters like the Template:TwoColumn Example: Embed Enhanced or Video Podcast - Wordpress

Usage

{{WPTemplate
 |1=Leading;Text
 |2=Content;Text
 |3=Sidebar;Text 
}}

Parameters

1
Leading: Page summary provides a succinct description of what this page is about. Could be two lines worth but shorter is better. Adding an application's icon as a small image can also help orient readers.
2
Content: Main body content of the page.
3
Sidebar: Text and additional navigational templates. Make sure {{{GetHelp}}} or similar is included to provide next step assistance.