Content deleted Content added
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
|xls = {{#ifexist:Template:ExternalOfficeRenderer|{{ExternalOfficeRenderer|path={{{files|{{{file|}}}}}}}}|[[File:Microsoft_Office_Excel_(2019–present).svg|center|thumb|200px|link={{filepath:{{{files|}}}}}|{{{files|}}}]]}}<span class="d-none">[[file:{{{files|}}}|thumb|class=d-none]]</span> |
|xls = {{#ifexist:Template:ExternalOfficeRenderer|{{ExternalOfficeRenderer|path={{{files|{{{file|}}}}}}}}|[[File:Microsoft_Office_Excel_(2019–present).svg|center|thumb|200px|link={{filepath:{{{files|}}}}}|{{{files|}}}]]}}<span class="d-none">[[file:{{{files|}}}|thumb|class=d-none]]</span> |
||
|xlsx = {{#ifexist:Template:ExternalOfficeRenderer|{{ExternalOfficeRenderer|path={{{files|{{{file|}}}}}}}}|[[File:Microsoft_Office_Excel_(2019–present).svg|center|thumb|200px|link={{filepath:{{{files|}}}}}|{{{files|}}}]]}}<span class="d-none">[[file:{{{files|}}}|thumb|class=d-none]]</span> |
|xlsx = {{#ifexist:Template:ExternalOfficeRenderer|{{ExternalOfficeRenderer|path={{{files|{{{file|}}}}}}}}|[[File:Microsoft_Office_Excel_(2019–present).svg|center|thumb|200px|link={{filepath:{{{files|}}}}}|{{{files|}}}]]}}<span class="d-none">[[file:{{{files|}}}|thumb|class=d-none]]</span> |
||
|pdf = {{#ifexist:widget: |
|pdf = {{#ifexist:widget:ViewerJS|<div class="pdf text-center Fennec-embed-wrp Fennec-embed-name-youtube">{{#widget:ViewerJS|path={{filepath:{{{files|{{{file|}}}}}}}}}}|[[File:Icon-pdf.svg|center|thumb|200px|link={{filepath:{{{files|}}}}}|{{{files|}}}]]}}<span class="d-none">[[file:{{{files|}}}|thumb|class=d-none]]</span> |
||
|#default = [[file:{{{files|}}}|650px|thumb|center|{{{files|}}} [[media:{{{files|}}}|{{:mediawiki:download}}]] ]] |
|#default = [[file:{{{files|}}}|650px|thumb|center|{{{files|}}} [[media:{{{files|}}}|{{:mediawiki:download}}]] ]] |
||
}} |
}} |
||
Revision as of 19:35, 30 April 2025
A template for rendering files into view switching between galleries and other view in closed knowledge portals.
Simple file
Office files
If the template ExternalOfficeRenderer exists the office file will be rendered using the url in the template. Otherwise the office file type icon will be used.
{{Files|files=על המערכת.docx}}
A template for rendering files into view switching between galleries and other view.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| List of Files name | files | no description | File | required |
| file | file | no description | Unknown | optional |