Difference between revisions of "Template:DocSubpage"

From BattleMaster Wiki
Jump to navigation Jump to search
m (added category)
m (updating with new linkage style)
 
Line 1: Line 1:
 
<includeonly><center>
 
<includeonly><center>
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 750px; border: #6680FF solid 1px; background-color: #DDDDFF; color: #000000;"
+
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 900px; border: #6680FF solid 1px; background-color: #DDDDFF; color: #000000;"
 
|-
 
|-
 
| style="font-weight: bold; font-size: 125%; border-bottom: #6680FF solid 1px;" | [[Image:Gtk-dialog-info.svg|50px]] Page Information
 
| style="font-weight: bold; font-size: 125%; border-bottom: #6680FF solid 1px;" | [[Image:Gtk-dialog-info.svg|50px]] Page Information
 
|-
 
|-
| style="text-align:center;" | This is a [[Template:Documentation|documentation subpage]] for the template.<br>It contains usage information, categories and other content that is not part of the original template page.
+
| style="text=align:center;" |This is a [[Template:Documentation|documentation subpage]] for the [[Template:{{#titleparts: {{PAGENAME}} | 1 | 1 }}|{{#titleparts: {{PAGENAME}} | 1 | 1 }}]] template.<br>It contains usage information, categories and other content that is not part of the original template page.
 
|}
 
|}
</center>[[Category:Template Documentation]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
</center>[[Category:Template Documentation]]
 +
</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:38, 17 March 2009

Template-info.svg Template Documentation
This documentation is transcluded from Template:DocSubpage/doc.

ExamplesSandbox

Intro

This template should be placed on all documentation subpages of a template. It lets the users know that this page is not part of the template itself, but contains documentation for the template.

Usage

Add the following to each template documentation subpage:

<noinclude>{{DocSubpage}}</noinclude>

The <noinclude>...</noinlude> tags are only required on the /doc subpage, but can be included on any of the pages without a problem.