साचा:कागदपत्र/कागदपत्र

विकिपीडिया, मुक्‍त ज्ञानकोशातून


या साच्यात काही कठीण किंवा अवघड भाग आहेत.
यात कोणताही बदल करण्यापूर्वी, याची माहिती काळजीपूर्वक वाचा. हा साचा बर्‍याच लेखात वापरला जात आहे. तुम्ही केलेल्या बदलांमुळे अनपेक्षित समस्या उद्भवल्यास, कृपया, आपले बदल त्वरीत काढून टाकावेत.
तुम्ही या साच्यावर प्रयोग करून पाहू शकता परंतु, तुमचे प्रयोग जतन करण्याआधी ते जरुर तपासावेत. ते प्रयोग , धूळपाटी साचा‎ या पानांवर किंवा, तुमच्या सदस्य पानावर करून बघितल्यास विकिपीडियामधील पानांवर उत्पात होणार नाही.


This साचा automatically displays a कागदपत्र box like you are seeing now, of which the content is transcluded from another page. It is intended for pages which are transcluded in other pages, i.e. साचाs, whether in the साचा namespace or not.

वापर[संपादन]

<noinclude>{{कागदपत्र}}<noinclude>
or <noinclude>{{कागदपत्र|साचा:any page}}<noinclude>

This code should be added at the bottom of the साचा code, with no extra space before "<noinclude>" (which would cause extra space on pages where the साचा is used). The parameter can be used as shown above to transclude an arbitrary कागदपत्र page.

Add categories and interwiki links to the कागदपत्र page inside includeonly tags.

If the कागदपत्र page contains includeonly or noinclude tags as part of the कागदपत्र, replace the "<" with "&lt;".

Functions[संपादन]

If the कागदपत्र page doesn't exist, the "edit" link includes a preload parameter so that clicking it will pre-fill the edit form with the basic कागदपत्र page format. The header depends on the namespace; for example, it will display "साचा कागदपत्र" in the साचा namespace.

Rationale[संपादन]

This साचा allows any page to use any कागदपत्र page, and makes it possible to protect साचाs while allowing anyone to edit the साचा's कागदपत्र, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of साचाs (see a developer's explanation).

See also[संपादन]