Help:ویرایشگر دیداری/آموزش کاربر

From mediawiki.org
This page is a translated version of the page Help:VisualEditor/User guide and the translation is 21% complete.
Outdated translations are marked like this.
PD توجه: شما در هنگام ویرایش این صفحه، موافق با انتشار مشارکت‌هایتان تحت CC0 هستید. صفحه‌های راهنمای مالکیت عمومی را برای اطلاعات بیشتر ببینید. PD


بازکردن ویرایشگر دیداری

برای ویرایش یک صفحه با استفاده از ویرایشگر دیداری، روی زبانهٔ "ویرایش" در بالای صفحه فشار دهید.

ممکن است برای اینکه صفحه را برای ویرایش‌کردن باز کند چند ثانیه طول بکشد، و شاید هم بیشتر اگر صفحه خیلی بلند باشد.

با فشار دادن روی زبانهٔ "ویرایش مبدأ" ویرایشگر مبدأ ویکی‌متن قدیمی باز خواهد شد.


شما می‌توانید همچنین ویرایشگر دیداری را با کلیک بر پیوند "ویرایش" در هر بخش باز کنید.

آغاز به کار: نوار ابزار ویرایشگر دیداری

نماگرفت از نوار ابزار ویرایشگر دیداری
هنگامی که شما ویرایش کردن را آغاز می کنید نوار ابزار ویرایشگر در بالای صفحه ظاهر می‌شود. این نوار ابزار شامل بعضی از نقشک‌های آشناست:

واگردانی و انجام دوباره تغییراتی را که شما ایجاد کردید.

منوی پایین‌روندهٔ تیترها: به شما اجازه می‌دهد چگونگی قالب‌بندی پاراگراف را تغییر دهید. در مکان تیتر متنی را تغییر دهید. برای تغییر سبک یک پاراگراف نشانگرتان را در پاراگراف قرار دهید و یک آیتم را در این منو انتخاب کنید (شما مجبور نیستید که هیچ متنی را برجسته کنید). عنوان‌های تیترها به صورت "$format" قالب‌بنده شده‌اند، و زیربخش‌ها $subheading2، $subheading3 هستند و به همین ترتیب. To change the style of a paragraph, put your cursor in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "عنوان بخش", and subsections are "عنوان زیربخش ۱", "عنوان زیربخش ۲", and so on. قالب معمولی برای متن "بند" است.

قالب‌بندی: کلیک بر "A" منویی را باز می‌کند.

  • آیتم "پررنگ" (B) متن انتخابی را پررنگ می‌کند.
  • آیتم "کج" (I) متن انتخابی را مورب می‌کند.
  • آیتم "بالانویس" (x2) موجب می‌شود متن انتخاب‌شده کوچک‌تر و کمی بالاتر از متن اطرافش نمایش یابد.
  • آیتم "زیرنویس" (x2) موجب می‌شود متن انتخاب‌شده کوچکتر و کمی پایین‌تر از متن اطرافش نمایش یابد.
  • آیتم "خط‌خورده" (S) بر روی متن انتخاب‌شده خط می‌کشد.
  • آیتم "کد رایانه" (شامل دو آکولاد: {}) فونت متن انتخابی را به فونت تک‌فاصله تغییر می‌دهد، که آن را از متن (فاصله‌دار) اطرافش جدا می‌کند.
  • آیتم "زیرخط" (U) یک خط تیره در زیر متن انتخابی می‌افزاید.
  • The "زبان" item (文A) allows you to label the language (for example, Japanese) and direction (for example, right-to-left) of the selected text.
  • آیتم ()، که "حذف" نامیده می‌شود، تمام کاراکترهای قالب‌بندی، شامل پیوندها را از متن انتخابی پاک می‌کند.

If you have not selected any text, then when you press the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located.


ابزار پیوند: شکل زنجیر، همان ابزار پیوند است. کلیک بر روی آن (معمولاً پس از انتخاب مقداری از متن) جعبهٔ پیوند را باز می‌کند.

