Difference between revisions of "Template:SubDomainTestBox"
| Line 25: | Line 25: | ||
| align="center" | {{{badges| }}} | | align="center" | {{{badges| }}} | ||
|} | |} | ||
| − | |}<includeonly>[[Category:SubDomainTestBox]] | + | |}<includeonly> |
| + | {{#if:{{{cat|}}}|| | ||
| + | [[Category:SubDomainTestBox]] | ||
| + | }} | ||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| | ||
[[Category:SubDomain of {{{1|}}}]] | [[Category:SubDomain of {{{1|}}}]] | ||
| − | }}</includeonly> | + | }}</includeonly><noinclude> |
| + | |||
| + | How to use this template? | ||
| + | *for example: in yourblog.someblog.org put the code: <nowiki>{{SubDomainTestBox|someblog.org}}</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 someblog.org}} (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}} | ||
Revision as of 02:26, 17 July 2008
|
How to use this template?
- for example: in yourblog.someblog.org put the code: {{SubDomainTestBox|someblog.org}}
- 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 someblog.org (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|someblog.org|cat=no}} so that only the latter category is added. Each of them (i.e. Category:SubDomain of someblog.org) then should be categorized under Category:SubDomainTestBox


