Difference between revisions of "Template:Tweeter"

From Second Life Wiki
Jump to navigation Jump to search
(Replaced content with "Please see Linden Lab Official:Twitter for the official list of Lindens using Twitter.")
(Undo revision 1133637 by Rand Linden (Talk) I don't think previous change by Rand did what Rand actually wanted to do. See Talk page.)
Line 1: Line 1:
Please see [[Linden Lab Official:Twitter]] for the official list of Lindens using Twitter.
<includeonly>{{#ifeq:{{{1|}}}|||[http://twitter.com/{{{1}}} {{{2|{{{1}}}}}}]}}[[Category:{{{type|{{#ifeq:
{{#explode:{{{user|{{PAGENAME}}}}}| |1}}|Linden|Lindens|Residents}}}}} using Twitter|{{{user|{{PAGENAME}}}}}]]</includeonly><noinclude>
== Usage ==
Basic usage is to just include <nowiki>{{Tweeter}}</nowiki> on the user-page. Lindens are auto-detected and categorised under [[:Category: Lindens using Twitter]], wheras everyone else is categorised under [[:Category:Residents using Twitter]].
 
=== Linking ===
To link to a twitter account while also categorising the article, use the first and second parameters.
 
* Quick link: <nowiki>{{Tweeter|twitter name}}</nowiki>
* Custom link text: <nowiki>{{Tweeter|twitter name|display text}}</nowiki>
 
=== Overrides ===
 
The '''user''' parameter can be used to override the automatic user detection, whereas the '''type''' parameter can be used to override the automatic type detection (e.g. Linden vs Resident).
 
* <nowiki>{{Tweeter|user=SignpostMarv Martin}}</nowiki> produces <nowiki>[[Category:Residents using Twitter|SignpostMarv Martin]]</nowiki>
* <nowiki>{{Tweeter|user=Torley Linden}}</nowiki> produces <nowiki>[[Category:Residents using Twitter|Torley Linden]]</nowiki>
* <nowiki>{{Tweeter|user=Office Hours|type=Bots}}</nowiki> produces <nowiki>[[Category:Bots using Twitter|Office Hours]]</nowiki>
 
</noinclude>

Revision as of 06:14, 26 February 2011

Usage

Basic usage is to just include {{Tweeter}} on the user-page. Lindens are auto-detected and categorised under Category: Lindens using Twitter, wheras everyone else is categorised under Category:Residents using Twitter.

Linking

To link to a twitter account while also categorising the article, use the first and second parameters.

  • Quick link: {{Tweeter|twitter name}}
  • Custom link text: {{Tweeter|twitter name|display text}}

Overrides

The user parameter can be used to override the automatic user detection, whereas the type parameter can be used to override the automatic type detection (e.g. Linden vs Resident).

  • {{Tweeter|user=SignpostMarv Martin}} produces [[Category:Residents using Twitter|SignpostMarv Martin]]
  • {{Tweeter|user=Torley Linden}} produces [[Category:Residents using Twitter|Torley Linden]]
  • {{Tweeter|user=Office Hours|type=Bots}} produces [[Category:Bots using Twitter|Office Hours]]