"विकिपीडिया:साच्यांचे दस्तऐवज" च्या विविध आवृत्यांमधील फरक
Content deleted Content added
No edit summary |
No edit summary |
||
ओळ ९:
साचा कागदपत्र should cover:
*साचाचे '''मुळ उद्देश''' : ते काय करते आणि if it लेगेच लक्षात आणून देणारे नसेल, why it करावयास हवे. If there are
*साचाचे '''[[सहाय्य:साचे#प्रचल हेतुक|पॅरामीटर्स]]''' :प्रचल
* '''उपयोगाची उदाहरणे''': specify the exact wikitext that असे असावे used आणिthe result that it produces. The wikitext can be enclosed in a {{nowrap|<code><nowiki><code>…</code></nowiki></code>}} container, to make it clear आणि<code>easy to copy, like this</code>. If the साचा can be used in several different ways, with किंवा without वैकल्पिक प्रचल हेतुक(पॅरामीटर्स), उदाहरणार्थ, provide a range of examples. A good way to do so is to transclude the साचा itself into the documentation a few times (i.e., use live examples), with different प्रचल हेतुक(पॅरामीटर्स)s each time आणि list the प्रचल हेतुक(पॅरामीटर्स)s used in each case.
* '''संबधीत साचे''': if the साचा is one of a series of साचे, अंतर्भूत दुवाs to these – in particular, ensure that every साचा in the series is दुवाed from each इतरांचे, as this makes navigation easier. (A separate navigation साचा may be useful for this purpose, see: [[साचा:Protection साचे]]).
ओळ १७:
साचा कागदपत्र is often placed in a [[विकिपीडिया:उपपाने|उपपान]] साचाचे itself, which is then [[विकिपीडिया:Transclusion|transcluded]] at the end साचाचे पान. This separates the often complex साचा code from the documentation, making the documentation easier to edit. It also allows साचे to be [[विकिपीडिया:पानसुरक्षा निती|सुरक्षीत]] where necessary, while allowing anyone to edit the documentation. This method is sometimes referred to as the “साचा कागदपत्र पान pattern”.
कागदपत्र of any sort on a साचा पान should नेहमी असावे be enclosed by a {{nowrap|<code><nowiki><noinclude>…</noinclude></nowiki></code>}} container, so that तो काय करतो not show up when the साचा is used on
==कागदपत्र उपपान कसे तयार करावे==
ओळ ७४:
==बरेचसे साचे, एक कागदपत्र पान==
When several साचे work together or are very similar then it is often clearer आणि easier to maintain one single कागदपत्र पान that documents them together. The simplest way to do this is to make a full कागदपत्र पान at one चे साचे, आणि then make "soft redirects" from the
==तोकडे साचे==
|