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:
- in special Wiki-markup (see MediaWiki User's Guide: Using tables)
- with the usual HTML elements: <table>, <tr>, <td> or <th>.
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}} | 11 |
| {{CURRENTMONTHNAME}} | Арваннэгдүгээр сар |
| {{CURRENTMONTHNAMEGEN}} | Арваннэгдүгээр сар |
| {{CURRENTDAY}} | 24 |
| {{CURRENTDAYNAME}} | Баасан |
| {{CURRENTYEAR}} | 2006 |
| {{CURRENTTIME}} | 11:25 |
| {{NUMBEROFARTICLES}} | 368 |
| {{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
- The latest Meta-Wikimedia version of this page
- UseModWiki and Wikipedia:MediaWiki.
- HTML tag.
- Wikipedia:Protection policy

