Changes

Add TemplateData and fix icon names
Line 17: Line 17:  
   | {{{image|}}}
 
   | {{{image|}}}
 
   | [[File:{{#switch:{{{type|}}}
 
   | [[File:{{#switch:{{{type|}}}
     |warning |speedy  = Commons-emblem-urgent
+
     |warning |speedy  = TTSCpedia_warning_icon
     |serious |delete  = Gnome-emblem-important
+
     |serious |delete  = TTSCpedia_warning_icon
     |stop            = Commons-emblem-hand
+
     |stop            = TTSCpedia_stop_icon
     |move            = Go-next-purple
+
     |move            = TTSCpedia_move_icon
     |issue |content  = Commons-emblem-issue
+
     |issue |content  = TTSCpedia_important_icon
     |query            = Commons-emblem-query
+
     |query            = TTSCpedia_query_icon
     |style            = Gnome-edit-clear
+
     |style            = TTSCpedia_cleanup_icon
     |license          = Commons-emblem-copyright
+
     |license          = TTSCpedia_copyright_icon
     |legal            = Commons-emblem-legal
+
     |legal            = TTSCpedia_legal_icon
     |honor            = Gnome-help-about
+
     |honor            = TTSCpedia_honor_icon
     |growth          = Dialog-apply
+
     |growth          = TTSCpedia_growth_icon
     |protection      = Gnome-security-medium
+
     |protection      = TTSCpedia_protection_icon
     |message          = Tango-style info icon
+
     |message          = TTSCpedia_info_icon
     |notice |#default = Commons-emblem-notice
+
     |notice |#default = TTSCpedia_Sam_icon
 
     }}.svg|45x45px|class=noviewer|{{#ifeq:{{NAMESPACE}}|Template||link=}}]]
 
     }}.svg|45x45px|class=noviewer|{{#ifeq:{{NAMESPACE}}|Template||link=}}]]
 
   }}</td>
 
   }}</td>
Line 40: Line 40:  
{{Pp-template}}
 
{{Pp-template}}
 
{{Documentation}}
 
{{Documentation}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"description": "Name of the template",
 +
"type": "unknown",
 +
"suggested": true
 +
},
 +
"demospace": {
 +
"example": "{{{demospace|}}} / main / talk / file / category / other"
 +
},
 +
"type": {
 +
"description": "Specifies the default color and icon of this message box.",
 +
"example": "speedy / delete / content / style / notice / move / protection",
 +
"type": "unknown",
 +
"default": "notice",
 +
"suggested": true
 +
},
 +
"image": {
 +
"type": "wiki-file-name"
 +
},
 +
"imageright": {
 +
"type": "wiki-file-name"
 +
},
 +
"style": {},
 +
"textstyle": {},
 +
"text": {
 +
"type": "content",
 +
"suggested": true
 +
},
 +
"small": {},
 +
"smallimage": {
 +
"type": "wiki-file-name"
 +
},
 +
"smallimageright": {
 +
"type": "wiki-file-name"
 +
},
 +
"smalltext": {
 +
"type": "content"
 +
},
 +
"plainlinks": {
 +
"type": "unknown"
 +
}
 +
},
 +
"format": "block"
 +
}
 +
</templatedata>
 
</noinclude>
 
</noinclude>