Module:TNT/preload-doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

/*

Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

*///

{
	// !!!!! All comments will be automatically deleted on save !!!!!

	// Optional "sources" field to describe the sources of the TemplateData.  Can use Wiki Markup
	"sources": "{{ll/s|iw=mw|Help:TemplateData|nsp=0}} for {{Q|Template ID}}, original work by [[User:Example]].",

	// Optional "description" field to describe this template
	"description": {
		"en": "template description"
	},

	// Mandatory "license" field.
	// Recommended license: CC0-1.0.
	// Please uncomment one of the licenses:
	// "license": "CC0-1.0", // Creative Commons Zero
	// "license": "CC-BY-1.0", // Creative Commons Attribution 1.0
	// "license": "CC-BY-2.0", // Creative Commons Attribution 2.0
	// "license": "CC-BY-2.5", // Creative Commons Attribution 2.5
	// "license": "CC-BY-3.0", // Creative Commons Attribution 3.0
	// "license": "CC-BY-4.0", // Creative Commons Attribution 4.0
	// "license": "CC-BY-4.0+", // Creative Commons Attribution 4.0 or later version
	// "license": "CC-BY-SA-1.0", // Creative Commons Attribution-Share Alike 1.0
	// "license": "CC-BY-SA-2.0", // Creative Commons Attribution-Share Alike 2.0
	// "license": "CC-BY-SA-2.5", // Creative Commons Attribution-Share Alike 2.5
	// "license": "CC-BY-SA-3.0", // Creative Commons Attribution-Share Alike 3.0
	// "license": "CC-BY-SA-4.0", // Creative Commons Attribution-Share Alike 4.0
	// "license": "CC-BY-SA-4.0+", // Creative Commons Attribution-Share Alike 4.0 or later version
	// "license": "ODbL-1.0", // ODC Open Database License v1.0
	// "license": "dl-de-zero-2.0", // Data licence Germany - Zero - Version 2.0
	// "license": "dl-de-by-1.0", // Data licence Germany – attribution – Version 1.0
	// "license": "dl-de-by-2.0", // Data licence Germany – attribution – version 2.0

	// Mandatory fields schema. Each field must be an object with
	//   "name" being a valid identifier with consisting of letters, digits, and "_"
	//   "type" being one of the allowed types like "number", "string", "boolean", "localized"
	"schema": {
		"fields": [
			// You may delete columns that aren't necessary
			// Currently unsupported properties: "aliases", "suggestedvalues"
			{
				"name": "name",
				"type": "string"
			},
			{
				"name": "type",
				"type": "string"
			},
			{
				"name": "required",
				"type": "boolean"
			},
			{
				"name": "suggested",
				"type": "boolean"
			},
			{
				"name": "default",
				"type": "string"
			},
			{
				"name": "example",
				"type": "string"
			},
			{
				"name": "autovalue",
				"type": "string"
			},
			{
				"name": "label",
				"type": "localized"
			},
			{
				"name": "description",
				"type": "localized"
			}
		]
	},

	// array of data, with each row being an array of values
	"data": [
		[
			"1",
			"unknown",
			false,
			false,
			null,
			null,
			null,
			{
				"en": "parameter label"
			},
			{
				"en": "parameter description"
			}
		]
	]
}
//