منوی یادکرد: منوی یادکرد برای افزودن یادکردهای درون خطی استفاده می‌شود (همچنین پانویس و ارجاع‌ها نیز نامیده می‌شود). همهٔ پروژه‌ها به قالب‌بندی پایه ارجاع و توانایی استفاده مجدد یادکردها با استفاده از این منو را دارند. این منو همچنین دسترسی سریع به الگوهای یادکرد محلی را به کاربران می‌دهد، اگر در ویکی شما فعال شده باشند.

دکمه یادکرد If the Citoid service and/or citation tool is enabled on your wiki, you will see a یادکرد button instead of a یادکرد menu.

(دستورالعمل‌های افزودن الگوهای یادکرد محلی به منوی دستی در یک ویکی محلی در ویرایشگر دیداری/ابزار یادکرد موجودند.)

Instructions for enabling the خودکار tab are available at Enabling Citoid on your wiki

The citoid service tries to fill out citation templates automatically.


"فهرست‌ها و توگذاری". دو آیتم نخست به شما اجازه می‌دهد تا متن را به صورت "فهرست گلوله‌ای" یا یک "فهرست شماره‌دار" بسازید. دو آیتم آخر به شما اجازه می‌دهد که سطح تورفتگی فهرست آیتم‌ها را افزایش یا کاهش دهید.

درج: منو "درج" ممکن است در بعضی از پروژه‌ها متفاوت باشد. در زیر فهرست همهٔ گزینه‌هایی که ممکن است دیده شود، وجود دارد.
  • شمایل تصاویر و رسانه‌ها (نگاره‌ای از کوه‌ها) جعبهٔ رسانه را باز می‌کند.
  • شمایل الگو (به‌شکل یک پازل) به شما اجازه می‌دهد الگوها را ویرایش کنید.
  • The "Table" item allows you to insert a table.
  • The "نظر" item (a speech balloon) allows you to insert comments that are not visible to readers; these comments can be seen only when in edit mode, where they are indicated by an exclamation mark icon. In edit mode, pressing on the exclamation mark icon allows you to edit or delete the comment.
  • آیکون "هیروگلیفیک‌ها" ( سمبل ankh- ☥) شما را قادر می سازد یک قراردهنده ی هیروگلیف وارد کنید (پایین را ببینید).
  • The "Code block" item allows you to insert code.
  • "نت موسیقی "به شما اجازه می دهد که نت های موسیقی را وارد کنید.
  • شمایل گالری (شامل چند نگاره) به شما اجازه می‌دهد نگارخانه‌ای را به صفحه بیفزایید.
  • The "فرمول ریاضی" icon (Σ) opens the formula inserter dialog.
  • آیتم "گراف" اجازۀ جایگذاری یک گراف را می‌دهد.
  • The "امضای شما" item allows you to insert a signature that you use on the project. It will be greyed out (not selectable) when you are editing a type of page (a "namespace "), such as an article, where signatures should not be inserted.
  • شکلک "فهرست منابع" (سه کتاب) پنجره‌ای را نشان می‌دهد که منابع برای خواننده کجا نمایش داده می‌شوند. معمولاُ این مورد یک برا برای هر صفحه مورد نیاز خواهد بود.

Special character insertion: The "نویسه‌ ویژه" (Ω) icon is next to the "درج" menu. When pressed, it displays a dialog showing many special characters. By pressing on a specific character, you place it into the text. These special characters include some standard symbols, diacritics, and mathematical symbols. (This list may be customized locally. See ویرایشگر دیداری/نویسه‌های ویژه for instructions.)

The Edit notices button displays any notices for the page.

The گزینه‌های صفحه menu is to the left of the انتشار تغییرات button and the تغییر ویرایشگر menu. On this menu there is a button to open an تنظیمات صفحه dialog with the following (left side) tabs:
  • رده‌ها allows you to add categories to this page and to adjust how the page is sorted, when displayed within a category by setting a different index to sort with.
  • تنظیمات صفحه allows you to make the page a redirect and adjust options of this redirect, to adjust settings regarding the displaying of the Table of Contents, to disable the edit links next to each heading, and to define the page as a disambiguation page.
  • تنظیمات پیشرفته allows you to adjust the settings regarding indexation of the page by search engines, showing a tab to add a new section, and the displayed title.
  • زبان‌ها shows a list of pages in other languages that are linked to that page.
  • الگوهای استفاده شده shows a list of links to each template used on this page.

