Difference between revisions of "Template:Semantic Social Profile"

From PortlandWiki
Jump to: navigation, search
(Semantic Social Profile installation procedure)
 
(<noinclude></noinclude> (Noinclude the template.))
 
Line 31: Line 31:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><noinclude>
 
{{#if: {{{SSP name}}}|{{#set:SSP name={{{SSP name|}}} }}|}}
 
{{#if: {{{SSP name}}}|{{#set:SSP name={{{SSP name|}}} }}|}}
 
{{#if:{{{SSP e-mail}}}|{{#arraymap:{{{SSP e-mail|}}}|,|x|{{#set:SSP e-mail=x }}}}|}}
 
{{#if:{{{SSP e-mail}}}|{{#arraymap:{{{SSP e-mail|}}}|,|x|{{#set:SSP e-mail=x }}}}|}}
Line 53: Line 53:
 
[[Category:SSP User|SSP User]]
 
[[Category:SSP User|SSP User]]
 
__SHOWFACTBOX__
 
__SHOWFACTBOX__
</includeonly>
+
</noinclude>

Latest revision as of 13:29, 22 August 2011

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=
 }}

Edit the page to see the template text.

{{#set:SSP name= }} {{#arraymap:|,|x|{{#set:SSP e-mail=x }}}} {{#set:SSP location city= }} {{#set:SSP location state= }} {{#set:SSP location country= }} {{#set:SSP home city= }} {{#set:SSP home state= }} {{#set:SSP home country= }} {{#set:SSP homeplace= }} {{#set:SSP birthday= }} {{#set:SSP about me= }} {{#set:SSP occupation= }} {{#arraymap:|,|x|{{#set:SSP schools=x }}}} {{#arraymap:|,|x|{{#set:SSP places=x }}}} {{#arraymap:|,|x|{{#set:SSP websites=x }}}} {{#arraymap:|,|x|{{#set:SSP interests=x }}}} {{#set:SSP avatar=File: }} {{#arraymap:|,|x|{{#set:SSP foes=x }}}} {{#arraymap:|,|x|{{#set:SSP friends=x }}}} __SHOWFACTBOX__