Template:Documentation/doc: Difference between revisions

Use {{Shortcut}}
(Category change)
(Use {{Shortcut}})
 
Line 1: Line 1:
{{Shortcut|doc|template=1}}
The <code><nowiki>{{documentation}}</nowiki></code> template is used to contain the documented information and instructions of a certain template, usually from a /doc subpage. It can also be configured to load the content from other pages or be directly fed by text.
The <code><nowiki>{{documentation}}</nowiki></code> template is used to contain the documented information and instructions of a certain template, usually from a /doc subpage. It can also be configured to load the content from other pages or be directly fed by text.


Line 66: Line 67:


== Automatic functions ==
== Automatic functions ==
If the documentation page does not exist, the body of the documentation box will say "Documentation page ''<u>link to doc</u>'' doesn't exist. Click the link to create one!" where ''<u>link to doc</u>'' is a red link to the wanted page. The toolbar is not shown in this case.
If the documentation page does not exist, the body of the documentation box will say "Documentation page ''<u>link to doc</u>'' doesn't exist. Click the link to create it!" where ''<u>link to doc</u>'' is a red link to the wanted page. The toolbar is not shown in this case.<!--
 
== Template alias ==
* {{noredirect|Template:Doc}}<!--


--><includeonly>
--><includeonly>
420

edits