Difference between revisions of "Template:Information/doc"
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>{{...") |
what>Adem20 m |
||
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> |
Revision as of 13:49, 27 February 2017
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>