Difference between revisions of "Template:Domain Form"

From End to Dawn
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Domain
 
{{Domain
|domain=       <!-- Domain Code, e.g. AL-009-D -->
+
|domain=AL-009-D
 
|domainname=
 
|domainname=
 
|titlepic=
 
|titlepic=
Line 65: Line 65:
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
  
<!-- If domain is set, add it as a category -->
+
<!-- Automatically create a subcategory named after the domain code -->
 
{{#if: {{{domain|}}}|
 
{{#if: {{{domain|}}}|
 
   [[Category:{{{domain}}}]]
 
   [[Category:{{{domain}}}]]
 +
}}
  
  <!-- Put a default blurb on the category page itself -->
+
<!-- If this is a category page itself, add description + parent link -->
  [[Category:{{{domain}}}| ]]<noinclude>
+
{{#ifeq: {{NAMESPACE}} | Category |
  {{#ifeq:{{NAMESPACE}}|Category|
+
This category contains all pages related to the Domain '''{{PAGENAME}}'''.
  This is the category for Domain '''{{{domain}}}'''.<br/>
+
[[Category:Domain]]
  All related pages (characters, domain info, etc.) are listed here.
 
  [[Category:Domain]]
 
  }}</noinclude>
 
 
}}
 
}}
 
  
 
{{#css:
 
{{#css:

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=
}}