Difference between revisions of "Template:WPTutorial/doc"

From Help Wiki
m (Parameters)
m (Parameters)
Line 10: Line 10:
  
 
===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 navigational templates. Make sure the <pre>{{{GetHelp}}}</pre> or similar is include to proved next step assistance.
+
;sidebar: text and additional navigational templates. Make sure the <nowiki>{{{GetHelp}}}</nowiki> or similar is included to provide next step assistance.
  
 
===Examples===
 
===Examples===

Revision as of 12:06, 14 October 2016

The WPTutorial template is used on the WordPress Tutorial pages and is based on the TwoColumn template.

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 the {{{GetHelp}}} or similar is included to provide next step assistance.

Examples