Կաղապար:Template doc/doc

Վիքիփեդիայից՝ ազատ հանրագիտարանից

This template displays a "Template documentation" box just like you are seeing now.

[խմբագրել] Usage

  1. Add <noinclude>{{template doc}}</noinclude> to the main template.
  2. Click the "edit" link, which points to the /doc subpage, and write documentation there.
  3. Add categories and interwiki links to the /doc subpage inside <includeonly></includeonly>.

[խմբագրել] Limitation

A pipe character in the documentation page which is not inside double or triple braces or double brackets disturbs proper functioning of this template, because the content of that page is assigned to a template parameter. Use &#124; instead.

[խմբագրել] See also

Այլ լեզուներով