Difference between revisions of "Template:Portal icon demonstration"
Jump to navigation
Jump to search
test>Matt Fitzpatrick (sync to new Module:Portal output) |
test>John of Reading (Two more...) |
||
| Line 8: | Line 8: | ||
<span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{2}}}|32x28px|alt=icon]]</span> | <span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{2}}}|32x28px|alt=icon]]</span> | ||
<span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{2}}}|{{{2}}}]]</span> | <span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{2}}}|{{{2}}}]]</span> | ||
| − | </li> | + | </li>}}{{#if:{{{3|}}}| |
| − | }}{{#if:{{{3|}}}| | ||
<li style="display:table-row"> | <li style="display:table-row"> | ||
<span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{3}}}|32x28px|alt=icon]]</span> | <span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{3}}}|32x28px|alt=icon]]</span> | ||
<span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{3}}}|{{{3}}}]]</span> | <span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{3}}}|{{{3}}}]]</span> | ||
| + | </li>}}{{#if:{{{4|}}}| | ||
| + | <li style="display:table-row"> | ||
| + | <span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{4}}}|32x28px|alt=icon]]</span> | ||
| + | <span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{4}}}|{{{4}}}]]</span> | ||
| + | </li>}}{{#if:{{{5|}}}| | ||
| + | <li style="display:table-row"> | ||
| + | <span style="display:table-cell;padding:0.2em;vertical-align:middle;text-align:center">[[File:{{{5}}}|32x28px|alt=icon]]</span> | ||
| + | <span style="display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle">[[:File:{{{5}}}|{{{5}}}]]</span> | ||
</li>}} | </li>}} | ||
</ul> | </ul> | ||
Revision as of 21:33, 10 October 2016
This template displays the format of an image using the same size and styling that the {{Portal}} template 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 found here.
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
This is a template to format a proposed portal image.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image name | 1 | The name of a image. Do not include the File: prefix. | File | required |
| Image name | 2 | A second image. | File | optional |
| Image name | 3 | A third image. | File | optional |
| Image name | 4 | A fourth image. | File | optional |
| Image name | 5 | A fifth image. | File | optional |
| The above documentation is transcluded from Template:Portal icon demonstration/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |