Difference between revisions of "Template:Doc"
(Created page with "<includeonly><div class="plainlinks" style="clear:both; display:block; border:1px solid #999966; vertical-align:top; background:#ffffea; padding:10px; margin-top:10px; margin-...") |
m |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="plainlinks" style="clear:both; display:block; border:1px solid #999966; vertical-align:top; background:#ffffea; padding:10px; margin-top:10px; margin-bottom:10px;"><div style="float: left">[[Special:Whatlinkshere/{{#rel2abs: {{SUBJECTPAGENAME}} }}|Using the template]]</div><div style="float: right">Documentation: [[[{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|read]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=edit}} edit]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=history}} | + | <includeonly><div class="plainlinks" style="clear:both; display:block; border:1px solid #999966; vertical-align:top; background:#ffffea; padding:10px; margin-top:10px; margin-bottom:10px;"><div style="float: left">[[Special:Whatlinkshere/{{#rel2abs: {{SUBJECTPAGENAME}} }}|Using the template]]</div><div style="float: right">Documentation: [[[{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|read]]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=edit}} edit]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=history}} history]] [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}}}}|action=purge}} refresh]]</div><br clear=both></div> |
<div style="clear:both; display:block; border:1px solid #999966; vertical-align:top; background:#ffffea; padding:10px; margin-top:10px; margin-bottom:10px;"> | <div style="clear:both; display:block; border:1px solid #999966; vertical-align:top; background:#ffffea; padding:10px; margin-top:10px; margin-bottom:10px;"> |
Latest revision as of 12:01, 25 January 2019
The Doc template adds a subpage with the corresponding document file(s) to the template page, i.e. template_name/Documentation
. Doc template is very easy to use: just create a template page, add the <noinclude>{{doc}}</noinclude>
code string at the very bottom, and save the page. A link suggesting to write a document page will be generated. Follow it and enter information regarding the use of the template you’ve made (using Docpage).