Mal:Template doc page transcluded/dok
Utseende
Dette er en underside med dokumentasjon for Mal:Template doc page transcluded (se denne siden for selve malen). Den inneholder brukerinformasjon, kategorier og annet som ikke er del av den originale malsiden. |
Use
[rediger kilde]<includeonly>{{Template doc page transcluded}}</includeonly>
- or
<includeonly>{{Template doc page transcluded|pagename}}</includeonly>
Place at the top of a template documentation page (usually a "Template:Template name/doc" page) that is transcluded on the template's own page (Template:Template name). If the documentation page is not named "doc" and/or its transclusion is via another subpage (e.g. "Template:Template name/example"), use the second form of syntax above and replace pagename accordingly (i. e. with "example"; it is always supposed that the documentation is on a subpage of the template page.
Test cases
[rediger kilde]If subpages named /sandbox and /testcases exist, this template generate links to them. See Wikipedia:Template test cases for more detail.
See also
[rediger kilde]- the companion template {{Template doc page viewed directly}}
- the companion sample template {{sample}}
- {{Interwiki doc page pattern}} which when substed, creates boilerplate text for a /doc page including the proper calls to the other two.
- Note: All four add tagged pages properly to Category:Template documentation