Template:Documentation: Difference between revisions

From Space Exploration
Jump to navigation Jump to search
imported>Ahopefulhobbit
mNo edit summary
imported>Ahopefulhobbit
mNo edit summary
Line 1: Line 1:
<!--This template is adapted from the Factorio Wiki [https://wiki.factorio.com/Template:Documentation]-->
<div class="factorio-doc">{{#ifeq:{{{heading|{{{2|}}}}}} | false | | <div class="factorio-doc-heading">
<div class="factorio-doc">{{#ifeq:{{{heading|{{{2|}}}}}} | false | | <div class="factorio-doc-heading">
<span class="editsection plainlinks" id="doc_editlinks">{{
<span class="editsection plainlinks" id="doc_editlinks">{{
Line 10: Line 9:
{{#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">[{{fullurl:Special:AllPages|namespace=10}} List of all templates]</small></div>
<small class="plainlinks">[{{fullurl:Special:AllPages|namespace=10}} List of all templates]</small></div>
<!--This template is adapted from the Factorio Wiki [https://wiki.factorio.com/Template:Documentation]-->

Revision as of 18:45, 11 December 2021

[View] [Edit] [Page history]

Documentation

This template is adapted from the Factorio Wiki and is licensed under CC BY-NC-SA 3.0.

Used to create documentation for templates used on the Space Exploration 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