Difference between revisions of "Template:SubDomainTestBox"

Line 17: Line 17:
 
| align="center" | {{{map}}}
 
| align="center" | {{{map}}}
 
|- id="registrarRow"
 
|- id="registrarRow"
| align="center" | {{#ifeq: {{{registrar}}} | off || <registrar></registrar>}}
+
| align="center" | {{#ifeq: {{{registrar}}} | on | <registrar></registrar>}}
 
|-
 
|-
 
| <span class="plainlinks">[http://whois.domaintools.com/{{LC_PAGENAME}} http://images.aboutus.org/images/1/1d/DomainToolsLogo-21px.jpg]</span> [http://whois.domaintools.com/{{LC_PAGENAME}} DomainTools.com]
 
| <span class="plainlinks">[http://whois.domaintools.com/{{LC_PAGENAME}} http://images.aboutus.org/images/1/1d/DomainToolsLogo-21px.jpg]</span> [http://whois.domaintools.com/{{LC_PAGENAME}} DomainTools.com]
Line 34: Line 34:
 
[[Category:SubDomain of {{{1|}}}]]
 
[[Category:SubDomain of {{{1|}}}]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
+
{{Clear}}
 
How to use this template?
 
How to use this template?
*for example: in yourblog.someblog.org put the code: <nowiki>{{SubDomainTestBox|someblog.org}}</nowiki>
+
*for example: in subdomain.mainname.com put the code: <nowiki>{{SubDomainTestBox|mainname.com}}</nowiki>
 
*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 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: {{cat|SubDomainTestBox}} and {{cat|SubDomain of someblog.org}} (the latter is useful if there's a lot of subdomain in the website)
+
*It will add categories: {{cat|SubDomainTestBox}} and {{cat|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": <nowiki>{{SubDomainTestBox|someblog.org|cat=no}}</nowiki> so that only the latter category is added. Each of them (i.e. {{cat|SubDomain of someblog.org}}) then should be categorized under {{cat|SubDomainTestBox}}</noinclude>
+
*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": <nowiki>{{SubDomainTestBox|mainname.com|cat=no}}</nowiki> so that only the latter category is added. Each of them (i.e. {{cat|SubDomain of mainname.com}}) then should be categorized under {{cat|SubDomainTestBox}}
 +
 
 +
See example:
 +
*[[subdomain.mainname.com]] - not really a website
 +
*[[tedernst.blogspot.com]] - a subdomain of blogspot.com
 +
*add yours
 +
 
 +
Parameter:
 +
|thumbnail=<nowiki><thumbnail>johntest.com</thumbnail></nowiki>
 +
|pagelink=johntest.com
 +
|map=
 +
|registrar=(on/off - default off)
 +
|badges=
 +
</noinclude>

Revision as of 02:52, 17 July 2008

go to the subdomain
go to the main site or the AboutUs page
{{{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:

|thumbnail=<thumbnail>johntest.com</thumbnail>
|pagelink=johntest.com
|map=
|registrar=(on/off - default off)
|badges=