Help:How to edit a page "Tables", "Variables",Templates"

Wikipedia-с

Contents

[Өөрчлөх] Tables

[Өөрчлөх] Placement of the Table of Contents (TOC)

At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.

[Өөрчлөх] Tables

There are two ways to build tables:

For the latter, and a discussion on when tables are appropriate, see Wikipedia:How to use tables.

[Өөрчлөх] Variables

(See also m:Help:Variable)

Code Effect
{{CURRENTMONTH}} 04
{{CURRENTMONTHNAME}} Дөрөвдүгээр сар
{{CURRENTMONTHNAMEGEN}} Дөрөвдүгээр сар
{{CURRENTDAY}} 14
{{CURRENTDAYNAME}} Бямба
{{CURRENTYEAR}} 2007
{{CURRENTTIME}} 12:00
{{NUMBEROFARTICLES}} 470
{{PAGENAME}} How to edit a page "Tables", "Variables",Templates"
{{NAMESPACE}} Help
{{localurl:pagename}} ../../../p/a/g/Pagename.html
{{localurl:Wikipedia:Sandbox|action=edit}} ../../../s/a/n/Wikipedia%7ESandbox_ae3e.html
{{SERVER}} http://mn.wikipedia.org
{{ns:1}} Talk
{{ns:2}} User
{{ns:3}} User_talk
{{ns:4}} Wikipedia
{{ns:5}} Wikipedia_talk
{{ns:6}} Image
{{ns:7}} Image_talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki_talk
{{ns:10}} Template
{{ns:11}} Template_talk
{{ns:12}} Help
{{ns:13}} Help_talk
{{ns:14}} Category
{{ns:15}} Category_talk
{{SITENAME}} Wikipedia

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages).

[Өөрчлөх] Templates

The MediaWiki software used by Wikipedia has limited support for template inclusion. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as This article is a stub. You can help Wikipedia by expanding it. when the page is saved. Other commonly used ones are {{disambig}} for disambiguation pages and {{spoiler}} for spoiler warnings. See Wikipedia:Template messages for the complete list.

[Өөрчлөх] See also