Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Extension:CurseTwitter

From Gamepedia Help Wiki
Jump to: navigation, search
CurseTwitter
Version 1.4.1
Author(s)  • Hydra Wiki Platform Team
Extension link GitLab
Description
Allows embedding twitter feeds.

The CurseTwitter extension provides an interface to embed Twitter timelines in pages.

Example[edit | edit source]

These example show a feed from CurseGamepedia at a height of 250 pixels, with light and dark themes.

Usage[edit | edit source]

<twitterfeed height='250'>CurseGamepedia</twitterfeed>

Attributes[edit | edit source]

Attributes for the twitterfeed tag
Attribute Description
width="[pixels]" Default: 300
 Width of the Twitter widget.  Minimum: 180, Maximum: 520
height="[pixels]" Default: 500
 Height of the Twitter widget.  Minimum: 200. Do not use with the count attribute.
theme="[light|dark]" Default: dark
 Prepackaged Twitter theme to use.
count="[integer]" Default: null
 Limit the number of tweets shown.  Using the count attribute will cause the height attribute to be ignored.
noscrollbar Default: (No options)
 Add this attribute to turn off scroll bars.
noheader Default: (No options)
 Add this attribute to turn off headers
nofooter Default: (No options)
 Add this attribute to turn off footers.
noborders Default: (No options)
 Add this attribute to turn off borders.
transparent Default: (No options)
 Add this attribute to make the background transparent.
linkcolor="[#000000]" Default: null
 Change the color of links.  Default color depends on the theme attribute.
bordercolor="[#000000]" Default: null
 Change the color of borders.  Default color depends on the theme attribute. 
 Note: This attribute is being investigated as it does not appear to work when the background is transparent.
type="[user|list|favorite|search]" Default: user
 Type of embedded timeline.  If embedding a list make sure to add the list attribute.  Search timelines require a widgetid.
list="[list]" Default: null
 The list name for the list created by the Twitter user.
widgetid="[...]" Default: null
 Widget ID created by that user for a custom timeline or search timeline.  Logged in users may edit their widgets at: Twitter Widgets