Difference between revisions of "Template:Doc"

From War Thunder Wiki
Jump to: navigation, search
(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: &#91;[[{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|read]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=history}} история]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}}}}|action=purge}} refresh]&#93;</div><br clear=both></div>
+
<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: &#91;[[{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|read]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/Documentation}}}|action=history}} history]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{SUBJECTPAGENAME}}}}}|action=purge}} refresh]&#93;</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).