Difference between revisions of "Template:SiteProfile"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
sc4e>Freedo50
(Changed some to PNGs)
Line 3: Line 3:
 
| lex = #000
 
| lex = #000
 
| #fff}} |id-s=12 |id-fc=#000 |info-c=#FFFF99 |info-s=8 |info-fc=#000000 |id=[[Image:{{#switch: {{lc:{{{site|}}}}}
 
| #fff}} |id-s=12 |id-fc=#000 |info-c=#FFFF99 |info-s=8 |info-fc=#000000 |id=[[Image:{{#switch: {{lc:{{{site|}}}}}
| sc4d = Sc4d_logo_box.gif
+
| sc4d = Sc4d_logo_box.png
| st = St_logo_box.gif
+
| st = St_logo_box.png
| stex = St_logo_box.gif
+
| stex = St_logo_box.png
| lex = Sc4d_logo_box.gif
+
| lex = Sc4d_logo_box.png
| peg = Peg_logo.gif
+
| peg = PEG_logo.png
 
| tpp = Tpp_logo.gif
 
| tpp = Tpp_logo.gif
 
| tppex = Tpp_logo.gif}}|35px]]|info={{#switch: {{lc:{{{site|}}}}}
 
| tppex = Tpp_logo.gif}}|35px]]|info={{#switch: {{lc:{{{site|}}}}}

Revision as of 09:11, 17 August 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}}