|
Tag: Redirect target changed |
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| {{Doc/subpage}}
| | #redirect [[Template:Twitter/doc]] |
| <!-- Please place categories where indicated at the bottom of this page.) -->
| |
| Link to Twitter (currently rebranding to {{twitter}}) website/post (tweets).
| |
| | |
| == Parameters and Examples ==
| |
| {| class="standard-table" style="width:100%"
| |
| ! Parameter
| |
| ! Description
| |
| ! Example
| |
| ! Preview
| |
| |-
| |
| | style="text-align:center" | No Parameters
| |
| | Creates a link to '''X''' website.
| |
| | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{l4dwiki}}</nowiki>}}
| |
| | style="padding:.2em .5em" | {{Capsule| {{twitter}} }}
| |
| |-
| |
| | style="text-align:center" | {{Code| {{param}} }}
| |
| | Links to the X post (Tweets).
| |
| | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{twitter|DOTA2/status/1655246184683028480}}</nowiki>}}
| |
| | style="padding:.2em .5em" | {{Capsule| {{twitter|DOTA2/status/1655246184683028480}} }}
| |
| |-
| |
| | style="text-align:center" | {{Code| {{param|2}} }}
| |
| | Set the name of the link.
| |
| | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{twitter|DOTA2/status/1655246184683028480|@DOTA2 - The International 2023}}</nowiki>}}
| |
| | style="padding:.2em .5em" | {{Capsule| {{twitter|DOTA2/status/1655246184683028480|@DOTA2 - The International 2023}} }}
| |
| |-
| |
| | style="text-align:center" | {{Code| {{param|icon}} }}
| |
| | Hide/shows the icon.<br>Values: {{code|show}} (default), {{code|hide}}
| |
| | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{twitter|icon=hide}}</nowiki>}}
| |
| | style="padding:.2em .5em" | {{Capsule| {{twitter|icon=hide}} }}
| |
| |-
| |
| | style="text-align:center" | {{Code| {{param|text}} }}
| |
| | Enable/Disable the text, or change the name to '''Twitter'''<br>Values: {{code|show}}, {{code|x}} (default), {{code|hide}}, {{code|twitter}}
| |
| | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{twitter|text=hide}}</nowiki>}}
| |
| {{CodeBlock|<nowiki>{{twitter|text=twitter}}</nowiki>}}
| |
| | style="padding:.2em .5em" | {{Capsule| {{twitter|text=hide}} }}{{Capsule| {{twitter|text=twitter}} }}
| |
| |-
| |
| |}
| |
| | |
| == See Also ==
| |
| {{External link templates}}
| |
| | |
| {{Doc/Sandbox other|
| |
| <!-- Categories below this line, please -->
| |
| | |
| }}
| |