Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
View • Edit • History |
- The following documentation is transcluded from Template:Myspace/doc:
Usage
This template is used to link to the MySpace.com website entries. A variable is required giving the end path to the article in question, and a second variable can be used to alter the linking text.
If no initial variable is given, the link will go to the main MySpace webpage, such as:
{{myspace}}
Which would produce:
To link to a profile, for example for Andy Dick, you would have a template call as such:
{{myspace|andydick}}
This will produce:
If text is desired, such as "Andy Dick's profile", the following format should be used:
{{myspace|andydick|Andy Dick's profile}}
This will produce:
For example, if you wish the link to be formatted as an external link on the "Andy Dick" page, the following format should be used:
{{myspace|andydick||external}}
This will produce:
If you wish the external link to display different text, the following format should be used:
{{myspace|andydick|Andy Dick's profile|external}}
This will produce:
A fourth parameter can be passed to change the path from the general domain to a sub-domain, for example a profile sub-domain:
{{myspace|s=profile|index.cfm?fuseaction{{=}}user.viewprofile&friendID{{=}}63046395|Video|external}}
This would produce:
- Video at MySpace.com