Difference between revisions of "Template:Domain Form"

From End to Dawn
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Domain
 
{{Domain
 +
|domain=AL-009-D
 +
|domainname=
 
|titlepic=
 
|titlepic=
 
|region=
 
|region=
Line 18: Line 20:
 
<div id="domain-container">
 
<div id="domain-container">
 
<div id="domain-title" class="clearfix">{{PAGENAME}}
 
<div id="domain-title" class="clearfix">{{PAGENAME}}
<div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center]]|
+
<div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center|200px]]|
 
   {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]]
 
   {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]]
 
     |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]]
 
     |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]]
Line 37: Line 39:
 
| [[:Category:{{{region}}}|{{{region}}}]]
 
| [[:Category:{{{region}}}|{{{region}}}]]
 
|-
 
|-
! Domain Storyteller
 
| {{{dst_name|}}}
 
|-
 
! Domain Storyteller's Email
 
| [mailto:{{{dst_email|}}} {{{dst_email|}}}]
 
|-
 
! Domain Coordinator
 
| {{{dc_name|}}}
 
|-
 
! Domain Coordinator's Email
 
| [mailto:{{{dc_email|}}} {{{dc_email|}}}]
 
 
|}
 
|}
 
</div>
 
</div>
Line 70: Line 61:
 
}}
 
}}
  
 +
<!-- Auto-categorization -->
 
[[Category:Domain]]
 
[[Category:Domain]]
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
 
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
 +
 +
<!-- Automatically create a subcategory named after the domain code -->
 +
{{#if: {{{domain|}}}|
 +
  [[Category:{{{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]]
 +
}}
 +
 
{{#css:
 
{{#css:
 
.mw-body h1.firstHeading {
 
.mw-body h1.firstHeading {

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