The tabs of the گزینه‌ها dialog are also displayed in the گزینه‌های صفحه menu and can be opened by clicking on it. Furthermore the گزینه‌های صفحه menu contains the items نمایش به عنوان چپ به راست or نمایش به عنوان راست به چپ and the item یافتن و جایگزینی, which opens a bar, where you can insert words or regular expressions you are searching for and those to replace them with, together with several buttons for options.


The تغییر ویرایشگر button is next to the انتشار تغییرات button. It allows you to switch to the wikitext editor.

در حال انتشار تغییرات

When you are finished editing, press the blue "انتشار تغییرات" button in the toolbar. If you have made no changes, the button will be disabled (grayed out). To cancel all your editing changes, close your browser window, or press the "خواندن" tab above the edit toolbar.

کلیک بر روی دگمه سبز "ذخیره سازی صفحه" پنجره‌ای را باز می‌کند که در آن می‌توانید خلاصه‌ای از عملکرد خود را وارد کنید یا ویرایش خود را به عنوان ویرایش جزئی علامت بزنید و یا انتخاب کنید که آیا می‌خواهید ویرایش‌هایی را که در آینده در این صفحه انجام می‌شود ببینید یا نه.

شماره نشان می‌دهد که چه اندازه فضا در خلاصه ویرایش شما باقی مانده است. همچنین می‌توانید پیش از ذخیره‌سازی تغییراتتان آنها را بازبینی کنید و مطمئن شوید که این تغییرات آن گونه که قصد داشتید انجام شده‌اند.

The "خلاصه ویرایش" button returns you to the page you were editing. You can publish all of your changes later.

ویرایش پیوندها

پیوندها می‌توانند با شکلک "پیوند" (پیوندها در زنجیره) در نوار ابزار اضافه شوند، همچنین می‌توانید از کلید میانبر Ctrl+K در ویندوز و یا ⌘ Command+K در مک استفاده کنید.

If you select (highlight) text and then press the "پیوند" button, that text will be used in creating the link. For a link that involves only one word, you can either select that word or just put the cursor within that word.


چه از دکمه استفاده کنید چه از کلید میانبر، پنجره‌ای باز خواهد شد که در آن می‌توانید پیوند خود را (داخلی یا بیرونی) بنویسید. ویرایشگر دیداری می‌کوشد تا با نشان دادن پیوندهای پیشنهادی در وارد کردن پیوندهای درون ویکی (پیوند به سایر صفحات ویکی) به شما یاری رساند.

The link tool will try to help with internal links by searching for likely matches. پس از اینکه که پیوند را وارد و یا انتخاب کرده‌اید، کلید ↵ Enter را می‌توانید فشار دهید و بیرون جعبه را کلیک کنید، یا شکلک (<) را فشار دهید. پیوند شما بر روی صفحه ویرایشگر دیداری پدیدار خواهد شد، ولی تا زمانی که آن را ذخیره نکنید ذخیره نخواهد شد.


برای پیوند دادن به یک صفحه وب در وب سایت دیگر ، روند مشابه است: برگه «وب‌گاه بیرونی» را انتخاب کنید و یک URL را در کادر وارد کنید.

پیوندهای خارجی بدون برچسب، مشابه این مورد هستند: [۱] You can add these by placing your cursor away from any word (e.g., after a space). Open the link tool by pressing on the button or pressing the shortcut keys. Type the URL in the box, and press the "انجام شد" button to insert the link.

To change or remove an existing link, press within the text for that link, then press the "پیوند" icon that appears near it. The dialog will appear, for editing. You can also get to the dialog with the Ctrl+K keyboard shortcut. When a link is selected, it appears as blue framed.

سپس می‌توانید هدف پیوند را ویرایش کنید، یا آن‌ها را با هم از طریق فشار دادن آیکن "حذف" در گوشه بالای سمت راست پنجره حذف کنید. You can also open the link's target in another window by pressing on the copy of the link in the dialog box. (You might want do this to check if an external link is valid.)

If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press :

  • Pressing it once will escape the link editing dialog and put your cursor at the end of the element linked (blue framed, to edit this element)
  • Pressing it twice will put the cursor after the element linked, ready to type the rest of your text.

