Template:Contact: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "userpage" to "user page")
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>'''This template is to be used only on userpages, not in articles about smashers or any other no-namespace page'''.
<noinclude>'''This template is for users to provide their contact information, which means the template is only to be used on user pages'''.


</noinclude><includeonly><span class="plainlinks">{{if|{{{email|}}}|*'''Email''': [mailto:{{{email}}} {{{email}}}]|}}{{if|{{{msn|}}}|
</noinclude><includeonly><span class="plainlinks">{{#if:{{{email|}}}|*'''Email''': [mailto:{{{email}}} {{{email}}}]}}{{#if:{{{msn|}}}|
*'''[http://msn.com MSN''']: {{{msn}}}|}}{{if|{{{aim|}}}|
*'''[http://msn.com MSN''']: {{{msn}}}}}{{#if:{{{aim|}}}|
*'''[http://aim.com AIM''']: {{{aim}}}|}}{{if|{{{icq|}}}|
*'''[http://aim.com AIM''']: {{{aim}}}}}{{#if:{{{icq|}}}|
*'''[http://icq.com ICQ''']: {{{icq}}}|}}{{if|{{{gtalk|}}}|
*'''[http://icq.com ICQ''']: {{{icq}}}}}{{#if:{{{gtalk|}}}|
*'''[http://mail.Google.com Google Talk''']: {{{gtalk}}}|}}{{if|{{{myspace|}}}|
*'''[http://mail.Google.com Google Talk''']: {{{gtalk}}}}}{{#if:{{{myspace|}}}|
*'''[http://myspace.com MySpace''']: [http://myspace.com{{LOCALURL:{{{myspace}}}}} {{{myspace}}}]|}}{{if|{{{gsc|}}}|
*'''[http://myspace.com MySpace''']: [http://myspace.com/{{{myspace}}} {{{myspace}}}]}}{{#if:{{{gsc|}}}|
{{{{{gsc}}}SmasherCompendium|{{{gscname|{{PAGENAME}}}}}}}|}}</span class></includeonly>
{{{{{gsc}}}SmasherCompendium|{{{gscname|{{PAGENAME}}}}}}}}}</span></includeonly><noinclude>
 
<noinclude>{{contact
|email=Someone@YourMail.com
|msn=Someone@MSN.com
|aim=Someone
|icq=0123456789
|gtalk=Someone@gMail.com
|myspace=myname
|gsc=Yes
}}


== Code ==
== Code ==
Line 30: Line 20:
}}</nowiki></pre>
}}</nowiki></pre>


== Usage ==
== Example ==
<pre>{{contact
|email=Someone@YourMail.com
|msn=Someone@MSN.com
|aim=Someone
|icq=0123456789
|gtalk=Someone@gMail.com
|myspace=myname
|gsc=Yes
}}</pre>
 
creates:
 
{{contact
|email=Someone@YourMail.com
|msn=Someone@MSN.com
|aim=Someone
|icq=0123456789
|gtalk=Someone@gMail.com
|myspace=myname
|gsc=Yes
}}


Write <nowiki>{{</nowiki>contact and then follow it with |email= and write your email, |msn= for MSN, |icq= for ICQ, |aim= for AIM, |gtalk= for Google Talk, |myspace= for MySpace, |gsc= for GSC (define as ''yes'' if you're on the [[GSC]]) and complete with }} . Please ask at the [[Template talk:contact|talk page]] before adding new stuff.</noinclude>
[[Category:User page templates]]</noinclude>

Latest revision as of 22:21, December 30, 2021

This template is for users to provide their contact information, which means the template is only to be used on user pages.


Code

{{contact
|email=
|msn=
|aim=
|icq=
|gtalk=
|myspace=
|gsc=
}}

Example

{{contact
|email=Someone@YourMail.com
|msn=Someone@MSN.com
|aim=Someone
|icq=0123456789
|gtalk=Someone@gMail.com
|myspace=myname
|gsc=Yes
}}

creates: