From WikiChip
Difference between revisions of "Template:Guide"

(Created page with "<includeonly><div class="noprint" style="float:right; box-shadow: 0 0 4px #BDBDBD inset; background-color: #FFFFFF; border-radius: 5px; width:220px; padding:10px; margin-left:...")
 
(Trim padding)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
| style="width: 220px; text-align: center; font-size: 15px; font-weight: bold; color: #4A98D9;" | {{{header}}}
 
| style="width: 220px; text-align: center; font-size: 15px; font-weight: bold; color: #4A98D9;" | {{{header}}}
 
|-
 
|-
| style="padding-left: 20px;" |  
+
| style="padding-left: 9px;" |  
 
{{{body}}}
 
{{{body}}}
 
|}
 
|}
 
{{Navbar|{{{name}}}|text=|mini=1|style=float:right;}}
 
{{Navbar|{{{name}}}|text=|mini=1|style=float:right;}}
 
</div></includeonly><noinclude>{{Guide/Doc}}
 
</div></includeonly><noinclude>{{Guide/Doc}}
</noinclude>
+
</noinclude><noinclude>[[Category:Guide templates]]</noinclude>

Latest revision as of 17:00, 12 June 2017

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