සැකිල්ල:Dialog/documentation/උපදෙස්
මෙය "සැකිල්ල:Dialog/documentation" සඳහා උපදෙස් උප පිටුවක් වේ (සැකිල්ල සඳහා එම පිටුව වෙතට යොමු වන්න). මෙහි ඇත්තේ භාවිත තොරතුරු, ප්රවර්ග, සහ මූලික සැකිල්ල පිටුවට අදාළ නොවන වෙනත් අන්තර්ගතය වේ. |
Usage
[සංස්කරණය]If a page contains interactive dialog that should be documented, and it isn't part of an assistant, place this template at the bottom of the dialog page, and at the top of the documenting page.
The template determines which sort of page it's on by checking to see if the current page name ends with /doc
. To override this determination, specify a non-blank parameter dialog
; if dialog=no
, the page is treated as documentation; if dialog
has any other non-blank value, the page is treated as dialog.
Ordinarily, the template assumes the name of the documentation page suffixes /doc
to the name of the dialog page. To override this assumption on the dialog page, provide an unnamed parameter naming the documentation page. To override this assumption on the documentation page, provide one or two unnamed parameters: one named parameter names the dialog page; two non-blank parameters are the dialog page name and a label for the link; and a blank first parameter followed by a non-blank second parameter produce an unlinked description of the dialog.
Examples
[සංස්කරණය]On a dialog page
[සංස්කරණය]{{dialog/documentation|foo}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |
{{dialog/documentation|foo|bar}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |
{{dialog/documentation||bar}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |
On a documentation page
[සංස්කරණය]{{dialog/documentation|foo}}
This is an interactive dialog documentation page for foo. |
This is an interactive dialog documentation page for foo. |
{{dialog/documentation|foo|bar}}
This is an interactive dialog documentation page for bar. |
This is an interactive dialog documentation page for bar. |
{{dialog/documentation||bar}}
This is an interactive dialog documentation page for bar. |
This is an interactive dialog documentation page for bar. |
Default on the current page
[සංස්කරණය]By default the template would treat this page as a dialog}} page.
{{dialog/documentation|foo}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |
{{dialog/documentation|foo|bar}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |
{{dialog/documentation||bar}}
This page contains interactive dialog. Documentation for the dialog may be created here. |
This page contains interactive dialog. Documentation for the dialog may be created here. |