Difference between revisions of "Template:SubDomainTestBox"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- EDITING THIS PAGE WILL TAKE THE SITE DOWN FOR A FEW MINUTES -->
+
{| id="domainPage" cellpadding=5 border=0 valign=top width="100%"
{| id="domainPage" cellpadding=5 border=0 align=right valign=top
 
 
|
 
|
{| cellpadding=5 align="right" style="border: 1px solid #c6c9ff; width: 154px; background-color: #fff0ff"
+
{| cellpadding=5 align="right" style="border: 1px solid #c6c9ff; width: 100%; background-color: #fff0ff"
|-
+
|- valign="top" |
| <center>[http://{{PAGENAME}} go to the subdomain]</center>
+
|
{{#if:{{{1<includeonly>|</includeonly>}}}|
+
{{#if:{{{1<includeonly>|</includeonly>}}}|<center> < [[{{{1|<noinclude>aboutus.org</noinclude>}}}]]{{br}}[http://www.{{{1|<noinclude>aboutus.org</noinclude>}}} go to the main site]</center>{{br}}}}
{{!}}-
+
<center>[http://{{PAGENAME}} go to this subdomain]</center>
{{!}} <center>[http://www.{{{1|<noinclude>aboutus.org</noinclude>}}} go to the main site] or [[{{{1|<noinclude>aboutus.org</noinclude>}}}{{!}}the AboutUs page]]</center>
+
| <center>{{{thumbnail|http://{{PAGENAMEE}}}}}</center>
}}
+
| id="mapRow" class="hiddenStructure" align="center" | {{{map}}}
|-
+
| id="registrarRow" align="center" | {{#ifeq: {{{registrar}}} | off || <registrar></registrar>}}
| align="center" | {{{thumbnail}}}
+
| '''Subdomain information:'''{{br}}<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]{{br}}
|-
+
<span class="plainlinks">[http://snapshot.compete.com/{{PAGENAMEE}} http://images.aboutus.org/images/3/3d/CompeteLogo.png]</span> [http://snapshot.compete.com/{{PAGENAMEE}} Compete.com]{{br}}
|- id="mapRow" class="hiddenStructure"
+
<span class="plainlinks">[http://builtwith.com/{{PAGENAMEE}} http://images.aboutus.org/images/a/a0/BuiltWith.png]</span> [http://builtwith.com/?{{PAGENAMEE}} BuiltWith.com]
| align="center" | {{{map}}}
+
|}{{clear}}
|- id="registrarRow"
+
{| cellpadding="5" style="border: 1px solid #80a8a1; background-color: #80a8a1" cellspacing="0px" width="100%"
| align="center" | {{#ifeq: {{{registrar}}} | off || <registrar></registrar>}}
+
| <div style="font-size:85%;">'''[[AboutUsBadges|AboutUs Badges:]]'''</div>
|-
+
| {{{badges|{{IntroBadgelets}}}}}
| <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://snapshot.compete.com/{{PAGENAMEE}} http://images.aboutus.org/images/3/3d/CompeteLogo.png]</span> [http://snapshot.compete.com/{{PAGENAMEE}} Compete.com]
 
|-
 
| <span class="plainlinks">[http://builtwith.com/{{PAGENAMEE}} http://images.aboutus.org/images/a/a0/BuiltWith.png]</span> [http://builtwith.com/?{{PAGENAMEE}} BuiltWith.com]
 
|-
 
| align="center" | {{{badges| }}}
 
 
|}
 
|}
 
|}<includeonly>
 
|}<includeonly>
Line 32: Line 24:
 
[[Category:SubDomain of {{{1|}}}]]
 
[[Category:SubDomain of {{{1|}}}]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 +
{{Clear}}
 +
This is a template for [[SubDomain]]. How to use this template?
 +
*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 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|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}}
  
How to use this template?
+
See example:
*for example: in yourblog.someblog.org put the code: <nowiki>{{SubDomainTestBox|someblog.org}}</nowiki>
+
*[[subdomain.mainname.com]] - not really a 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.
+
*[[tedernst.blogspot.com]] - a subdomain of blogspot.com
*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)
+
*add yours
*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}}
+
 
 +
Parameter:
 +
|<parent domain> <sup>1</sup>
 +
|thumbnail=<nowiki><thumbnail>johntest.com</thumbnail></nowiki><sup>2</sup>
 +
|pagelink=johntest.com
 +
|map=
 +
|badges=
 +
 
 +
<sup>1</sup>the first parameter should be the parent domain, no caps, and no space {{br}}(i.e. |aboutus.org = right, | aboutus.org = wrong, |AboutUs.org = wrong)
 +
 
 +
<sup>2</sup>this, although optional, would be much better if included
 +
</noinclude>

Latest revision as of 00:25, 23 August 2008

go to the main site

go to this subdomain
http://SubDomainTestBox
{{{map}}} Subdomain information:
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
                           TakeTheWikiTourBadgelet2.png           WatchTheIntroVideoBadgelet2.png

This is a template for SubDomain. 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