Template: Social Page

From LibrePlanet
Jump to: navigation, search
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 +
Common profile:
 
{{Profile Page
 
{{Profile Page
|Username=
+
|Name= Your Name
 +
|Communityteam=Yes or if No then leave blank
 +
|Reddit=reddit user name
 +
|Twitter=twitter handle
 +
|Hackernews=hacker news user name
 +
|Slashdot=Slashdot user name
 +
|Pumpio=Full URL to pump.io
 +
|OStatus=comma separate list of GNU Social or OStatus accounts
 +
}}
 +
 
 +
Full list of all supported items:
 +
{{Profile Page
 +
|Name=
 +
|Reddit=
 +
|Twitter=
 +
|Hackernews=
 +
|Pumpio=
 
|OStatus=
 
|OStatus=
|reddit=
 
 
|Crabgrass=
 
|Crabgrass=
 
|OpenHatch=
 
|OpenHatch=
 
|GMG=
 
|GMG=
 
|Appleseed=
 
|Appleseed=
|Twitter=
 
 
|Digg=
 
|Digg=
 
|MySpace=
 
|MySpace=
Line 18: Line 33:
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.
 
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
[[File:{{{Username}}}.png|right|300]]
 
 
 
 
{| border="0" cellpadding="4" cellspacing="4"
 
{| border="0" cellpadding="4" cellspacing="4"
 
{{Table row|Username}}[[Username::User:{{REVISIONUSER}}]]
 
{{Table row|Username}}[[Username::User:{{REVISIONUSER}}]]
 
{{#if:{{{Name|}}} |{{Table row|Full name}} [[Name::{{{Name|}}}]] |<nowiki/>}}
 
{{#if:{{{Name|}}} |{{Table row|Full name}} [[Name::{{{Name|}}}]] |<nowiki/>}}
{{#if:{{{OStatus|}}}|{{Table row|OStatus (identi.ca, GNU social, StatusNet)<br/>Comma-seperated list of URLs:}}{{#arraymap:{{{OStatus}}}|,|xvarx|[xvarx xvarx] {{#set:OStatus=xvarx}} |,&nbsp;}}|<nowiki/>}}
+
{{#if:{{{reddit|}}}|{{Table row|reddit}}[http://reddit.com/user/{{{reddit}}} {{{reddit}}}] {{#set:Reddit={{{reddit}}}}}|<nowiki/>}}
{{#if:{{{reddit|}}}|{{Table row|reddit}}[http://reddit.com/user/{{{reddit}}} {{{reddit}}}] {{#set:reddit={{{reddit}}}}}|<nowiki/>}}
+
{{#if:{{{Reddit|}}}|{{Table row|Reddit}}[http://reddit.com/user/{{{Reddit}}} {{{Reddit}}}] {{#set:Reddit={{{Reddit}}}}}|<nowiki/>}}
 +
{{#if:{{{Twitter|}}}|{{Table row|Twitter:}}[http://mobile.twitter.com/{{{Twitter}}} {{{Twitter}}}] {{#set:Twitter={{{Twitter}}} }} |<nowiki/>}}
 +
{{#if:{{{Slashdot|}}}|{{Table row|Slashdot:}}[http://slashdot.org/~{{{Slashdot}}} {{{Slashdot}}}] {{#set:Slashdot={{{Slashdot}}}}}|<nowiki/>}}
 +
{{#if:{{{Hackernews|}}}|{{Table row|Hackernews:}}[https://news.ycombinator.com/user?id={{{Hackernews}}} {{{Hackernews}}}] {{#set:Hackernews={{{Hackernews}}}}}|<nowiki/>}}
 +
{{#if:{{{Communityteam|}}}|{{Table row|FSF Community Team:}} Yes {{#set:member of group=Group:FSF/Community_Team}}|</nowiki/>}}
 +
{{#if:{{{OStatus|}}}|{{Table row|OStatus/GNU Social:}}{{#arraymap:{{{OStatus}}}|,|xvarx|[xvarx xvarx] {{#set:OStatus=xvarx}} |,&nbsp;}}|<nowiki/>}}
 +
{{#if:{{{Pumpio|}}}|{{Table row|Pumpio.io}}[{{{Pumpio}}} {{{Pumpio}}}] {{#set:Pumpio={{{Pumpio}}}}}|<nowiki/>}}
 
{{#if:{{{Crabgrass|}}}|{{Table row|Crabgrass:}}[[Crabgrass::{{{Crabgrass}}}]]|  <nowiki/>}}
 
{{#if:{{{Crabgrass|}}}|{{Table row|Crabgrass:}}[[Crabgrass::{{{Crabgrass}}}]]|  <nowiki/>}}
 
{{#if:{{{OpenHatch|}}}|{{Table row|OpenHatch:}}[http://openhatch.org/people/{{{OpenHatch}}} {{{OpenHatch}}}] {{#set:OpenHatch={{{OpenHatch}}} }} |  <nowiki/>}}
 
{{#if:{{{OpenHatch|}}}|{{Table row|OpenHatch:}}[http://openhatch.org/people/{{{OpenHatch}}} {{{OpenHatch}}}] {{#set:OpenHatch={{{OpenHatch}}} }} |  <nowiki/>}}
 
{{#if:{{{GMG|}}}|{{Table row|MediaGoblin:}}[[GMG::{{{GMG}}}]]| <nowiki/>}}
 
{{#if:{{{GMG|}}}|{{Table row|MediaGoblin:}}[[GMG::{{{GMG}}}]]| <nowiki/>}}
 
{{#if:{{{Appleseed|}}}|{{Table row|Appleseed:}}[[Appleseed::{{{Appleseed}}}]]| <nowiki/>}}
 
{{#if:{{{Appleseed|}}}|{{Table row|Appleseed:}}[[Appleseed::{{{Appleseed}}}]]| <nowiki/>}}
{{#if:{{{Twitter|}}}|{{Table row|Twitter:}}[http://mobile.twitter.com/{{{Twitter}}} {{{Twitter}}}] {{#set:Twitter={{{Twitter}}} }} |<nowiki/>}}
 
 
{{#if:{{{Digg|}}}|{{Table row|Digg:}}[http://mobile.twitter.com/{{{Digg}}} {{{Digg}}}] {{#set:Digg={{{Digg}}} }} |<nowiki/>}}
 
{{#if:{{{Digg|}}}|{{Table row|Digg:}}[http://mobile.twitter.com/{{{Digg}}} {{{Digg}}}] {{#set:Digg={{{Digg}}} }} |<nowiki/>}}
 
{{#if:{{{MySpace|}}}|{{Table row|MySpace:}}[http://myspace.com/{{{MySpace}}} {{{MySpace}}}] {{#set:MySpace={{{MySpace}}}}} |<nowiki/>}}
 
{{#if:{{{MySpace|}}}|{{Table row|MySpace:}}[http://myspace.com/{{{MySpace}}} {{{MySpace}}}] {{#set:MySpace={{{MySpace}}}}} |<nowiki/>}}

Revision as of 18:55, 5 March 2015

This is the 'Profile Page' template. It should be called in the following format:

Common profile:
{{Profile Page
|Name= Your Name
|Communityteam=Yes or if No then leave blank
|Reddit=reddit user name
|Twitter=twitter handle
|Hackernews=hacker news user name
|Slashdot=Slashdot user name
|Pumpio=Full URL to pump.io 
|OStatus=comma separate list of GNU Social or OStatus accounts
}}

Full list of all supported items:
{{Profile Page
|Name=
|Reddit=
|Twitter=
|Hackernews=
|Pumpio=
|OStatus=
|Crabgrass=
|OpenHatch=
|GMG=
|Appleseed=
|Digg=
|MySpace=
|Facebook=
|GooglePlus=
}}