Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
m (formatting) |
(use fullurl instead of static url) |
||
Line 8: | Line 8: | ||
<span style="font-size:150%">{{#if: {{{heading|{{{2|}}}}}} | {{{heading|{{{2}}}}}} | Documentation }}</span></div> }} | <span style="font-size:150%">{{#if: {{{heading|{{{2|}}}}}} | {{{heading|{{{2}}}}}} | Documentation }}</span></div> }} | ||
{{#if: {{{text|{{{1|}}}}}} |{{{text|{{{1}}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;"></div> | {{#if: {{{text|{{{1|}}}}}} |{{{text|{{{1}}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;"></div> | ||
<small class="plainlinks">[ | <small class="plainlinks">[{{fullurl:Special:AllPages|namespace=10}} List of all templates]</small></div> |
Latest revision as of 09:29, 2 November 2017
[View] [Edit] [Page history]
DocumentationUsed to create documentation for templates used on the Factorio Wiki.
Usage
There are two ways to use this template.
1. Add to the bottom of your template:
<noinclude>{{doc}}<noinclude>
Then click on the "Create" link to get started with your documentation.
2. Include the documentation directly in the template (not preferred method):
<noinclude>{{doc|text= Documentation text ==Usage== How to use the template, etc. }}<noinclude>List of all templates