Template: Social Page test

From LibrePlanet
Jump to: navigation, search
Line 43: Line 43:
 
{{#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:{{{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:{{{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:{{{Hackernews|}}}|{{Table row|Hackernews:}}[https://news.ycombinator.com/user?id={{{Hackernews}}} {{{Hackernews}}}] {{#set:Hackernews={{{Hackernews}}}}}|<nowiki/>}}
{{#if:{{{Communityteam|}}}
+
{{#if:{{{Communityteam|}}}|{{Table row|FSF Community Team:}} Yes {{#set:member of group=Group:FSF/Community_Team}}|</nowiki/>}}
  |{{#ifeq:{{{Communityteam|}}}|Yes|{{Table row|FSF Community Team}} Team Member {{#set:member of group=Group:FSF/Community_Team}}|Not yet!}}
+
{{#if:{{{OStatus|}}}|{{Table row|OStatus/GNU Social:}}{{#arraymap:{{{OStatus}}}|,|xvarx|[xvarx xvarx] {{#set:OStatus=xvarx}} |,&nbsp;}}|<nowiki/>}}
  |</nowiki/>}}
+
{{#if:{{{Pumpio|}}}|{{Table row|Pumpio.io}}[{{{Pumpio}}} {{{Pumpio}}}] {{#set:Pumpio={{{Pumpio}}}}}|<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:{{{Pumpio|}}}|{{Table row|Pumpio}}[{{{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/>}}

Revision as of 18:52, 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 No (if you are on the FSF Community Team)
|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=
}}

Edit the page to see the template text.