Dota 2 Вики
м (1 версия импортирована: import some templates)
мНет описания правки
Строка 1: Строка 1:
 
<div id="documentation" style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;">
 
<div id="documentation" style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;">
<div style="float: right;" class="plainlinks">&#91;[[{{{1|{{FULLPAGENAME}}/doc}}}|view]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]&#93;
+
<div style="float: right;" class="plainlinks">&#91;[[{{{1|{{FULLPAGENAME}}/doc}}}|смотреть]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit}} править]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} очистить]&#93;
 
</div>
 
</div>
<h1 style="margin-top:-0.25em; margin-bottom: 0.25em;">Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly>
+
<h1 style="margin-top:-0.25em; margin-bottom: 0.25em;">Документация для ''{{{1|{{PAGENAME}}}}}''</h1><includeonly>
 
{{ #ifexist: {{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}} | {{{{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}}} | }}
 
{{ #ifexist: {{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}} | {{{{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}}} | }}
 
</div></includeonly><includeonly>
 
</div></includeonly><includeonly>

Версия от 12:01, 9 октября 2017

Документация для Template doc

Usage

  • Place {{Template doc}} inside tags on a template page to display template documentation.
  • Generally template documentation should only be used on complex templates with multiple parameters. The majority of templates won't need a separate documentation subpage.
  • If you want to have documentation displayed without a subpage, but with the green box, use {{Doc begin}}.