Difference between revisions of "Template:Related images"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | <noinclude> | + | <noinclude>This is the "Image" template used to store and display metadata for uploaded files. |
| − | This is the | + | |
| − | + | [[Category:Info templates]] | |
| − | < | + | </noinclude><includeonly>{{#ifeq: {{SUBPAGENAME}} |
| − | {{ | + | |{{PAGENAME}} |
| − | | | + | | |
| − | | | + | |[[File:{{ROOTPAGENAME}}|1060px|link=File:{{ROOTPAGENAME}}]] |
}} | }} | ||
| − | + | =={{int:filedesc}}== | |
| − | + | <table style="width: 100%;" cellpadding="4"> | |
| − | < | + | <!-- Existence --> |
| − | + | {{#if: {{#show: {{FULLPAGENAME}} |?Media type }} | |
| − | ! | + | |{{#set: Is existing file=true }} |
| − | |- | + | |{{#set: Is existing file=false }} |
| − | + | }} | |
| − | + | ||
| − | </includeonly> | + | <!-- Caption --> |
| + | <tr style="vertical-align: top"> | ||
| + | <td id="fileinfotpl_desc" class="fileinfo-paramfield"> | ||
| + | <td class="description"> | ||
| + | {{#if: | ||
| + | {{{caption|{{{Caption|}}} }}} | ||
| + | |{{#show: {{FULLPAGENAME}} |?Has file caption |mainlabel=- |headers=hide }} {{#ifeq: {{SUBPAGENAME}} | ||
| + | |en | ||
| + | |{{{caption|{{{Caption|}}} }}} | ||
| + | |{{#set: Has file caption={{{caption|{{{Caption|}}} }}}@{{annotatedlanguage: }} }} | ||
| + | }} | ||
| + | |||
| + | }} | ||
| + | </td> | ||
| + | </tr> | ||
| + | </table> __NOEDITSECTION__ | ||
| + | [[Category:File{{#translation:}}]]</includeonly> | ||
Revision as of 19:46, 22 August 2020
This is the "Image" template used to store and display metadata for uploaded files.