Дополнительные действия
Gapp (обсуждение | вклад) Новая страница: «<templatedata> { "description": "An infobox template for displaying personal information.", "params": { "name": { "label": "Name", "type": "string", "description": "Name of the person (defaults to page name if not provided).", "default": "{{PAGENAME}}", "required": false }, "image": { "label": "Image", "type": "string", "description": "Filename of the image (without the File: prefix).", "r...» |
Admin (обсуждение | вклад) Нет описания правки |
||
| (не показано 8 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Инфобокс для персон.", | |||
"params": { | |||
"name": { | |||
"label": "Имя", | |||
"type": "string", | |||
"default": "{{PAGENAME}}", | |||
"description": "(если не указано - берётся название страницы)", | |||
"required": false | |||
}, | |||
"image": { | |||
"label": "Пикча", | |||
"type": "wiki-file-name", | |||
"description": "(без префикса Файл:)", | |||
"required": false | |||
}, | |||
"caption": { | |||
"label": "Подпись к пикче", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"irl_name": { | |||
"label": "Настоящее имя", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"birthday": { | |||
"label": "День рождения", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"location": { | |||
"label": "Место жительства", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"nicknames": { | |||
"label": "Псевдонимы", | |||
"type": "string", | |||
"description": "сюда же старые никнеймы", | |||
"required": false | |||
}, | |||
"activity": { | |||
"label": "Род деятельности", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"interests": { | |||
"label": "Интересы", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"imagewidth": { | |||
"label": "Ширина пички", | |||
"default": "200px", | |||
"autovalue": "200px", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"imagewidth", | |||
"caption", | |||
"irl_name", | |||
"birthday", | |||
"location", | |||
"nicknames", | |||
"activity", | |||
"interests" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||