No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
A template for rendering files into view switching between galleries and other view. |
A template for rendering files into view switching between galleries and other view. |
||
== Simple file == |
|||
<pre><nowiki>{{Files|files=JustLogo.svg}}</nowiki></pre> |
|||
{{Files|files=JustLogo.svg}} |
|||
== Multiple files == |
|||
<pre><nowiki>{{Files|files=JustLogo.svg;Fox on shelf.jpg}}</nowiki></pre> |
|||
{{Files|files=JustLogo.svg;Fox on shelf.jpg}} |
|||
== Office files == |
|||
</noinclude> |
</noinclude> |
||
<includeonly>{{#if:{{#explode:{{{files|}}}|;|1}}| |
<includeonly>{{#if:{{#explode:{{{files|}}}|;|1}}| |
||
Revision as of 01:22, 20 February 2022
A template for rendering files into view switching between galleries and other view.
Simple file
{{Files|files=JustLogo.svg}}
{{#if:|
-
JustLogo
{{#switch:svg |docx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg |doc = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg |pptx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg |ppt = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg |xlsx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg |xls = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.iohttps://templates.openfox.io/w/uploads/templates/7/75/JustLogo.svg ||[[file:JustLogo.svg|650px|thumb|center|JustLogo.svg [[media:JustLogo.svg|
Multiple files
{{Files|files=JustLogo.svg;Fox on shelf.jpg}}
{{#if:Fox on shelf.jpg|
-
JustLogo
-
Fox on shelf
{{#switch:jpg |docx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io |doc = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io |pptx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io |ppt = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io |xlsx = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io |xls = https://view.officeapps.live.com/op/embed.aspx?src=https://templates.openfox.io ||[[file:JustLogo.svg;Fox on shelf.jpg|650px|thumb|center|JustLogo.svg;Fox on shelf.jpg [[media:JustLogo.svg;Fox on shelf.jpg|
Office files
A template for rendering files into view switching between galleries and other view.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| File of Files name | files | no description | File | required |
| file | file | no description | Unknown | optional |