Help:VisualEditor/User guide/hi

शुरू करना: यथादृश्य सम्पादिका का टूलबार
center|950px|alt=यथादृश्य सम्पादिका के टूलबार का स्क्रीनशॉट

border|950px|center

सन्दर्भ सम्पादित करना
{| cellpadding="15" 
 * colspan=2 |

पता लगाएँ कि किस प्रणाली का इस्तेमाल हो रहा है

 * आपके विकि पर तीन फ़ुटनोट प्रणालियों में से किसी एक का इस्तेमाल हो रहा होगा। दाएँ तरफ़ दिखाई जाने वाली प्रणाली सबसे सरल है, जहाँ पर "" मेन्यू में कोई उद्धरण साँचा नहीं होता है। अगर आपके विकि पर इस प्रणाली का इस्तेमाल हो रहा है, तो फ़ुटनोट के बारे में सारी जानकारी इस पृष्ठ पर है।
 * border|center|200px
 * colspan=2 |
 * दूसरी प्रणाली में उसी प्रकार का "" मेन्यू है, मगर कई प्रसिद्ध उद्धरण साँचों के साथ, ताकि आसानी से उनका इस्तेमाल किया जा सके। अगर आपके विकि पर इस प्रणाली का इस्तेमाल हो रहा है, आपको पर अधिक जानकारी मिलेगी।
 * border|center|200px
 * colspan=2 |
 * border|center|100px
 * तीसकी प्रणाली में आप बटन दबाकर शुरुआत कर सकते हैं। एक डायलॉग बॉक्स खुलेगा, जिसमें Citoid सेवा के ज़रिए स्वचालित उद्धरण जोड़ने का विकल्प होता है। अगर आपके विकि पर इस प्रणाली का इस्तेमाल हो रहा है, आपको  पर अधिक जानकारी मिलेगी।
 * border|center|400px
 * colspan=2 |
 * border|center|100px
 * तीसकी प्रणाली में आप बटन दबाकर शुरुआत कर सकते हैं। एक डायलॉग बॉक्स खुलेगा, जिसमें Citoid सेवा के ज़रिए स्वचालित उद्धरण जोड़ने का विकल्प होता है। अगर आपके विकि पर इस प्रणाली का इस्तेमाल हो रहा है, आपको  पर अधिक जानकारी मिलेगी।
 * border|center|400px
 * colspan=2 |
 * तीसकी प्रणाली में आप बटन दबाकर शुरुआत कर सकते हैं। एक डायलॉग बॉक्स खुलेगा, जिसमें Citoid सेवा के ज़रिए स्वचालित उद्धरण जोड़ने का विकल्प होता है। अगर आपके विकि पर इस प्रणाली का इस्तेमाल हो रहा है, आपको  पर अधिक जानकारी मिलेगी।
 * border|center|400px
 * colspan=2 |
 * colspan=2 |

एक मौजूदा सन्दर्भ को सम्पादित करना

 * एक मौजूदा सन्दर्भ को सम्पादित करने के लिए टेक्स्ट के उस स्थान पर दबाएँ जहाँ पर यह दिखता है (आम तौर पर ब्रैकेट में लपेटे एक संख्या के रूप में)। आपको या तो एक "" आईकॉन (बुकमार्क) दिखेगा या फिर उस साँचे का आईकॉन (और नाम) दिखेगा जिससे सन्दर्भ को बनाया गया था। दोनों मामलों में, "" बटन पर क्लिक करने पर बटन एक डायलॉग खोल देगा जहाँ पर आप सन्दर्भ को सम्पादित कर सकते हैं।
 * border|400px|center
 * colspan=2 |
 * "" आईकॉन के लिए, "" दबाने पर एक सन्दर्भ डायलॉग खुल जाता है। सन्दर्भ की जानकारी बदलने के लिए इसपर दबाएँ।
 * colspan=2 |
 * "" आईकॉन के लिए, "" दबाने पर एक सन्दर्भ डायलॉग खुल जाता है। सन्दर्भ की जानकारी बदलने के लिए इसपर दबाएँ।
 * "" आईकॉन के लिए, "" दबाने पर एक सन्दर्भ डायलॉग खुल जाता है। सन्दर्भ की जानकारी बदलने के लिए इसपर दबाएँ।

कई विकियाँ सन्दर्भों को प्रारूपित करने के लिए साँचों का इस्तेमाल करते हैं। अगर आपके सन्दर्भ में साँचे का इस्तेमाल किया गया है, सन्दर्भ की जानकारी पर कर्सर ले जाएँ और फ़ील्ड की सारी जानकारी को हाइलाइट कर दिया जाएगा।

अगर साँचे का इस्तेमाल किया गया था और आप सन्दर्भ की जानकारी पर दबाते हैं, आईकॉन (पहेली का हिस्सा) कुछ जानकारी के साथ नज़र आएगा। साँचे की सामग्री को सम्पादित करने के लिए साँचा मिनी-एडिटर डायलॉग पर "" बटन दबाएँ।
 * border|center|400px
 * colspan=2 |
 * अगर सन्दर्भ पर दबाने पर उद्धरणों के एक मानक साँचे का आईकॉन नज़र आता है (जैसा दाएँ तरफ दिखाया गया है), तब "" दबाने पर साँचा मिनी-एडिटर डायलॉग खुल जाएगा।
 * border|center|400px
 * colspan=2 |
 * साँचा मिनी-एडिटर के अंदर आप जानकारी के प्रकार जोड़ या हटा सकते हैं, या वर्तमान सामग्री जोड़ सकते हैं। शुरुआत में सिर्फ सामग्री वाले फ़ील्ड्स (साँचे के पैरामीटर्स) दिखाए जाएँगे। फ़ील्ड्स जोड़ने के लिए मिनी-एडिटर के नीचे की तरफ "" पर दबाएँ।
 * border|center|400px
 * colspan=2 |
 * जब काम हो जाए तब "" पर दबा दें।
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * जब काम हो जाए तब "" पर दबा दें।
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

मौजूदा सन्दर्भ का पुनः उपयोग करना

 * अगर पृष्ठ पर पहले से ही एक उद्धरण है जो उचित टेक्स्ट को सन्दर्भित करता है, आप उस मौजूदा उद्धरण का पुनः उपयोग कर सकते हैं।
 * अगर पृष्ठ पर पहले से ही एक उद्धरण है जो उचित टेक्स्ट को सन्दर्भित करता है, आप उस मौजूदा उद्धरण का पुनः उपयोग कर सकते हैं।

किसी मौजूदा सन्दर्भ का पुनः उपयोग करने के लिए उस टेक्स्ट पर अपना कर्सर रखें जहाँ पर आप उस उद्धरण के लिए नए सन्दर्भ (नई संख्या) को जोड़ना चाहते हैं। फिर "" मेन्यू से "" पर क्लिक करें।

(नोट: अगर आपके विकि पर उपरोक्त में से तीसरी प्रणाली का इस्तेमाल किया जाता है, आपको "" मेन्यू पर "" आयटम की जगह डायलॉग में एक "" टैब नज़र आएगा।)
 * border|200px|center
 * colspan=2 |
 * In the dialog, look at the list for the reference you want to reuse, and select it. If there are many references, you can use the search box (labeled "") to list only those references that include certain text.
 * border|400px|center
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding a new reference

 * To add a citation using the "" menu, place your cursor where you want to add it in the text. Then select the appropriate citation type in the menu.
 * border|200px|center
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Using the "Basic" citation

 * Shown here is what you will see if you select the basic references item. In the Reference editor, you can add your citation, including formatting.
 * Shown here is what you will see if you select the basic references item. In the Reference editor, you can add your citation, including formatting.

You can make the reference belong to a given group, although normally this is left blank. (This option is used to display groups of references with the "" tool.)
 * border|400px|center
 * colspan=2 |
 * In the Reference dialog, if you want to include a citation template, or any other template, in your new reference, press the icon (puzzle piece) in the "" toolbar menu within the Reference editor.
 * border|center|200px
 * colspan=2 |
 * Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)
 * colspan=2 |
 * Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)
 * Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)
 * Then, look for the template you want to use, add it and edit it as you would any other template. (See the Editing templates section, below, if you need more information about templates.)

