Difference between revisions of "Template:Semantic Social Profile"

Line 58: Line 58:
{{#if: {{{small avatar|}}}|{{#set:small avatar=File:{{{small 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 }}}}|}}<nowiki/>
[[Category:SSP User|SSP User]]
[[Category:SSP User|SSP User]]__SHOWFACTBOX__</includeonly>
__SHOWFACTBOX__
</includeonly>

Revision as of 17:48, 25 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.