Difference between revisions of "Template:WPTutorial/doc"

From Help Wiki
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Template:WPTutorial]] is used on the WordPress Tutorial pages and is based on the [[Template: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 11: Line 13:
 
===Parameters===
 
===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.
 
;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
+
;content: Main body content of the page
;sidebar: text and additional navigational templates. Make sure <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
+
;sidebar: Text and additional navigational templates. Make sure <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
  
  

Latest revision as of 18: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.