editors, Interface administrators, Administrators
1,787
edits
(→Optional parameters: document embeds feature) |
(update how embeds work) |
||
Line 9:
| Image = (optional)
| Size = (optional)
| Embed = {optional)
| Headerstyle = (optional)
}}
Line 23 ⟶ 24:
* <code>Image</code> = the filename of the image to display, e.g. a thumbnail of the cover. Just the filename only. Do not surround the filename with <code><nowiki>[[File:...]]</nowiki></code>. A placeholder will be shown if no image is specified.
** A special case exists if <code>Image = DOVA-SYNDROME</code>. This will display the DOVA-SYNDROME logo as the placeholder image.
* <code>Size</code> = the size to display the
* <code>Embed</code> = embeds <code>Main Link</code> instead of showing a static image. Only accepts the following values: <code>archiveorg</code>, <code>soundcloud</code>, <code>spotifyalbum</code>, <code>spotifyartist</code>, <code>spotifytrack</code>, <code>twitch</code>, <code>vimeo</code>, <code>youtube</code>, or <code>youtubeplaylist</code> (see [[github:StarCitizenWiki/mediawiki-extensions-EmbedVideo#supported-services|this page]] for details)
▲* <code>Size</code> = the size to display the file. Defaults to 240x140px (or 100x100px if a placeholder is used). Does not affect embeds.
** <code>Image</code> and <code>Size</code> can be used to specify the cover image and dimensions of the embed, respectively
* <code>Headerstyle</code> = see [[#Headerstyle]] below
|