Citakan:Template doc page/doc
Pidangan
Ieu téh sub kaca dokuméntasi pikeun Citakan:Template doc page. Ngandung informasi pamakéan, katégori katut eusi lianna nu lain mangrupa bagéan tina kaca citakan nu asli. |
Usage
[édit sumber]This template is to be used at the top of template documentation pages. An empty copy-pasteable example for starting a /doc page:
{{Template doc page}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --> ==Usage== ==See also== <includeonly> <!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> <!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> </includeonly>
At "runtime", depending whether it is on the template page itself or on the /doc subpage of the template, it transcludes in one of these two templates:
{{Template doc page transcluded}}
or
{{Template doc page viewed directly}}
Thus, it has the same functionality as in this older code example:
<includeonly>{{Template doc page transcluded}}</includeonly> <noinclude>{{Template doc page viewed directly}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --> ==Usage== ...
Tempo oge
[édit sumber]- Wikipedia:Dokuméntasi citakan
- Template:Template doc
- Template:Template doc page transcluded
- Template:Template doc page viewed directly