Template:Documentation: Difference between revisions

From WikiMSK

m (1 revision imported)
 
(Created page with "This subtemplate is inserted between the <nowiki><noinclude></noinclude></nowiki> tags on the template pages by using the code <code><nowiki>{{Documentation}}</nowiki></code>...")
Line 1: Line 1:
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
This subtemplate is inserted between the <nowiki><noinclude></noinclude></nowiki> tags on the template pages by using the code  <code><nowiki>{{Documentation}}</nowiki></code>.
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
Creates a documentation subpage on which custom template documentation is inserted.
 
<includeonly><div class="template-documentation" style="margin-top:1em;">{{#if: {{{heading|default-on}}}|<div style="padding-top:1ex; padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
<span style="font-size: 150%">[[File:Infobox info icon.svg|50px]] {{{heading|Documentation}}}</span> &nbsp; <span class="editsection plainlinks" style="text-transform:lowercase;" id="doc_editlinks">{{#ifexist: {{{1|{{SUBJECTPAGENAME}}/documentation}}} |[[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=edit}} {{int:edit}}]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=history}} {{int:history}}]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}}}}|action=purge}} empty memory]] | [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/documentation}}}|action=edit&preload=Template:Documentation/preload}} {{int:edit}}]]}}</span></div>}}
{{#ifexist: {{{1|{{SUBJECTPAGENAME}}/documentation}}} |{{{{{1|{{SUBJECTPAGENAME}}/documentation}}}}}|}}
<br style="clear:both" /></div></includeonly><noinclude>
{{Documentation}}
 
</noinclude>
</noinclude>

Revision as of 18:57, 20 June 2020

This subtemplate is inserted between the <noinclude></noinclude> tags on the template pages by using the code {{Documentation}}.

Creates a documentation subpage on which custom template documentation is inserted.


This subtemplate is inserted between the <noinclude></noinclude> tags on the template pages by using the code {{Documentation}}.

Creates a documentation subpage on which custom template documentation is inserted.

Infobox info icon.svg Documentation   [Edit]