Jump to content

Template:Documentation/end: Difference between revisions

From Ferret Software Wiki
Gorasuhl (talk | contribs)
Created page with "<includeonly></div> <div class="doc-footer"><!-- -->{{#ifeq: {{SUBPAGENAME}} | doc |<!-- --><p style="margin: 0">This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.</p>{{BASEPAGENAME}} |<!-- --><p class="plainlinks" style="margin: 0">The above documentation is transcluded from {{#if:{{PROTECTIONEXPIRY:edit|Module:{{ROOTPAGENAME}}}}|Module:{{ROOTPAGENAME}}/d..."
 
Gorasuhl (talk | contribs)
added missing pieces from original template and moved styles to stylesheet
 
Line 1: Line 1:
<includeonly></div>
<includeonly></div>
<div class="doc-footer"><!--
<div class="doc-footer doc-color-{{#ifeq: {{#var: nodoc}} | 1 | nodoc | {{#ifeq: {{#var: baddoc}} | 1 | baddoc| std}} }}"><!--


-->{{#ifeq: {{SUBPAGENAME}} | doc |<!--
-->{{#ifeq: {{SUBPAGENAME}} | doc |<!--
--><p style="margin: 0">This is the documentation page, it should be transcluded into the main template page. See [[Template:Doc]] for more information.</p>[[Category:Template documentation|{{BASEPAGENAME}}]] |<!--
--><div class="doc-footer-text">This is the documentation page, it should be transcluded into the main template page. See [[Template:Doc]] for more information.</div>[[Category:{{NAMESPACE}} documentation|{{BASEPAGENAME}}]]|<!--
--><p class="plainlinks" style="margin: 0">The above documentation is transcluded from {{#if:{{PROTECTIONEXPIRY:edit|Module:{{ROOTPAGENAME}}}}|[[Module:{{ROOTPAGENAME}}/doc]]|[[{{FULLPAGENAME}}/doc]]}}. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] &#124; [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></p> }}<!--
--><div class="doc-footer-text plainlinks" >The above documentation is transcluded from [[{{FULLPAGENAME}}/doc]]. <small>([{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit] &#124; [{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history])</small></div> }}<!--
--></div></includeonly><noinclude>[[Category:Documentation templates]]</noinclude>
--></div></includeonly><noinclude>
{{/doc}}
[[Category:Documentation templates]]</noinclude>

Latest revision as of 17:16, 8 June 2025

Documentation

This Template is a modified version of Industrial Craft Wiki - Template:Doc/end (Rev.: 8 March 2015)[1]


Closes the <div> section of {{Doc/start}} and creates the footer of the documention. Uses variables nodoc and baddoc which are created by {{Doc/start}}. /doc subpages will automatically be added to different categories, based on their namespace. e.g. documentation of templates will be added to Category:Template documentation and modules to Category:Module documentation.

Usage

For more detailes on how to create a documentation, visit the base page: {{Doc}}. This template requires {{Doc/start}}.

References