"साचा:Documentation subpage" च्या विविध आवृत्यांमधील फरक
Davidgothberg (चर्चा | योगदान) Changed to "{{pp-template|small=yes}}" since this template is fully protected. |
Davidgothberg (चर्चा | योगदान) Update to use the {{mbox}} so it looks good on top of other mboxes on documentation pages. And using mbox and not ombox since this template is used on several types of pages. |
||
ओळ १९: | ओळ १९: | ||
</includeonly>{{ |
</includeonly>{{ |
||
#ifeq: {{{doc-notice|show}}} | show |
#ifeq: {{{doc-notice|show}}} | show |
||
| {{mbox |
|||
⚫ | |||
| type = notice |
|||
⚫ | |||
| image = none |
|||
| text = |
|||
⚫ | '''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. |
||
}} |
|||
⚫ | |||
#if: {{{inhibit|}}} |
#if: {{{inhibit|}}} |
||
| <!-- skip --> |
| <!-- skip --> |
||
ओळ २९: | ओळ ३४: | ||
}} documentation<noinclude>| </noinclude>]] |
}} documentation<noinclude>| </noinclude>]] |
||
}}<includeonly> |
}}<includeonly> |
||
|<!-- if not on a /doc subpage, do nothing --> |
| <!-- if not on a /doc subpage, do nothing --> |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
१३:२७, ६ ऑक्टोबर २००८ ची आवृत्ती
This is a documentation subpage for साचा:Documentation subpage (see that page for the साचा itself). It contains usage information, categories and other content that is not part of the original साचा page. |
वापर
{{Documentation subpage}}
- or
{{Documentation subpage |[[Page where the documentation transcluded]]}}
Userbox documentation
To set this template to use "userbox" and "userbox page" rather than "साचा" and "साचा page" or "सदस्य template" and "सदस्य template page", use:
{{Userbox documentation subpage}}
- or
{{Userbox documentation subpage |[[userbox page]]}}
Text customization
The parameters |text1=
and/or |text2=
can be used to set the text of, respectively, the template's first and second lines. If text1 is set but not text2, both lines' text will derive from text1:
{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}
This is a documentation subpage for [page] (see that page for the साचा itself). It contains usage information, categories and other content that is not part of the original साचा page. |
{{Documentation subpage |text2='''''text2 appears here'''''}}
This is a documentation subpage for [page] (see that page for the साचा itself). It contains usage information, categories and other content that is not part of the original साचा page. |
{{Documentation subpage |text1='''''text1 appears here'''''}}
This is a documentation subpage for [page] (see that page for the साचा itself). It contains usage information, categories and other content that is not part of the original साचा page. |
इतर प्राचले
|inhibit=yes
will prevent this template from generating any categories. (By default, "Namespace documentation pages" (usually Category:Template documentation pages) is added, or Category:Documentation subpages without corresponding pages if the main page doesn't exist.)
देखावा
This template should normally be placed at the top of /doc pages. It changes output depending on where it is viewed:
- On a /doc page, it displays a box explaining template documentation and links to the template page.
- On other pages – i.e. pages transcluding the /doc page – the template will not show. The template page itself (which contains
{{Documentation}}
) will automatically note that the documentation is transcluded from a subpage.
क्रिया
In addition to its message, the template adds pages to Category:साचा दस्तावेजीकरण पाने, Category:सदस्य दस्तावेजीकरण पाने, or similar (named after the subject space), but only for documentation pages in namespaces with the subpage feature. It defaults the sort key to the page name without namespace: Template:Foo, for example, would be sorted as "Foo", i.e. under "F".
हेही पाहा
साचा:Documentation/see also साचा:User Talk Pages साचा:Userspace Disclaimers