Vojna Enciklopedija:Embed slika sa Flickr-a — разлика између измена

Iz Vojne Enciklopedije
Пређи на навигацију Пређи на претрагу
м (1 измена увезена)
 
м (1 измена увезена)
 
(нема разлике)

Тренутна верзија на датум 4. фебруар 2021. у 22:17

Usage

Embed a Flickr image using the tag:

 <flickr>id|type|location|size|caption</flickr>

The only mandatory parameter is id. The others can be omitted and the defaults will be applied from $wgFlickrAPIDefaults.

id
The Flickr ID of this photo.
type
The display type. This can be set to: thumb, frame or frameless.
location
The horizontal alignment. This can be set to: right, left, center or none.
size
The size to use for the image. This can be set to: s, t, m, - or b. See this page for more info.
caption
The caption to display for the image. If omitted, the default caption will be the photo's title in Flickr. Note that no caption is ever displayed if type is set to frameless.

Primer

<flickr>21219016114|thumb|center|-|Kasetna bomba BLU-97</flickr>

<flickr>21219016114|thumb|left|-|Kasetna bomba BLU-97</flickr>