Difference between revisions of "Template:WPTutorial/doc"

From Help Wiki
m
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The WPTutorial template is used on the WordPress Tutorial pages and is based on the TwoColumn template.
+
[[Template:WPTutorial]] is used on the WordPress Tutorial pages and is based on the [[Template:TwoColumn]] template but has additional sidebar content to make it more navigable within the context of stepping through the WordPress Tutorial.
 +
<div>
 +
'''Example''': [[Getting Started with WordPress]]
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
Line 10: Line 12:
  
 
===Parameters===
 
===Parameters===
;lead: Page summary provides 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.
+
;lead: 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.
;content: main body content of page
+
;content: Main body content of the page
;sidebar: text and additional nav templates
+
;sidebar: Text and additional navigational templates. Make sure <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
 +
 
  
===Examples===
 
  
  
 
[[category:Template Documentation Pages]]
 
[[category:Template Documentation Pages]]

Latest revision as of 19:20, 21 October 2016

Template:WPTutorial is used on the WordPress Tutorial pages and is based on the Template:TwoColumn template but has additional sidebar content to make it more navigable within the context of stepping through the WordPress Tutorial.

Example: Getting Started with WordPress

Usage

{{WPTutorial
 |lead=text 
 |content=text
 |sidebar=text
}}

Parameters

lead
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.
content
Main body content of the page
sidebar
Text and additional navigational templates. Make sure {{{GetHelp}}} or similar is included to provide next step assistance.