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

From blackwiki
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

Template:Template shortcuts

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.