After you are done editing your new template, press on "" to return to the Reference editor, and "" again to return to the page you are editing.
 * border|center|400px
 * colspan=2 |
 * If there isn't already a list of references on the page (for example, if you are adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.
 * If there isn't already a list of references on the page (for example, if you are adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.
 * If there isn't already a list of references on the page (for example, if you are adding the first reference for the page), you need to specify where the list of references, and their text, will be displayed to the reader.

Place the cursor where you want to display the references list (usually at the bottom of the page), open the "" menu and press the "" icon (three books).
 * border|center|200px
 * colspan=2 |
 * If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed on the page at the location where you are placing the group.
 * If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed on the page at the location where you are placing the group.
 * If you are using several groups of references, which is relatively rare, you can specify the group in this dialog. Only the references that belong to that group will be displayed on the page at the location where you are placing the group.

The final step in the References list dialog is to press "".
 * border|center|400px
 * colspan=2 |
 * colspan=2 |

Using standard cite templates

 * Your local wiki may have added extra citation templates to the "" menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at .)
 * border|200px|center
 * colspan=2 |
 * Pressing on a template icon such as "Cite book" will take you into the template mini-editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required.
 * border|430px|center
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * border|430px|center
 * colspan=2 |
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.
 * To add more parameters, scroll down in the template mini-editor and press on the "" option.

