User:Daniel/Queries/Images: Difference between revisions

From MaRDI portal
example image
Line 6: Line 6:


Images can in principle be displayed via code like  
Images can in principle be displayed via code like  
<pre>[[File:Melissa Little 2017-002.jpg]]</pre>
<pre>[[File:Wikipedia-Marker-commons.svg|thumb|A picture from Wikimedia Commons embedded in this Wiki]]</pre>


This assumes that [https://www.mediawiki.org/wiki/InstantCommons InstanctCommons] is enabled on this wiki and that a file with that file name actually exists on Wikimedia Commons (as it [https://commons.wikimedia.org/wiki/File:Melissa_Little_2017-002.jpg does] in the case of the example given above).
This assumes that [https://www.mediawiki.org/wiki/InstantCommons InstanctCommons] is enabled on this wiki and that a file with that file name actually exists on Wikimedia Commons (as it [https://commons.wikimedia.org/wiki/File:Melissa_Little_2017-002.jpg does] in the case of the example given above).
Line 12: Line 12:
== Example image ==
== Example image ==
''This does not yet work.''
''This does not yet work.''
[[File:Melissa Little 2017-002.jpg]]
 
[[File:Wikipedia-Marker-commons.svg|thumb|A picture from Wikimedia Commons embedded in this Wiki]]

Revision as of 12:35, 19 August 2024

About

This page helps me explore how to use images via queries.

Basics

Images can in principle be displayed via code like

[[File:Wikipedia-Marker-commons.svg|thumb|A picture from Wikimedia Commons embedded in this Wiki]]

This assumes that InstanctCommons is enabled on this wiki and that a file with that file name actually exists on Wikimedia Commons (as it does in the case of the example given above).

Example image

This does not yet work.

A picture from Wikimedia Commons embedded in this Wiki