Difference between revisions of "Template:Template:SiteProfile"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m (69 revisions imported)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Userbox |float=right |border-c=#000000 |border-s=1 |id-c=#FFFFFF |id-s=12 |id-fc=#000 |info-c=#FFFF99 |info-s=8 |info-fc=#000000 |id=[[Image:{{uc:site}}_logo.gif]]|info={{#switch: {{lc:{{{site|}}}}}
+
<noinclude>{{pp-template}}
| sc4d = [http://sc4devotion.com/forums/index.php?action=profile;u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} SC4D Profile]
 
| st = [http://www.simtropolis.com/forum/tombstone.cfm?ProfileID={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} ST profile]
 
| stex = [http://www.simtropolis.com/stex/index.cfm?page=1&Keyword={{{id}}}&view=all {{#if: {{{name|}}}|{{{name}}}'s|My}} STEX Downloads]
 
| lex = [http://www.sc4devotion.com/csxlex/lex_search_00.php?pNO=1&sSTATEMENT=USRID='{{{id}}}' {{#if: {{{name|}}}|{{{name}}}'s|My}} LEX Downloads]
 
| 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]
 
| [[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.'''
 
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==
Line 19: Line 7:
 
| name =  
 
| name =  
 
}}</Pre>
 
}}</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 ''(Optional):''''' The site where the profile you wish to link to is. Will default to your wiki profile if no site is selected (this is of very little use, though as the userbox is designed to be displayed on your wiki profile). Can be;
*'''id''' - Your user ID (or name if Site = STEX or blank(for your wiki userpage))
+
**sc4d(SimCity 4 Devotion forums)
*'''name''' (optional) - Can be added if you want your name to replace "My" (for use on pages that are not your userpage)
+
**st (Simtropolis forums)
 +
**stex (Simtropolis Exchange)
 +
**lex (SimCity 4 Exchange/BSC Exchange)
 +
**tpp (The Planning Pages forums)
 +
**tppex (The Planning Pages Exchange)
 +
**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:
 
Template:SiteProfile/name code:
 
<pre>{{#if: {{{name|}}}|{{{name}}}'s|My}}</pre>
 
<pre>{{#if: {{{name|}}}|{{{name}}}'s|My}}</pre>
</noinclude>
+
 
 +
</noinclude>{{Userbox |float=right |border-c=#000000 |border-s=1 |id-c={{#switch: {{lc:{{{site|}}}}}
 +
| sc4d = #000
 +
| lex = #000
 +
| #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.png
 +
| st = ST_logo_box.png
 +
| stex = ST_logo_box.png
 +
| lex = SC4D_logo_box.png
 +
| peg = PEG_logo.png
 +
| tpp = Tpp_logo.png
 +
| tppex = Tpp_logo.png
 +
| Wiki_logo.png}}|35px]]|info=<span class="plainlinksneverexpand">'''{{#switch: {{lc:{{{site|}}}}}
 +
| sc4d = [http://sc4devotion.com/forums/index.php?action=profile;u={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} SC4D Profile]
 +
| st = [http://www.simtropolis.com/forum/tombstone.cfm?ProfileID={{{id}}} {{#if: {{{name|}}}|{{{name}}}'s|My}} ST profile]
 +
| stex = [http://www.simtropolis.com/stex/index.cfm?page=1&Keyword={{{id}}}&view=all {{#if: {{{name|}}}|{{{name}}}'s|My}} STEX Downloads]
 +
| lex = [http://www.sc4devotion.com/csxlex/lex_search_00.php?pNO=1&sSTATEMENT=USRID='{{{id}}}' {{#if: {{{name|}}}|{{{name}}}'s|My}} LEX Downloads]
 +
| 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]
 +
| <[[User:{{{id}}}| {{#if: {{{name|}}}|{{{name}}}'s|My}}  Wiki Profile]]}}'''</span>}}

Latest revision as of 22:34, 3 August 2019

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 (Optional): The site where the profile you wish to link to is. Will default to your wiki profile if no site is selected (this is of very little use, though as the userbox is designed to be displayed on your wiki profile). Can be;
    • sc4d(SimCity 4 Devotion forums)
    • st (Simtropolis forums)
    • stex (Simtropolis Exchange)
    • lex (SimCity 4 Exchange/BSC Exchange)
    • tpp (The Planning Pages forums)
    • tppex (The Planning Pages Exchange)
    • 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}}


35px <[[User:{{{id}}}| My Wiki Profile]]