Difference between revisions of "Template:SiteProfile"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (Fixed it up)
sc4e>JoeST
m
Line 8: Line 8:
 
| [[User:{{{id}}}|{{#if: {{{name|}}}|{{{name}}}'s|My}}  Wiki Profile]]}}}}</includeonly><noinclude>This template is designed to be used to provide a link to a particular user's profile page on one of the SimCity fansites. '''Please use instead of static links wherever possible.'''
 
| [[User:{{{id}}}|{{#if: {{{name|}}}|{{{name}}}'s|My}}  Wiki Profile]]}}}}</includeonly><noinclude>This template is designed to be used to provide a link to a particular user's profile page on one of the SimCity fansites. '''Please use instead of static links wherever possible.'''
 
==Syntax==
 
==Syntax==
<nowiki>{{SiteProfile|site = |id = | name = }}</nowiki>
+
<Pre>{{SiteProfile
 +
| site =  
 +
| id =  
 +
| name =  
 +
}}</Pre>
 
*site - the name of the site you are a member of. Can be; sc4d(SimCity 4 Devotion forums), st (Simtropolis forums), stex (Simtropolis Exchange), lex (SimCity 4 Exchange/BSC Exchange), or peg (SimPeg).
 
*site - the name of the site you are a member of. Can be; sc4d(SimCity 4 Devotion forums), st (Simtropolis forums), stex (Simtropolis Exchange), lex (SimCity 4 Exchange/BSC Exchange), or peg (SimPeg).
 
*id - your user ID (or name if Site = STEX or blank(for your wiki userpage))
 
*id - your user ID (or name if Site = STEX or blank(for your wiki userpage))

Revision as of 05:12, 30 July 2008

This template is designed to be used to provide a link to a particular user's profile page on one of the SimCity fansites. Please use instead of static links wherever possible.

Syntax

{{SiteProfile
| site = 
| id = 
| name = 
}}
  • site - the name of the site you are a member of. Can be; sc4d(SimCity 4 Devotion forums), st (Simtropolis forums), stex (Simtropolis Exchange), lex (SimCity 4 Exchange/BSC Exchange), or peg (SimPeg).
  • id - your user ID (or name if Site = STEX or blank(for your wiki userpage))
  • name - (optional) can be added if you want your name to replace "My" (for use on pages that are not your userpage)

Template:SiteProfile/name code:

{{#if: {{{name|}}}|{{{name}}}'s|My}}

Template:Remove