แม่แบบ:กรุ/doc

ใส่แม่แบบนี้ไว้บนสุดของหน้าที่เป็นกรุ หรือข้อมูลเก่าของหน้าเดิม
adds a banner to the top of archive pages. The template suppresses section editing and the new section button on the page to discourage editors from posting comments to archived pages where they won't be seen.Edit buttons are suppressed by emitting  and  into the wikitext.

**การใช้งาน**
No parameters are needed for this template to work; just place Archive near the top of each archive page. It will automatically add a row of links to navigate through numbered archive pages that are named in the standard "Archive n" format. Some optional parameters are detailed below.
All archives from Archive 1 to Archive n, must exist consecutively. If there is a gap in numbering, where some archive pages don't exist, the template may not display the links to the higher numbered archives. The header shows the previous 3 and next 3 pages in the archives (only if they exist). The first and last navigable links intelligently search out pages 5 back or ahead and, if they do not exist, show the next nearest.
Archives must also be named in standard "Archive n" form. If they are not, you can move them to the appropriate names first; see Wikipedia:Moving a page for more information. Alternatively, you can use the prefix parameter to let the module know what prefix it should use.

**ทางเลือกตัวแปรเสริม**
 1 - Option to use the navigation bar with no message text. Example: .-  - Manually specifies the prefix of the archive page for archives in a non-standard naming format. For example, for Wikipedia:Administrators' noticeboard/IncidentArchive902, you would use IncidentArchive. HTML entities are decoded for this parameter; for example, to insert a space at the end of the prefix, you can use &#32;.-  - Specifies the maximum number of links to be used. The default is 7.- yes / no - Normally, the template does not display red links. To display the first red link after the highest archive, you can use no.- none / -  - Use your own image, or none, as the logo in the navigation bar. Alternatively, you can place an image on the right hand side or have images on both sides.-  - Replaces the header message with your own message.-  - Specifies a date range for the period covered, e.g. March 2006 to April 2007. This parameter is free-form, so you can use whatever format you like.-  - Formats the box and text in any way you prefer. You may find the guidance at MOS:COLORCODING helpful.

**ข้อมูลแม่แบบ**
{
	"params": {
		"1": {
			"label": "Suppress message",
			"description": "This will suppress displaying the message within in the box, only if it's value is \"1\". Any other value will have no effect.",
			"type": "number"
		},
		"prefix": {
			"label": "Prefix",
			"description": "The prefix used instead of \"Archive\" in the expected naming system of \"Archive n\".",
			"example": "IncidentArchive",
			"type": "string"
		},
		"links": {
			"label": "Links",
			"description": "Maximum of navigation links to display below banner. Default is 7.",
			"type": "number"
		},
		"noredlinks": {
			"label": "Final red link",
			"description": "Defaults to \"yes\" and does not display a final red link. To display the first red link after the highest archive, use \"no\".",
			"type": "string"
		},
		"style": {
			"label": "Box style",
			"description": "CSS properties for the box/banner.",
			"type": "string"
		},
		"image": {
			"label": "Image",
			"description": "Use a custom image in the banner, or \"none\" for no image.",
			"type": "string"
		},
		"imageright": {
			"label": "Image right",
			"description": "Displays an image on the right side of the banner. Defaults to \"none\".",
			"type": "string"
		},
		"text": {
			"label": "Text",
			"description": "Replaces the default message in the banner.",
			"type": "string"
		},
		"period": {
			"label": "Time period",
			"description": "Specifies a covered time period to display in the banner.",
			"type": "string"
		},
		"textstyle": {
			"label": "Text style",
			"description": "CSS properties for the text style.",
			"type": "string"
		}
	},
	"description": "This templates adds a banner to the top of archive pages.",
	"paramOrder": 
		"1",
		"prefix",
		"links",
		"noredlinks",
		"image",
		"imageright",
		"text",
		"period",
		"style",
		"textstyle"
	
}

**ตัวอย่าง**
Examples of archived talk pages using this template:- Talk:2009 swine flu pandemic/Archive 5 - WT:WikiProject College football/Archive 5

**หมวดหมู่ติดตาม**
 หน้ากรุที่มีหน้าหลักเป็นหน้าเปลี่ยนทาง ติดตามหน้าซึ่งหน้าย่อยที่เก็บถาวรไม่ได้ถูกย้ายไปพร้อมกับหน้าหลักอย่างถูกต้อง

**หมายเหตุ**

**ดูเพิ่ม == 
*Archives for including links to the talk page's archive(s) on the talk page itself.
*Webarchive for linking to web archiving services such as the Wayback Machine, WebCite and all other web archiving services.
*Oldid- กล่องกรุ- กล่องกรุ/หน้าใน