From WikiChip
Difference between revisions of "Template:Guide/Doc"
< Template:Guide

(Created page with "{{Template doc |description = This template should be used in all user pages. |usage = <nowiki>{{Guide |name = template name |header = header name ...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Template doc
 
{{Template doc
|description    = This template should be used in all user pages.
+
|description    = This template should be used for all guide-like templates.
 
|usage          = <nowiki>{{Guide
 
|usage          = <nowiki>{{Guide
 
|name        = template name
 
|name        = template name
Line 9: Line 9:
 
<pre>
 
<pre>
 
{{Guide
 
{{Guide
|name        = template name
+
|name        = example guide
|header      = header name
+
|header      = Foo Programming Language
|body        = navigation content
+
|body        =  
 +
{{guide header|Intro}}
 +
:* [[Main Page|Intro to Foo]]
 +
:* [[Main Page|Foo's structure]]
 +
{{guide header|Basics}}
 +
:* [[Main Page|Variables]]
 +
:* [[Main Page|Fooby things]]
 +
{{guide header|Advanced}}
 +
:* [[Main Page|Fooby things 2]]
 +
:* [[Main Page|Fooby things 3]]
 
}}
 
}}
 
</pre>
 
</pre>
 
|example2    =
 
|example2    =
 
{{Guide
 
{{Guide
|name        = template name
+
|name        = example guide
|header      = header name
+
|header      = Foo Programming Language
|body        = navigation content
+
|body        =  
 +
{{guide header|Intro}}
 +
:* [[Main Page|Intro to Foo]]
 +
:* [[Main Page|Foo's structure]]
 +
{{guide header|Basics}}
 +
:* [[Main Page|Variables]]
 +
:* [[Main Page|Fooby things]]
 +
{{guide header|Advanced}}
 +
:* [[Main Page|Fooby things 2]]
 +
:* [[Main Page|Fooby things 3]]
 
}}
 
}}
 
}}
 
}}

Latest revision as of 14:48, 26 June 2014

Template documentation


This template should be used for all guide-like templates.

Usage[edit]

{{Guide
|name         = template name
|header       = header name
|body         = navigation content
}}

Example

{{Guide
|name         = example guide
|header       = Foo Programming Language
|body         = 
{{guide header|Intro}}
:* [[Main Page|Intro to Foo]]
:* [[Main Page|Foo's structure]]
{{guide header|Basics}}
:* [[Main Page|Variables]]
:* [[Main Page|Fooby things]]
{{guide header|Advanced}}
:* [[Main Page|Fooby things 2]]
:* [[Main Page|Fooby things 3]]
}}
Foo Programming Language

Intro

Basics

Advanced

v · d · e