Difference between revisions of "Template:Domain Form"

From End to Dawn
Jump to navigation Jump to search
 
Line 65: Line 65:
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
  
<!-- Create a Domain Code category as a subcategory of Domain -->
+
<!-- Automatically create a subcategory named after the domain code -->
 
{{#if: {{{domain|}}}|
 
{{#if: {{{domain|}}}|
 
   [[Category:{{{domain}}}]]
 
   [[Category:{{{domain}}}]]
  <!-- Add text to Category:DOMAINCODE pages so they are also under Category:Domain -->
+
}}
  {{#ifeq:{{NAMESPACE}}|Category|
+
 
This is the category for the Domain '''{{{domain}}}'''.
+
<!-- If this is a category page itself, add description + parent link -->
 +
{{#ifeq: {{NAMESPACE}} | Category |
 +
This category contains all pages related to the Domain '''{{PAGENAME}}'''.
 
[[Category:Domain]]
 
[[Category:Domain]]
  }}
 
 
}}
 
}}
  

Latest revision as of 03:43, 5 October 2025

This is the "Domain" template. It should be called in the following format:

{{Domain
|domain=AL-009-D
|domainname=
|titlepic=
|region=
|city=
|state=
|dst_name=
|dst_email=
|dc_name=
|dc_email=
|notes=
}}