Difference between revisions of "Template:Portal icon demonstration/doc"
Jump to navigation
Jump to search
test>John of Reading (Documentation for Template:Portal icon demonstration) |
test>John of Reading (Update, three images allowed) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | The template accepts | + | The template accepts up to three unnamed parameters, the names of images. Do not include the "File:" prefix. |
==Template data== | ==Template data== | ||
| Line 17: | Line 17: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": true, | "required": true, | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Image name", | ||
| + | "description": "A second image.", | ||
| + | "type": "wiki-file-name", | ||
| + | "required": false, | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Image name", | ||
| + | "description": "A third image.", | ||
| + | "type": "wiki-file-name", | ||
| + | "required": false, | ||
} | } | ||
} | } | ||
Revision as of 07:03, 27 November 2015
| 40px | This is a documentation subpage for Template:Portal icon demonstration. It contains usage information, categories and other content that is not part of the original template page. |
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.