Difference between revisions of "Template:Semantic Social Profile"

Line 52: Line 52:
{{#if:{{{SSP websites}}}|{{#arraymap:{{{SSP websites|}}}|,|x|{{#set:SSP websites=x }}}}|}}
{{#if:{{{SSP websites}}}|{{#arraymap:{{{SSP websites|}}}|,|x|{{#set:SSP websites=x }}}}|}}
{{#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={{{SSP avatar|}}} }}|}}
{{#if: {{{avatar}}}|{{#set:avatar=File:{{{avatar|}}} }}|}}
{{#if: {{{avatar}}}|{{#set:avatar=File:{{{avatar|}}} }}|}}
{{#if: {{{large avatar}}}|{{#set:large avatar=File:{{{large avatar|}}} }}|}}
{{#if: {{{large avatar}}}|{{#set:large avatar=File:{{{large avatar|}}} }}|}}

Revision as of 13:28, 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.