v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Documentation"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(doesn't work here)
(final version)
Line 1: Line 1:
{{#ifexist:{{FULLPAGENAME}}/doc|
 
 
<div style="    clear: both;    margin: 1em 0 0 0;    border: 1px solid #aaa;    background-color: #ecfcf4;    padding: 5px;">
 
<div style="    clear: both;    margin: 1em 0 0 0;    border: 1px solid #aaa;    background-color: #ecfcf4;    padding: 5px;">
__NOTOC__
 
__NOEDITSECTION__
 
 
<h2><span style="float: right; font-size: small">([[{{FULLPAGENAME}}/doc|view]] - [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit])</span> Documentation</h2>
 
<h2><span style="float: right; font-size: small">([[{{FULLPAGENAME}}/doc|view]] - [{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit])</span> Documentation</h2>
 +
__NOTOC__ __NOEDITSECTION__
 
{{ {{FULLPAGENAME}}/doc }}
 
{{ {{FULLPAGENAME}}/doc }}
 
</div>
 
</div>
}}
 

Revision as of 05:00, 30 December 2008

(view - edit) Documentation

This template is intended for basic use on documentation. For more control over appearance, use Template:Docbox.

This template displays documentation on templates. Pages using this template will automatically be added to Category:Templates, unless the nocat= parameter is specified with a non-blank value.

Usage

Normal template contents<noinclude>{{documentation}}</noinclude>

Documentation goes on "Template:(template name)/doc"