Difference between revisions of "Template:SubDomainTestBox"
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
{{#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}}}} | {{#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://{{PAGENAME}} go to this subdomain]</center> | ||
| − | | <center>{{{thumbnail|{{PAGENAMEE}}}}}</center> | + | | <center>{{{thumbnail|http://{{PAGENAMEE}}}}}</center> |
| id="mapRow" class="hiddenStructure" align="center" | {{{map}}} | | id="mapRow" class="hiddenStructure" align="center" | {{{map}}} | ||
| id="registrarRow" align="center" | {{#ifeq: {{{registrar}}} | off || <registrar></registrar>}} | | id="registrarRow" align="center" | {{#ifeq: {{{registrar}}} | off || <registrar></registrar>}} | ||
| Line 43: | Line 43: | ||
|badges= | |badges= | ||
| − | <sup>1</sup>the first parameter should be the parent domain, no caps, and no space (i.e. |aboutus.org = right, | aboutus.org = wrong, |AboutUs.org = wrong) | + | <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 | <sup>2</sup>this, although optional, would be much better if included | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:25, 23 August 2008
|
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:
- subdomain.mainname.com - not really a website
- tedernst.blogspot.com - a subdomain of blogspot.com
- add yours
Parameter:
|(i.e. |aboutus.org = right, | aboutus.org = wrong, |AboutUs.org = wrong) 2this, although optional, would be much better if included