Press on "" when you are done.
 * border|200px|center
 * }

Editing images and other media files
{| cellpadding="15"
 * colspan=2 |
 * colspan=2 |

Editing images

 * To add a new image (or another type of media file) to the page, press the "" icon (a picture of mountains) in the "" menu. The image will be added wherever your cursor is.
 * border|200px|center
 * colspan=2 |
 * Pressing the "" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you are editing.
 * colspan=2 |
 * Pressing the "" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you are editing.
 * Pressing the "" icon opens a dialog that automatically searches Wikimedia Commons and your local wiki for media files related to the title of the page you are editing.

You can change the search by changing the text in the dialog's search box.

To choose a file, press on its thumbnail image.

This places the image onto the page you are editing.
 * border|center|500px
 * colspan=2 |
 * After the image you selected is inserted into the page, another dialog will open. This dialog allows you to add and edit the caption of the image. The caption can contain formatting and links.
 * border|center|400px
 * colspan=2 |
 * The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.
 * border|center|400px
 * colspan=2 |
 * You can also set various parameters for the image in the "" window. These include the alignment, the type, and size of the image.
 * border|center|400px
 * colspan=2 |
 * When you are done, press "" to close the dialog and return to editing the page.
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * border|center|400px
 * colspan=2 |
 * When you are done, press "" to close the dialog and return to editing the page.
 * border|center|150px
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * colspan=2 |
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.
 * For an existing image, you can add or edit a caption or other settings by pressing on the image, then pressing on the "" icon that appears below the picture.

You can resize an existing image by pressing on it, then moving the resize icon (the two-headed arrow on one or both bottom corners).

You can also drag and drop an image to a place higher or lower on the page.
 * center|360px
 * }

Editing templates
The powerful MediaWiki template system lets you insert dynamic content, text from other pages, and much more. For a detailed explanation and examples, see the Templates help page.

In the VisualEditor you can search for a relevant template, add an invocation or transclusion on the page you’re editing and, if needed, add custom content using parameters.

