1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-29 11:30:28 +00:00
TiddlyWiki5/plugins/tiddlywiki/twitter/usage/mentionbutton.tid

20 lines
1.3 KiB
Plaintext
Raw Normal View History

title: $:/plugins/tiddlywiki/twitter/usage/mentionbutton
tags: $:/tags/TwitterUsage
caption: Mention Button
!! Embedding Mention Buttons
|!Attribute |!Values |!Default |!Notes |
|''type'' |"mentionButton" |none |"mentionButton" |
|''screenName'' |Screen name of the account to be mentioned |none | |
|''text'' |Any string |none |The default, highlighted text a user sees in the Tweet web intent |
|''hashtags'' |A comma-separated list of hashtags |none |A list of hashtags to be appended to default Tweet text where appropriate |
|''align'' |"left", "right" |locale dependent (left or right, depending on the text direction of the language) |The alignment of the button within an iframe; use this to ensure flush layout when aligning buttons |
|''size'' |"medium", "large" |medium |Size of button |
|''lang'' |An ISO 639-1 language code |en |The language in which to render a widget, if supported |
|''dnt'' |"true", "false" |false |Enable Do Not Track for this widget |
|''related'' |Any comma-separated list of valid Twitter screen names |none |A list of Twitter screen names to be suggested for following after a Tweet or Tweet action is posted |
|''via'' |Any valid Twitter screen name |none |A Twitter user mentioned in the default Tweet text as via @user where appropriate |
<<twitter-usage """<$twitter type="mentionButton" screenName="TiddlyWiki"/>
""">>