Difference between revisions of "Template:SubDomainTestBox"

Line 45: Line 45:
  
 
Parameter:
 
Parameter:
  |<parent domain> - the first parameter should be the parent domain,{{br}} no caps, and no space (i.e. |aboutus.org = right,{{br}}| aboutus.org = wrong, |AboutUs.org = wrong)
+
  |<parent domain> <sup>1</sup>
 
+
  |thumbnail=<nowiki><thumbnail>johntest.com</thumbnail></nowiki><sup>2</sup>
  |thumbnail=<nowiki><thumbnail>johntest.com</thumbnail></nowiki>
 
 
  |pagelink=johntest.com
 
  |pagelink=johntest.com
 
  |map=
 
  |map=
 
  |badges=
 
  |badges=
 +
 +
<sup>1</sup>the first parameter should be the parent domain,{{br}} no caps, and no space (i.e. |aboutus.org = right,{{br}}| aboutus.org = wrong, |AboutUs.org = wrong)
 +
 +
<sup>2</sup>this, although optional, would be much better if included
 
</noinclude>
 
</noinclude>

Revision as of 05:38, 17 July 2008

go to the main site
go to this subdomain
SubDomainTestBox
{{{map}}}
Template:LC PAGENAME http://images.aboutus.org/images/1/1d/DomainToolsLogo-21px.jpg Template:LC PAGENAME DomainTools.com
CompeteLogo.png Compete.com
BuiltWith.png BuiltWith.com

How to use this template?

  • for example: in subdomain.mainname.com put the code: {{SubDomainTestBox|mainname.com}}
  • It will create the box on the right with a link to the subdomain, a link to the main website (parent domain), and a link of AboutUs page for the main website.
  • It will add categories: Category:SubDomainTestBox and Category:SubDomain of mainname.com (the latter is useful if there's a lot of subdomain in the website)
  • The first category is included because many websites only have a few subdomains, but if it has many of them, then add a parameter "|cat=no": {{SubDomainTestBox|mainname.com|cat=no}} so that only the latter category is added. Each of them (i.e. Category:SubDomain of mainname.com) then should be categorized under Category:SubDomainTestBox

See example:

Parameter:

|1 |thumbnail=<thumbnail>johntest.com</thumbnail>2 |pagelink=johntest.com |map= |badges= 1the first parameter should be the parent domain,
no caps, and no space (i.e. |aboutus.org = right,
| aboutus.org = wrong, |AboutUs.org = wrong) 2this, although optional, would be much better if included