Template:Documentation: Difference between revisions

From WikiMSK

(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>...")
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
This subtemplate is inserted between the <nowiki><noinclude></noinclude></nowiki> tags on the template pages by using the code  <code><nowiki>{{Documentation}}</nowiki></code>.


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>

Revision as of 22:14, 22 August 2020