Insert new template
{| cellpadding="15"
 * To add a template to a page, place your cursor at the position on the page where you want the template to be inserted. Then open the menu and select "[[File:OOjs_UI_icon_puzzle-ltr.svg]] ". Alternatively, type two curly brackets {{ to open the same dialog.
 * border|500x500px|center
 * Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.
 * Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.
 * Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.

If you’re having trouble finding the kind of template you want by using keywords, you can look on other wiki pages with similar content and view or edit the page source to see which templates are in use. When you find the desired template’s name, you can type it into this field to insert it here.
 * VisualEditor_Template_Search.png
 * colspan=2 |
 * You can also edit a template that’s already on a page. When you select the template you want to edit, it turns blue, and a box appears displaying "[[File:OOjs_UI_icon_puzzle-ltr.svg]] ". Then select the "" link or double click on the template itself to open the template.
 * VisualEditor_Template_Context_Menu.png
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
 * VisualEditor_Hidden_Templates.png
 * colspan=2 |
 * Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out.
 * VisualEditor_Hidden_Templates.png
 * VisualEditor_Hidden_Templates.png


 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Template parameters

 * You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.
 * You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains, helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.

When a template contains TemplateData, the VisualEditor can use it to present annotated fields for you to fill in.

For templates that have some community-provided TemplateData, the VisualEditor displays a list of the named parameters and, often, descriptions and instructions explaining the meaning and required format for each parameter’s values.
 * Template_parameters_in_VisualEditor.png
 * colspan="2" |
 * You can disable any optional parameter (which have blue checkboxes on the left side). If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.
 * You can disable any optional parameter (which have blue checkboxes on the left side). If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.
 * You can disable any optional parameter (which have blue checkboxes on the left side). If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.

When you insert a new template, you may find that some optional parameters are pre-selected. That means the author(s) of the template recommends the use of those parameters. It’s best to review all parameters that will be used in a template to ensure you understand their use.

Clicking an unchecked parameter adds it to the template. Clicking a parameter that’s already been added takes you to the parameter’s input field.

Some template parameters will show as “deprecated”. Don’t use deprecated parameters when inserting a template; they’re only visible to you because those parameters are in use on older pages where this template was included.
 * Interface for adding more parameters to a template in the VisualEditor (new).png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Adding undocumented parameters

 * If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.
 * If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.

If you find in the documentation that the template expects parameters without names, fill in numbers as placeholders for the parameter names using the undocumented parameter input, then add text to the values you want to provide as you normally would.

Example:
 * first unnamed parameter: “1”
 * first unnamed parameter’s value: “en_US”
 * second unnamed parameter: “2”
 * second unnamed parameter’s value: “yes”

If you accidentally include nonexistent, misspelled or erroneous parameters, the values you enter for those parameters won’t show up on the page you’re editing.
 * Template_without_TemplateData_in_VisualEditor_(old_UI).png
 * colspan=2 |
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Autogenerated parameters

 * In this example, the template in question lacks TemplateData but it was possible to autogenerate the parameters. This means that the undocumented parameters have already been added for you, but the names may not be easily understandable and the dialog cannot display any directions or descriptions. As a result the dialog box provides a link to the template’s documentation, which should help you deduce and fill in the template’s various parameters.
 * Autogenerated_parameters_in_the_VisualEditor.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Editing multi-part template content

 * During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.
 * During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.

This content often contains “unbalanced templates,” templates which are incomplete on their own and need to be paired with some wikitext or another template in order to function.

These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor. In these cases you will see a notice at the top of the dialog to signal the situation and a specialized toolbar will be visible at the bottom of the sidebar. There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order.


 * Multi-part_template_content_in_the_VisualEditor (new).png
 * colspan=2 |
 * colspan="2" |
 * colspan="2" |
 * colspan="2" |

Nested templates

 * Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces denoting a template.
 * Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces denoting a template.

The VisualEditor can’t present this template within a template (a nested template) using the editor’s easy-to-use interface, so if you want to nest a template yourself, you’ll need to understand how to add the template by hand in wikitext into the appropriate parameter field.
 * Embedded_template_in_VisualEditor.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Completing your edit

 * When you have finished editing a template, you can click "". Then you can preview your edit and make sure it looks the way you want and expect.
 * When you have finished editing a template, you can click "". Then you can preview your edit and make sure it looks the way you want and expect.

You may also see an error message, which (like the other TemplateData mentioned above) is community-provided content and may vary in usefulness. You may need to consult the template’s own documentation to get to the bottom of some errors. If you’re still having trouble, consider posting about your problem on the template’s talk page.
 * border|center|150px
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Removing a template

 * To remove a template in the VisualEditor, click the template box. Press the "Delete" or "Backspace" key on your keyboard. The template will disappear from the page.
 * Removing_templates_from_a_page_via_context_menu_new.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Editing on mobile

 * When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button.
 * When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button.


 * VisualEditor_template_editing_on_mobile.png
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |
 * colspan=2 |

Substituting templates

 * When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.
 * When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.

There’s another, much less common way to use templates, though, and that’s to substitute a template. Doing this permanently includes the template content just as it appears at the moment you insert it. It will not update if the template code is later changed.

Most users won’t ever need to resort to substitution. Substitution is typically only useful when you need to capture the exact appearance of one version of a template, such as when content is under development and needs evaluation.

To substitute a template in the VisualEditor, insert a template using the name syntax. (Autocomplete doesn’t work in this case.) Then press the blue “Add template” button.

When you’re finished, press “Insert”, which will insert the template content as you see it.
 * SUBST_in_VE.png
 * }

Keyboard shortcuts
Many editors are used to entering wikitext directly, especially bold, italics and wikilinks. Keyboard shortcuts allow to quickly insert similar formatting without having to use toolbar items. Here are the common general shortcuts in the visual editor: