Difference between revisions of "Template:Information/doc"

From FIThydrowiki
Jump to navigation Jump to search
what>Peachey88
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <pre>{{...")
 
m (4 revisions imported: Information box for pictures template)
 
(3 intermediate revisions by 3 users not shown)
Line 15: Line 15:
  
 
}}</includeonly>
 
}}</includeonly>
 +
 +
 +
 +
<templatedata>
 +
{
 +
"description": "A template for showing data on files",
 +
"params": {
 +
"Description": {
 +
"label": "Description",
 +
"description": "A description of the file",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"Source": {
 +
"label": "Source",
 +
"description": "Where the file is from",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"Date": {
 +
"label": "Date",
 +
"description": "File creation date",
 +
"type": "date",
 +
"suggested": true
 +
},
 +
"Author": {
 +
"label": "Author",
 +
"description": "Who made the file",
 +
"type": "string"
 +
},
 +
"Permission": {
 +
"label": "Permission",
 +
"description": "Custom reuse information"
 +
}
 +
}
 +
}
 +
</templatedata>

Latest revision as of 12:48, 8 October 2019

Lua error in package.lua at line 80: module 'Module:Arguments' not found.

Usage

<templatedata> { "description": "A template for showing data on files", "params": { "Description": { "label": "Description", "description": "A description of the file", "type": "string", "suggested": true }, "Source": { "label": "Source", "description": "Where the file is from", "type": "string", "suggested": true }, "Date": { "label": "Date", "description": "File creation date", "type": "date", "suggested": true }, "Author": { "label": "Author", "description": "Who made the file", "type": "string" }, "Permission": { "label": "Permission", "description": "Custom reuse information" } } } </templatedata>