Difference between revisions of "Template:Semantic Social Profile"
(Semantic Social Profile installation procedure) |
|||
Line 28: | Line 28: | ||
|SSP foes= | |SSP foes= | ||
|SSP friends= | |SSP friends= | ||
|avatar= | |||
|large avatar= | |||
|medium avatar= | |||
|small avatar= | |||
}} | |||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
Line 49: | Line 53: | ||
{{#if:{{{SSP interests}}}|{{#arraymap:{{{SSP interests|}}}|,|x|{{#set:SSP interests=x }}}}|}} | {{#if:{{{SSP interests}}}|{{#arraymap:{{{SSP interests|}}}|,|x|{{#set:SSP interests=x }}}}|}} | ||
{{#if: {{{SSP avatar}}}|{{#set:SSP avatar=File:{{{SSP avatar|}}} }}|}} | {{#if: {{{SSP avatar}}}|{{#set:SSP avatar=File:{{{SSP avatar|}}} }}|}} | ||
{{#if: {{{avatar}}}|{{#set:avatar=File:{{{avatar|}}} }}|}} | |||
{{#if: {{{large avatar}}}|{{#set:large avatar=File:{{{large avatar|}}} }}|}} | |||
{{#if: {{{medium avatar}}}|{{#set:medium avatar=File:{{{medium avatar|}}} }}|}} | |||
{{#if: {{{small avatar}}}|{{#set:small avatar=File:{{{small avatar|}}} }}|}} | |||
{{#if:{{{SSP foes}}}|{{#arraymap:{{{SSP foes|}}}|,|x|{{#set:SSP foes=x }}}}|}} | {{#if:{{{SSP foes}}}|{{#arraymap:{{{SSP foes|}}}|,|x|{{#set:SSP foes=x }}}}|}} | ||
{{#if:{{{SSP friends}}}|{{#arraymap:{{{SSP friends|}}}|,|x|{{#set:SSP friends=x }}}}|}} | {{#if:{{{SSP friends}}}|{{#arraymap:{{{SSP friends|}}}|,|x|{{#set:SSP friends=x }}}}|}} |
Revision as of 12:27, 1 February 2013
This is the "Semantic Social Profile" template. It has been created by Semantic Social Profile extension and used to assign the semantic properties to user page when that page was updated.
Now the template is invisible but if you want you can alter the view by editing the template.
Note: if something go wrong check that Semantic MediaWiki and Semantic_Forms are installed.
The template should be called in the following format:
{{Semantic Social Profile |SSP name= |SSP e-mail= |SSP location city= |SSP location state= |SSP location country= |SSP home city= |SSP home state= |SSP home country= |SSP homeplace= |SSP birthday= |SSP about me= |SSP occupation= |SSP schools= |SSP places= |SSP websites= |SSP interests= |SSP avatar= |SSP foes= |SSP friends= |avatar= |large avatar= |medium avatar= |small avatar= }}
Edit the page to see the template text.