To edit the link label of an existing link, press within the link label and type the new one. But if you want to replace the entire label, please note:

  • If you have selected (highlighted) the entire link label, the link will be deleted by typing any key.
  • To edit the link label directly without deleting it, put the cursor within that link label, use the backspace and delete keys (no more than necessary), and a narrow blue link area will remain there. Now you may type in the new label for the kept link.
  • You can also link to categories, files and more.

ویرایش منابع

For further information, see Help using citation templates or Help using citoid's خودکار tab

Determining which system is in place

Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "یادکرد" menu does not include any citation templates. If your wiki uses this system, then everything you need to know about footnotes is on this page.

In the second system, you again start by pressing the یادکرد button. Then a dialog box opens, which includes several popular citation templates set up for quick access in the "دستی" tab. If your wiki uses this system, then you will find more details at Help:VisualEditor/User guide/Citations-Templates

In the third system, you again start by pressing the یادکرد button. Then a dialog box opens, which includes an automatic citation process using the citoid service under the Automatic tab. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full

ویرایش منابع موجود

To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "منبع" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "ویرایش" button will open a dialog where you can edit the reference.

For the "منبع" icon, pressing "ویرایش" opens the reference dialog. To start changing the reference information, press on it.

بسیاری از ویکی‌ها الگوهایی را برای تغییر شکل منابع به کار می‌برند که از استاندارد بخصوصی پیروی می‌کند. هنگامی که منبعی موجود را که محتویات آن به هنگام انتخاب آبی می‌شود ویرایش می‌کنید متوجه این موضوع می‌شوید.

If a template was used and you press on the reference information, then the الگو icon (puzzle piece) will appear with some information. Press on the "ویرایش" button to edit the content of the template in the template editor dialog.


If what appears when you press on a reference is an icon for a standard template for citations (an example is at right), then pressing "ویرایش" will open the template editor dialog.

Inside the template editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content will show, initially. To add fields, press on "افزودن" at the bottom of the editor.

Press on "اعمال تغییرات" when you are done.

به کاربردن دوباره یک منبع موجود

If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.

برای استفاده دوباره از یک منبع موجود نشانگر موس را در جایی که در متن می‌خواهید آن را بیافزایید بگذارید و بر روی شکلک "منبع" (نشان چوب الف) در نوارابزار کلیک کنید.

(Note: If your wiki has the second or third footnote system described above, you'll see a "استفادهٔ مجدد" tab, in a dialog, instead of a "استفادهٔ مجدد" item on the "یادکرد" menu.)


اگر منابع بسیار وجود دارند می‌توانید نوار جستجو را (که برچسب "چه چیزی را می‌خواهید منبع‌دهی کنید؟" دارد)، به کار ببرید تا فقط منابعی را که با متن داده شده جور در می‌آیند نشان داده شوند. منبعی که می‌خواهید دوباره آن را در متن به کار ببرید پیدا کنید و آن را انتخاب کنید.

افزودن منبعی جدید

برای افزودن منبعی نو نشانگر موس را در جایی که می‌خواهید منبع بیافزایید قرار دهید و بر روی آیکن "منبع" (نشان چوب الف) در نوارابزار کلیک کنید. Then click "پایه".

استفاده از استناد "پایه"

Shown here is what you will see if you select the basic references item. در ویرایشگر منبع می‌توانید منبع خود را افزوده، ویرایش، و یا نوع قالب آن را مشخص کنید.

می‌توانید منبعی را وابسته به گروهی خاص کنید. این مورد برای نشان دادن گروه‌هایی از منابع با ابزار "فهرست منابع" به کار می‌روند.


اگر دارید منبع جدیدی را می‌افزایید و می‌خواهید الگویی را در آن قرار دهید، بر روی شکلک تراکنش (قطعه پازل) در نوارابزار ویرایشگر منبع کلیک کنید.

سپس الگوی مورد نظر خود را جستجو کنید. آن را بیافزایید و مانند یک الگوی موجود آن را ویرایش کنید.

بر روی "انجام تغییرات" کلیک کنید و به ویرایشگر منبع بازگردید و دوباره "انجام تغییرات" را کلیک کنید تا به صفحه بازگردید.


اگر قبلا لیستی از منابع در صفحه وجود ندارد (مثلا اگر در حال افزودن نخستین منبع در صفحه هستید)، باید آن را بیافزایید تا متن منبع شما نشان داده شود.

نشانگر موس را جایی که می‌خواهید منابع نشان داده شوند قرار دهید(معمولا در پایین صفحه) و شکلک "فهرست منابع" را کلیک کنید (سه کتاب) تا آن را بیافزایید.


اگر گروهی از منابع را ایجاد کردید، می‌توانید گروهی را در این پنجره مشخص کنید که منابع با انتخاب شما به آن تعلق می‌گیرند.

The final step in the References list dialog is to press "درج".

استفاده از الگوهای استاندارد ارجاع

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 ویرایشگر دیداری/ابزار یادکرد .)

