Difference between revisions of "Template:Tweeter"
Jump to navigation
Jump to search
(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.) |
(Twitter uses SSL by default) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{ | <includeonly>{{#ifeq:{{#explode:{{{user|{{PAGENAME}}}}}| |1}}|Linden||{{#if:{{{1|}}}|[https://twitter.com/{{{1}}} {{{2|{{{1}}}}}}]}}[[Category:{{{type|Residents}}} using Twitter|{{{user|{{PAGENAME}}}}}]]}}</includeonly><noinclude> | ||
Please see [[Linden Lab Official:Twitter]] for the official list of Lindens using Twitter. | |||
== Usage == | == Usage == | ||
Basic usage is to just include <nowiki>{{Tweeter}}</nowiki> on the user-page. Lindens are | Basic usage is to just include <nowiki>{{Tweeter}}</nowiki> on the user-page. Lindens are excempt from the usage of this template, as they should add themself to [[Linden Lab Official:Twitter]], wheras everyone else is categorised under [[:Category:Residents using Twitter]]. | ||
=== Linking === | === Linking === | ||
Line 14: | Line 14: | ||
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). | 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| | * <nowiki>{{Tweeter|SignpostMarv Martin}}</nowiki> produces <nowiki>[[Category:Residents using Twitter|SignpostMarv Martin]]</nowiki> | ||
* <nowiki>{{Tweeter| | * <nowiki>{{Tweeter|Torley Linden}}</nowiki> produces nothing, as Lindens shouldn't use this template, but add themself to [[Linden Lab Official:Twitter]]. | ||
* <nowiki>{{Tweeter| | * <nowiki>{{Tweeter|Office Hours|type=Bots}}</nowiki> produces <nowiki>[[Category:Bots using Twitter|Office Hours]]</nowiki> | ||
</noinclude> | </noinclude> |
Latest revision as of 21:47, 29 August 2014
Please see Linden Lab Official:Twitter for the official list of Lindens using Twitter.
Usage
Basic usage is to just include {{Tweeter}} on the user-page. Lindens are excempt from the usage of this template, as they should add themself to Linden Lab Official: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|SignpostMarv Martin}} produces [[Category:Residents using Twitter|SignpostMarv Martin]]
- {{Tweeter|Torley Linden}} produces nothing, as Lindens shouldn't use this template, but add themself to Linden Lab Official:Twitter.
- {{Tweeter|Office Hours|type=Bots}} produces [[Category:Bots using Twitter|Office Hours]]