Difference between revisions of "Template:Portal icon demonstration/doc"
Jump to navigation
Jump to search
test>Checkingfax (→Usage: clarify) |
test>Checkingfax (enhance | add shortcuts) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | |||
| + | {{Template shortcuts|PID|Portal demo}} | ||
This template formats an image using the same size and styling that {{tl|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. | This template formats an image using the same size and styling that {{tl|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. | ||
| Line 6: | Line 8: | ||
The template accepts up to five unnamed parameters: the names of up to five images. Note: Do not include the "File:" prefix. | The template accepts up to five unnamed parameters: the names of up to five images. Note: Do not include the "File:" prefix. | ||
| + | |||
| + | == Example == | ||
| + | |||
| + | {{tlx|Portal icon demonstration|School.svg|Campfire3.png|Communications icon.png}} renders as: {{Portal icon demonstration|School.svg|Campfire3.png|Communications icon.png}} | ||
| + | {{clear}} | ||
==Template data== | ==Template data== | ||
| + | |||
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
<templatedata> | <templatedata> | ||
Revision as of 09:55, 25 November 2017
| 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 five unnamed parameters: the names of up to five images. Note: Do not include the "File:" prefix.
Example
{{Portal icon demonstration|School.svg|Campfire3.png|Communications icon.png}} renders as:
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.