Template:FacebookEmbed/doc
{{FacebookEmbed}}
is used for embedding Facebook videos on articles.
This template requires staff approval for use in the mainspace, due to loading issues which embedded videos can cause. A list of mainspace pages (or groups of pages) which may have embedded video is located on the this page. Additions to the list require approval of two staff members ranked Administrator or higher.
Usage
{{FacebookEmbed|1=|2=|3=}}
Parameters
- Required
- 1 (unnamed): The video id from the url, such as
https://www.facebook.com/Pokemon/videos/444707348301651/
. - 2 (unnamed): The page/channel name from the link such as
https://www.facebook.com/Pokemon/videos/444707348301651/
. - 3 (unnamed): The color template name for the entire color scheme. Do not use if defining colors manually using the optional override parameters.
- Optional
- 4 (unnamed): Secondary color scheme, for the channel name background.
- color: Override for the main color in the color scheme.
- colorlight: Override for the light color in the color scheme.
- colordark: Override for the dark color in the color scheme.
- name': Display override for the page/channel name.
- caption: Caption that will be shown above the table.
- cat: Used to customize the categories included by this template; mainly intended to be added blank to suppress categories.
- width: The width of the video frame. Defaults to
560
. - height: The height of the video frame. Defaults to
314
.
TemplateData
This template is used to embed a Facebook video. Should only be used on approved pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video ID | 1 | Video ID from the url | Line | required |
Channel | 2 | Page Link from the URL | Line | required |
Channel Name | name | Override for the Page link display text | Line | suggested |
Color scheme | 3 | Color template name for entire color scheme | Line | required |
Second Color scheme | 4 | Optional: Secondary color for channel background
| Line | optional |
Caption | caption | Caption that will be shown above the table | String | optional |
Width | width | Width of the Video frame
| Line | optional |
Height of the Video frame | height | no description
| Unknown | optional |
Color Light | colorlight | Override for the Light color in the Colorscheme
| Line | optional |
Color Med | color | Override for the medium color in the color scheme
| Line | optional |
Color Dark | colordark | Override for the dark color in the color scheme
| Line | optional |
Category | cat | Used to customize the categories included by this template; mainly intended to be added blank to suppress categories.
| Line | optional |
Examples
{{FacebookEmbed|444707348301651|Pokemon|Let's Go Eevee|Pokemon}}
| |
{{FacebookEmbed|1233090951207175|PokemonTCG|name=Pokémon TCG|caption=Trailer|colorlight={{Fairy color light}}|color={{Psychic color}}|colodark={{Dragon color dark}}}}
| |