Pressing on a template icon such as "Cite book" will take you into the template 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.

To add more parameters, scroll down in the template editor and press on the "افزودن" option.

Press on "درج" when you are done.

ویرایش نگاره‌ها و پرونده‌های رسانه‌ای دیگر

ویرایش نگاره‌ها

برای افزودن یک تصویر جدید (یا پرونده رسانه‌ای دیگر) به صفحه، شکلک "رسانه" در نوارابزار (تصویر کوهستان) را کلیک کنید.

کلیک بر روی شکلک "تصاویر و رسانه‌ها" پنجره‌ای را باز می‌کند که به صورت خودکار ویکی‌انبار را برای پرونده‌های رسانه‌ای مربوط به صفحه‌ای که در حال ویرایش آن هستید جستجو می‌کند.

می‌توانید پرونده‌های رسانه‌ای دیگری را با تغییر در متن جعبه جستجوی پنجره باز شده جستجو کنید.

برای انتخاب یک پرونده روی یک انگشتی کلیک کنید.

This places the image onto the page you are editing.


پنجره رسانه به شما اجازه می‌دهد که متنی حاوی قالب و پیوند به آن افزوده و یا آن را ویرایش کنید.

The media dialog also allows you to add alternative text captions, to help users who use screen readers, or who have disabled image display.

You can also set various parameters for the image in the "تنظیمات پیشرفته" window. These include the alignment, the type, and size of the image.

پس از این که کار خود را به پایان رساندید بر روی دکمه "اعمال تغییرات" کلیک کنید تا پنجره را ببندید و به ویرایشگر صفحه بازگردید.

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 also drag and drop an image to a place higher or lower on the page.

بارگذاری تصاویر

You can upload images from a tab in the media dialog, or by dragging and dropping a file into the editor, or by pasting an image from your clipboard.

Press the "بارگذاری" tab and select an image from your computer. You can type the file name, or drag an image into the box. If you dragged and dropped an image directly into the editor, or pasted one from your clipboard, this tab will open automatically.

You need to describe the image and add categories to it so that other people can find it.

The image will be inserted into the page when you are done.

ویرایش گالری رسانه

