विकिपीडिया:शैली मार्गदर्शक/माहितीचौकटसाचे

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

साचा: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:

  1. Standard suggested width of 300 pixels or 25 ems (300px or 25em in CSS).
  2. Insert at the top of articles आणि right-align
  3. Using class="माहितीचौकट" is a good start.
  4. The top text line should be bold आणि contain the full (official) name of the article's subject; for people common name is optional. This does not need to match the article's विकिपीडिया title. It should not contain a link. नि:संदिग्धीकरणाकरिता लेख स्थानांतरीत केले जाऊ शकतात{{PAGENAME}} टाळा .
  5. साचास नाव द्या [[साचा:माहितीचौकट some subject]] (some subject should be in the singular आणि capitalized as per normal usage - पहा WP:NAME).
  6. Start words in पॅरामीटरनावे with a small letter unless they are proper nouns.

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:

Historical incompleteness
Certain desired information may simply have been lost over time. उदाहरणार्थ, an माहितीचौकट describing a modern bank may provide certain financial information that would be unavailable for a medieval one.
Hierarchical विसंगती
माहितीचौकटी that indicate hierarchical relationships may have subtly different requirements depending on where in the hierarchy the subject of the article is located. उदाहरणार्थ, an माहितीचौकट for corporations will be different between an article describing a parent company आणि indicating its subsidiaries आणि an article describing a subsidiary आणि indicating its parent.
वैशिष्ट्य विसंगती
Items within a single set may have optional वैशिष्ट्ये that would commonly be listed माहितीचौकटीतील. उदाहरणार्थ, an माहितीचौकट for an article about a university may include a motto; but not all universities have them.
माहितीचा अभाव
Some items in माहितीचौकटी may not be readily available or not available at all, such as the producers of an album or film. In या cases it is better to provide available information while concealing फिल्ड्स for which information may not be available.

आपोआप नित्यबदल साचे का?[संपादन]

While there are several alternatives to ’आपोआप नित्यबदल’ माहितीचौकटी, such as using multiple (forked) साचे or leaving फिल्ड्स blank, they should be avoided, for a number of reasons:

वाचक greatly outnumber संपादक
The most important group to consider are the casual readers of विकिपीडिया, who will never do any significant editing. माहितीचौकट साचे that contain many blank फिल्ड्स, question marks, or "Unknown"s present an unprofessional appearance, diminishing विकिपीडिया's reputation as a high-quality encyclopedia.
लेख संपादक greatly outnumber साचा संपादक
The average संपादक will merely use साचे without making changes to them. To make things easier for them, we should aim to minimize the number of different साचे they must be familiar with; creating multiple forks of साचे is therefore undesirable.

सर्वसाधारण सल्ला[संपादन]

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:

Is the field of value?
How important is the field to the articles that will use the माहितीचौकट? Is it संक्षीप्त माहीती, or more extended detail that may be better placed within the body of an article?
Will the field be relevant to many of the articles that will use the माहितीचौकट?
If the field is relevant to very few articles, it should probably not be included at all. Conversely, very common फिल्ड्स may be included—आणि made optional—even if they are not applicable to a few of the articles in question.
फिल्ड रिकामे असण्याची किती शक्यता आहे?
Any field that might reasonably be empty should probably be optional. परंतु, a field that is usually empty may not be particularly useful or relevant.
Is it for people, places or organisations?
If so, include an hCard microformat - पहा the microformat project
Is it for a dated event?
(Such as a record release, or sport fixture) If so, include an hCalendar microformat - पहा the microformat project

इंप्लिमेंटेशन्स[संपादन]

कंडीशनल साचे[संपादन]

मुख्य पान: mw:Help:Extension:ParserFunctions

विशेष "साचे" that selectively show or hide particular content (such as table rows) withमाहितीचौकटीतील based on the value of one or more साचा पॅरामीटर्स.

{{#if:{{{party|}}}|<tr><th>Political party</th><td>{{{party|}}}</td></tr>|}}

नेम-रिझॉल्व्हड मेटा-साचे[संपादन]

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.

साचांची यादी[संपादन]

पहा वर्ग:माहितीचौकट साचे for the main listing. पहा also any relevant प्रकल्पs, आणि a list of साचे starting with "माहितीचौकट ...".

हे सुद्धा पहा[संपादन]

Other types of साचे: