Template:Twitter: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><span class="plainlinks" style="white-space:nowrap;">link=https://twitter.com/{{{1}}} [https://twitter.com/{{{1}}} '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude> == Usage == Indicates a link to a Twitter profile. what a nice thing. === Syntax === '''<nowiki>{{ twitter | profile | description }}</nowiki>''' # '''profile''' - the last portion of the URL to a Twitter page, after the slash # '''description''' (''opti...")
 
(unnecessary, updated with "example description" to be like the rest of the example)
 
Line 18: Line 18:
{{twitter|example}}
{{twitter|example}}
<br />
<br />
  <nowiki>{{twitter|example2|some retard}}</nowiki>
  <nowiki>{{twitter|example2|example description}}</nowiki>
produces:<br />
produces:<br />
{{twitter|example2|some retard}}
{{twitter|example2|example description}}


[[Category:Link Templates|{{PAGENAME}}]]</noinclude>
[[Category:Link Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:29, 16 June 2023

Usage

Indicates a link to a Twitter profile. what a nice thing.

Syntax

{{ twitter | profile | description }}
  1. profile - the last portion of the URL to a Twitter page, after the slash
  2. 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:
Twitter-favicon.png example

{{twitter|example2|example description}}

produces:
Twitter-favicon.png example description