Difference between revisions of "Template:Portal icon demonstration/doc"

From blackwiki
Jump to navigation Jump to search
test>John of Reading
(Update, three images allowed)
test>John of Reading
(Two more...)
Line 27: Line 27:
 
                         "label": "Image name",
 
                         "label": "Image name",
 
                         "description": "A third image.",
 
                         "description": "A third image.",
 +
                        "type": "wiki-file-name",
 +
                        "required": false,
 +
                },
 +
                "4": {
 +
                        "label": "Image name",
 +
                        "description": "A fourth image.",
 +
                        "type": "wiki-file-name",
 +
                        "required": false,
 +
                },
 +
                "5": {
 +
                        "label": "Image name",
 +
                        "description": "A fifth image.",
 
                         "type": "wiki-file-name",
 
                         "type": "wiki-file-name",
 
                         "required": false,
 
                         "required": false,

Revision as of 21:34, 10 October 2016

This template formats an image using the same size and styling that {{Portal}} would use, were the image to be configured as a portal icon. It is intended for use at Template talk:Portal when discussing proposed changes to the portal icon list.

Usage

The template accepts up to three unnamed parameters, the names of images. Do not include the "File:" prefix.

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Portal icon demonstration

Syntax error in JSON.