To add a new gallery, press the "گالری" icon (a set of photos) on the "درج" menu. (If you don't see this icon on that menu, then your local wiki has decided to delay implementing this functionality in the visual editor.)

To edit an existing gallery in the visual editor, press that gallery. Then, near the bottom of the gallery, press the gallery icon (a set of photos). This brings up the gallery editor, with the full list of images included in the gallery.
The gallery editor is currently a simple box that allows you to edit existing galleries using wikitext markup. To add a new image to an existing gallery, type the file name, followed by a bar (|) and the caption for that image. You must put each image in the gallery on its own line. You can also edit this list to remove or rearrange images or to change captions.

When you press the "انجام شد" button, you will exit the gallery editor. You should then see your changes, with the gallery as it will now appear to readers.

Remember that exiting the gallery editor does not publish your changes. As with other changes made using the visual editor, you must publish the entire page in order to publish your work.

ویرایش الگوها

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

برای افزودن یک الگوی جدید به صفحه، نشانگر موس را در جایی که الگو را می‌خواهید بگذارید قرار دهید و شکلک "تراگنجانش" (قطعه پازل) را در نوارابزار کلیک کنید. Then open the درج menu and select " الگو". Alternatively, type two curly brackets {{ to open the same dialog.
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.

Screenshot of the template search field in the Visual Editor

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 " الگو". Then select the "ویرایش" link or double click on the template itself to open the template.
Screenshot of the VisualEditor interface with a template selected

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.
Screenshot of hidden templates in the Visual Editor interface

پارامترهای الگو

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 TemplateData , 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.

Screenshot of template parameters in the Visual Editor interface
Template parameters in the Visual Editor interface

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.

Screenshot of template parameters in the Visual Editor interface
Interface for adding more parameters to a template in the VisualEditor

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 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.

Screenshot of a template missing TemplateData
Template without TemplateData in the Visual Editor

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.

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.

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.

Screenshot of the interface to edit multi-part template content in the VisualEditor
Editing multi-part template content in the VisualEditor

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.

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.

Screenshot of the VisualEditor template interface showing an embedded template
Embedded template in the VisualEditor

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.

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.


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.
Screenshot of the button to remove a template
Removing a template in the VisualEditor

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.
Screenshot of editing a template on a mobile device
Editing a template on mobile in the VisualEditor

جایگزینی الگوها

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 subst:<template name>. Then press the blue “افزودن” button.

When you’re finished, press “درج”, which will insert the template content as you see it.

Screenshot of editor using SUBST to add a template
Adding a template using SUBST in the VisualEditor

Editing lists

You can use the visual editor to create lists, or to change the format of an existing list. There are two types of lists: unordered (bullet) and ordered (numbered).

To start a new list, just press on one of the two menu items shown here. Or, if you already have typed the list (on separate lines), select (highlight) the list you have typed, then press on one of the menu items.


Shown here are examples of the two types of lists: unordered (bullet) and ordered (numbered).

If you want to change the indentation level of part of an existing list, select the part of the list that you want to change.

Then use the menu, or press the Tab key. (The Tab key increases indentation; use the shift key plus the Tab key to decrease indentation)

Here is the result of increased indentation.

You can even mix ordered (numbered) and unordered (bullet) lists, if the list items have different indentations.

ویرایش جدول

از ویرایشگر دیداری می‌توانید برای درج و تغییر جدول استفاده کنید.

You can even import a table by dragging a comma-separated value (.csv) file from your computer into the main editing window.


When you press on "Table", in the "درج" menu, the visual editor inserts a blank four-by-four table.

Now the "Table" menu is available. From that menu, you can add a caption to the top of the table.


To select a cell, press it once.

To edit the contents of the cell (for example, to add content or to correct a spelling error), double press in the cell. Or you can select the cell and then press Return.

To end your editing of a cell, just press elsewhere.


می‌توانید سطر و ستون اضافه کنید.

You can merge cells: Select them, then from the Table menu, press on "Merge cells".

If you merge cells, only the text in one cell is kept; any text in the other cells is deleted when you merge the cells. If you decide that you wanted some or all of the text that was deleted, use the Undo button, move or copy the text you want, then merge the cells again.

You can also split cells that were previously merged. All the content that was in the merged cell will remain in the first cell when you do the split. You can then cut and paste text to other cells, if you want.

ویرایش رده‌ها

برای ویرایش رده‌ها در منوی گزینه‌های صفحه، روی "رده‌ها" کلیک کنید.

دکمه "رده‌ها" پنجره‌ای را باز می‌کند که رده‌های موجود را فهرست می‌کند و به شما اجازه می‌دهد تا موارد تازه را به صفحه بیافزایید.

You also have the option of setting or changing the general (default) sorting key, which determines where the page appears when listed with other pages in the same category.

For example, the default sorting key for the article "George Washington" is "Washington, George". In the category "Presidents of the United States", the article is listed under the letter "W", not the letter "G".


To add a category for a page, type the name of the category into the field "افزودن رده". As you type, the visual editor will search for possible matching, existing categories. You can either select an existing category, or you can add a category that doesn't yet have its own category page. (Until that category page is created, your new category will show as a red link after you publish all your editing changes.)

برای حذف یک رده موجود، روی آن کلیک کرده و سپس روی شکلک «حذف» (سطل زباله) در پنجره‌ای که باز می‌شود کلیک کنید.

Pressing on a category also allows you to specify a sorting key for that specific category. Such a sorting key overrides the default sorting key.


پس از پایان ویرایش رده‌ها روی "اعمال تغییرات" کلیک کنید تا به ویرایشگر صفحه بازگردید.

ویرایش ترجیحات صفحه

To edit a page's settings, press to open the "گزینه‌های صفحه" menu, in the toolbar, and select the "تنظیمات صفحه" button.

The "تنظیمات صفحه" button opens a dialog that shows several options.

You can make a page a redirect to another page by checking the "تغییرمسیر این صفحه به" checkbox, and then typing the name of the page to which you want to send the reader who tries to go to the page that you are editing.

At the bottom is the option to prevent page renames from updating this redirect. This is very rarely used.


You can change whether the page shows a Table of Contents by selecting one of these three buttons. The default option is "در صورت نیاز", which shows a Table of Contents if there are three or more headings.

You can make a page not show edit links next to each section header by checking this checkbox.

Press "اعمال تغییرات" when you are done editing the گزینه‌های صفحه to return to the page editor.

Editing maps

You can add and change maps. See راهنما:ویرایشگر دیداری/نقشه .

ویرایش فرمول‌های ریاضی

To add a new mathematical formula to the page, place your cursor where you want it to be inserted, and press on the "فرمول ریاضی" icon ("Σ") in the "درج" menu on the toolbar.

A window will open in which you can type the formula, using LaTeX syntax. the visual editor will update the formula as you type it, so you can see how it will look as you make changes. Once you are happy with the formula, press the "درج" button.

To edit an existing mathematical formula on the page, press on it and then press on the "Σ" icon that appears. This will open up the formula window, where you make changes.

Mathematical formulae can be placed inline or centered as a block.

Editing musical scores

To add a new musical notation to a page, place your cursor where you want the musical notation to be inserted. Then, from the "Insert" menu on the toolbar, press the "Musical notation" option.

To edit an existing musical notation on the page, double press on it.


This will open the "Musical notation" dialog. Here the notation can be edited by scale, either in ABC or in Lilypond format. You can also link the notation to an audio or MIDI file. Once you are finished, press the "Done" button to close the dialog and publish your changes.

ویرایش فرمول‌های ریاضی و سایر موارد خاص

بعضی موارد، همچون نگارخانه تصاویر، فرمول‌های ریاضی و نت‌های موسیقی هنوز توسط ویرایشگر دیداری پشتیبانی نمی‌شوند. تا زمانی که چنین شود، لازم است جهت افزودن یا تغییر این‌ها، شما به طور مستقیم متن ویکی را ویرایش کنید.

In most cases, the existing items can be edited, but new ones cannot be inserted in the visual editor.

Until they are fully supported, you can copy an existing one from another page, or edit the source wikitext directly.


Switching between the visual and wikitext editors

To switch from the visual editor to the wikitext editor, press the [[ ]] button on the far right of the toolbar.


You'll see a diff. (If you pressed on "چشم‌پوشی از ویرایش‌ها", you'll just see wikitext, ready to edit with the wikitext editor.)

Scroll down, and you'll see the wikitext editing area.


You can also switch from the wikitext editor to the visual editor. To do that, press the pencil icon on the far right of the toolbar.

کلیدهای میان‌بر

بسیاری از ویراستاران عادت دارند تا متن ویکی را خود به طور مستقیم وارد کنند، بخصوص آنها که پررنگ، اریب یا دارای پیوند ویکی هستند. Keyboard shortcuts به شما اجازه می‌دهد تا بلافاصله قالب‌بندی مشابه را وارد صفحه کنید بدون آنکه مجبور باشید بر روی دکمه‌های نوارابزار کلیک کنید. کلیدهای میانبر معمولی و آنها که توسط دیگر ویراستاران استفاده می‌شود در ویرایشگر دیداری کار می‌کنند.

میان‌بر پی‌سی اقدام میان‌بر مک

Ctrl+B پررنگ ⌘ Cmd+B

Ctrl+I متن اریب ⌘ Cmd+I

Ctrl+K وارد کردن پیوند ⌘ Cmd+K

Ctrl+X بریدن ⌘ Cmd+X

Ctrl+C کپی ⌘ Cmd+C

Ctrl+V چسباندن ⌘ Cmd+V

Ctrl+Z خنثی کردن ⌘ Cmd+Z

Also see the full list of all keyboard shortcuts .