Difference between revisions of "Template:SiteProfile"
Jump to navigation
Jump to search
sc4e>Freedo50 |
sc4e>Freedo50 |
||
Line 6: | Line 6: | ||
| peg = [http://simpeg.com/forum/index.php?action=profile;u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} SimPeg Profile] | | peg = [http://simpeg.com/forum/index.php?action=profile;u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} SimPeg Profile] | ||
| tpp = [http://www.theplanningpages.com/community/member.php?u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} TPP Profile] | | tpp = [http://www.theplanningpages.com/community/member.php?u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} TPP Profile] | ||
− | | [[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>{{remove | ||
+ | | reason = it will be replaced by the better user template | ||
+ | }} | ||
+ | |||
+ | 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== | ||
<Pre>{{SiteProfile | <Pre>{{SiteProfile | ||
Line 19: | Line 25: | ||
Template:SiteProfile/name code: | Template:SiteProfile/name code: | ||
<pre>{{#if: {{{name|}}}|{{{name}}}'s|My}}</pre> | <pre>{{#if: {{{name|}}}|{{{name}}}'s|My}}</pre> | ||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 06:19, 31 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}}