साचा:Style-guideline साचा:Style
ह्या लेखातील / विभागातील सध्याचा मजकूर इतर भाषा ते मराठी विकिपीडिया:भाषांतर प्रकल्प/मशिन ट्रान्सलेशन वापरून, [[]] भाषेतून मराठी भाषेत अंशत: अनुवादित केला गेला आहे / अथवा तसा कयास आहे. |
सॉफ्टवेअरची साचा सुविधा(वैशिष्ट्य) वापरून बनवलेल्या माहितीचौकटीस माहितीचौकट साचा असे म्हणतात.एखाद्या विषयाबद्दल विशीष्ट संक्षेप अथवा ओव्हरव्ह्यू देण्याकरिता माहितीचौकट साचे या विसृत श्रेणीतील साचे वापरले जातात. थेअरॉटीकली, माहितीचौकटीतील फील्ड्स माहीतीचौकट वापरणार्या प्रत्येक लेखात एक सारखे असावयास हवे,प्रंतु, अशी वस्तुस्थिती कवचितच आढळते,अनेक कारणांमुळे. जेव्हा असे होते, the माहितीचौकट साचे should be designed to आपोआप adapt themselves to the absence or presence of विशीष्ट फिल्ड्स.
Like अनीत्यबदल माहितीचौकटी, they are designed to present संक्षीप्त माहीती about an article's subject, such that similar subjects have a uniform look आणि in a common format. परंतु, the साचा पद्धती allows updates of style आणि of common text from a central place, the साचा पान.
या चौकटी are designed to be placed into main articles related to the topic area, आणि are usually associated with on-going प्रकल्पs. They have पॅरामीटर्स; to work properly, the parameter values have to be specified when the साचा is inserted in the page. This allows each माहितीचौकट to show information relevant to the article subject, while requiring only a minimal amount of coding within each article. साचा:The माहितीचौकटwatch
The recommended process for creating an माहितीचौकट साचा is to simply begin, आणि gather as many requirements as possible. Test the base format for a new साचा as a अनित्य table first, then once consensus is reached, migrate it into साचा format. The साचा should be reviewed before being used extensively in articles in case the साचा or defined पॅरामीटर्स need modification to minimize re-works. If new फिल्ड्स आणि पॅरामीटर्स are added, articles must be updated to reflect the new requirements. If पॅरामीटर्स are renamed or removed, many articles will बहुधा be unaffected, since extraneous पॅरामीटर्स are ignored.
For consistency the following मार्गदर्शक तत्वे apply:
300px
or 25em
in CSS).class="duhoc-mr माहितीचौकट"
is a good start.{{PAGENAME}}
टाळा .When creating a new माहितीचौकट साचा the content of साचा:माहितीचौकट is a convenient starting point.
पॅरामीटर्स in माहितीचौकटी should be named, not numbered, to provide for future use. A पॅरामीटरvalue can contain images (i.e. full image tags), or पॅरामीटर्स for parts of an image tag such as the image name, size आणि caption. In the latter case, if an image is not applicable or available consider using a dummy image such as Image:No image.png.
If a पॅरामीटरis not applicable, or no information is available, it should still be assigned a value. This can be the empty string, or if it is the only thing in a table cell use "some_field=
". The field will appear blank; the code is needed by some browsers for drawing the lines of the table itself properly.
There are alternative ways to make a साचा selectively hide information or provide default values if not defined. For an example आणि explanation of how या methods apply to माहितीचौकटी, पहा {{माहितीचौकट}}.
भौगोलीक आयटम्स करिताच्या माहितीचौकटी should generally be headed with the लेख शीर्षक, although the formal version of a name (e.g. Republic of Montenegro at Montenegro) can be substituted. Alternate or native नावे can appear beneath this. Extensive historic नावे are often better in a second माहितीचौकट, as at Augsburg.
A number of factors can cause विसंगती in available संक्षीप्त माहीती for a particular type of article:
While there are several alternatives to ’आपोआप नित्यबदल’ माहितीचौकटी, such as using multiple (forked) साचे or leaving फिल्ड्स blank, they should be avoided, for a number of reasons:
The availability of optional फिल्ड्स does not mean that all फिल्ड्स should be made optional, nor that large numbers of rarely used फिल्ड्स should be added without regard for the layout आणि ease-of-use of the माहितीचौकट साचा. In some cases, the markup for the field still needs to be downloaded even if it is not displayed. Creating overly long साचे with a number of irrelevant फिल्ड्स is not recommended.
As you design an माहितीचौकट साचा, consider the following questions:
विशेष "साचे" that selectively show or hide particular content (such as table rows) withमाहितीचौकटीतील based on the value of one or more साचा पॅरामीटर्स.
{{#if:{{{party|}}}||}} Political party {{{party|}}}
Several sub-साचे (or even independent साचे) with a common name prefix. They are included माहितीचौकटीत based on the value of a particular parameter, which acts as the name suffix. उदाहरणार्थ, we create {{माहितीचौकट Ship/Military}}
आणि {{माहितीचौकट Ship/Civilian}}
आणि use {{माहितीचौकट Ship/{{{type}}}}}
. Using |type=Military
in an article causes {{माहितीचौकट Ship/Military}}
to be used.
Rather than having each field correspond to a पॅरामीटरon one साचा, the माहितीचौकट consists of an individual ऊप-साचा for each field; पहा, उदाहरणार्थ, साचा:Taxobox.
साचे can be designed in a modular way, such that various combinations are possible. A combination may even appear on the page as a single माहितीचौकट.
उदाहरणार्थ, if the प्रकल्प Saints group wanted to design a साचा based on their अनित्यबदल माहितीचौकट, they could use साचा:माहितीचौकट Biography, आणि design a project-specific साचा with only additional information, आणि the pages would render both "stacked" together.
Other types of साचे:
This article uses material from the Wikipedia मराठी article माहितीचौकटसाचे, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). इतर काही नोंद केली नसल्यास,येथील मजकूर CC BY-SA 4.0च्या अंतर्गत उपलब्ध आहे. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki मराठी (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.