Difference between revisions of "Template:Doc"

From I2P Wiki
Jump to navigation Jump to search
(template is created, partially based on 13 years old version of template [newer versions need Parser Functions])
 
m (corrected an error)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__<div style="padding:5px; background: #ECFCF4; border: 1px solid #8BCBFF; clear: both;"><div style="border-bottom: 1px solid #8BCBFF; margin-bottom: 0.5em;"><big>'''{{SUBJECTSPACE}} documentation'''</big> &nbsp; <span class="editsection plainlinks"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=history}} history]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=purge}} purge]<nowiki>]</nowiki></span></div>{{{{SUBJECTPAGENAME}}/doc}}</div><hr style="border: none; height: 0.7ex; background: #000000; clear: both;"/><div style="padding:5px; background: #ECFCF4; border: 1px solid #8BCBFF; text-align: center; font-size: 150%; font-weight: bold;">Do not edit this template, if you do not understand its code!</div><hr style="border: none; height: 0.7ex; background: #000000; clear: both;"/></includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly>__NOEDITSECTION__<div style="padding:5px; background: #ECFCF4; border: 1px solid #8BCBFF; clear: both;"><div style="border-bottom: 1px solid #8BCBFF; margin-bottom: 0.5em;"><big>'''{{SUBJECTSPACE}} documentation'''</big> &nbsp; <span class="editsection plainlinks"><nowiki>[</nowiki>[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=edit}} edit]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=history}} history]<nowiki>] [</nowiki>[{{fullurl:{{{1|{{SUBJECTPAGENAMEE}}/doc}}}|action=purge}} purge]<nowiki>]</nowiki></span></div>{{{{{1|{{SUBJECTPAGENAME}}}}}/doc}}</div><hr style="border: none; height: 0.7ex; background: #000000; clear: both;"/><div style="padding:5px; background: #ECFCF4; border: 1px solid #8BCBFF; text-align: center; font-size: 150%; font-weight: bold;">Do not edit this template, if you do not understand its code!</div><hr style="border: none; height: 0.7ex; background: #000000; clear: both;"/></includeonly><noinclude>{{doc}}</noinclude>

Revision as of 11:54, 8 November 2020

Template documentation   [view] [edit] [history] [purge]

This template is used in other tempates to include the documentation subpage.

Usage

To include in the page of some template its doc subpage, write at the end of the code of that template:

<noinclude>{{doc}}</noinclude>

To include in the page of some template the doc subpage of another template, write at the end of the code of the first one:

<noinclude>{{doc|Template:Another template}}

See also


Do not edit this template, if you do not understand its code!