Persoonlijke instellingen

TestPagina-Bijdragen 2: verschil tussen versies

Uit BeneluxSpoor.net - Encyclopedie
Ga naar: navigatie, zoeken
k
k
Regel 17: Regel 17:
  
 
{|
 
{|
|<http://www.beneluxspoor.org/bnls/RK947_1.jpg>
+
|http://www.beneluxspoor.org/bnls/RK947_1.jpg
 
|-
 
|-
 
|Volgnr = 01
 
|Volgnr = 01

Versie van 1 okt 2016 om 18:03


Testen van linken naar plaatjesserver

Via link:

RK947_1.jpg


Via link met aanvulling:

RK947_1.jpg?.jpg


Via tabel:

RK947_1.jpg
Volgnr = 01
Relaiskast
Foto gemaakt door: Klaas Zondervan


Via sjabloon: Sjabloon:Afbeelding Plaatjesserver


Instellingen:
$wgAllowExternalImages

When set to true, users can bring in an inline image from an external URL. They do this simply by sticking the full URL into the wiki text (without any other surrounding markup being required) That is the direct URL to an image resource on another website. When set to false, the full URL appears as a text link to the image.

Note that if you want to allow images from a single trusted source (e.g. from within your own domain) then set this to false, and use
$wgAllowExternalImagesFrom.
Extensie:

MediaWiki will only recognize image URLs with image file extensions; you may need to add a 'fake' parameter to the end of some URLs, like "&junk=junk.png" or "?.png" to force the parser to realize the Image_URL actually points to an image, so that it will embed it.

Onderschrift:

You cannot easily put image caption for external images. One solution might be using table.

{|
|<image url>
|-
|caption
|}
Icoon aan het eind van de link verwijderen

If you enable $wgAllowExternalImages (which allows external images from any domain) or $wgAllowExternalImagesFrom (which restricts the list of domains), anyone can then easily create an "external" link to an "external" image.
External simply means: using the full URL rather than a local link, so you can link locally, but you need to use the full URL. The plainlinks class is used to remove the 'external link' icon:

After enabling $wgAllowExternalImages, you can also embed an image by simply typing the URL of the image.

For example

http://domain.com/images/image_file.png

, will display the image on screen.

<span class="plainlinks">[http://linktopage http://linktoimage]</span>


Aanvullende informatie:

Meer info Afbeeldingen Style Afmetingen plaatjes


Test Categorie-boom


EDIT