- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Twitter: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:Twitter-favicon.png|link=https://twitter.com/{{{1}}}]] [https://twitter.com/{{{1}}} '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Indicates a link to a [[ | Indicates a link to a [[Twitter]] profile. | ||
=== Syntax === | === Syntax === | ||
'''<nowiki>{{ | '''<nowiki>{{ twitter | profile | description }}</nowiki>''' | ||
# '''profile''' - the last portion of the URL to a | # '''profile''' - the last portion of the URL to a Twitter page, after the slash | ||
# '''description''' (''optional'') - replaces the profile name with your text | # '''description''' (''optional'') - replaces the profile name with your text | ||
Line 14: | Line 14: | ||
=== Examples === | === Examples === | ||
<nowiki>{{ | <nowiki>{{twitter|example}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{twitter|example}} | ||
<br /> | <br /> | ||
<nowiki>{{ | <nowiki>{{twitter|example2|Some random faggot}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{ | {{twitter|example2|Some random faggot}} | ||
[[Category:Link Templates|{{PAGENAME}}]]</noinclude> | [[Category:Link Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 03:02, 1 October 2024
Usage
Indicates a link to a Twitter profile.
Syntax
{{ twitter | profile | description }}
- profile - the last portion of the URL to a Twitter page, after the slash
- description (optional) - replaces the profile name with your text
Note: do not use whitespace immediately before or after vertical bars or curly brackets
Examples
{{twitter|example}}
produces:
example
{{twitter|example2|Some random faggot}}
produces:
Some random faggot