Difference between revisions of "Template:Domain Form"

From End to Dawn
Jump to navigation Jump to search
(Undo revision 2922 by Jamie P. US2019020011 (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>
+
<noinclude>
<div style="max-width:900px; margin:0 auto; background:#111; border:4px double #DC7; padding:30px; border-radius:8px;">
+
This is the "Domain" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{Domain
 +
|titlepic=
 +
|region=
 +
|city=
 +
|state=
 +
|dst_name=
 +
|dst_email=
 +
|dc_name=
 +
|dc_email=
 +
|notes=
 +
}}
 +
</pre>
 +
</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
 +
<div id="domain-container">
 +
<div id="domain-title" class="clearfix">{{PAGENAME}}
 +
<div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center]]|
 +
  {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]]
 +
    |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]]
 +
      |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|center]]
 +
        |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|center]]
 +
          |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|center]]
 +
          }}
 +
        }}
 +
      }}
 +
    }}
 +
  }}
 +
}}
 +
  </div>
 +
</div>
 +
<div id="domain-info">
 +
{| id="domain-info-table"
 +
! 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>
  
  <h2 style="font-family:Georgia,serif; color:#DC7; text-align:center; margin-bottom:10px; font-size:2em;">
+
'''Location:''' {{{city|}}}, {{{state|}}}
    Domain: {{PAGENAME}}
 
  </h2>
 
  
  <!-- Optional Title Picture -->
+
== Domain Staff ==
  {{#if:{{{titlepic|}}}|
 
    <div style="text-align:center; margin:20px 0;">
 
      [[File:{{{titlepic}}}|800px]]
 
    </div>
 
  }}
 
  
  <div style="color:#DC7; font-size:1.2em; margin-bottom:10px; font-weight:bold;">Region:</div>
+
'''Domain Storyteller:''' {{{dst_name|}}}
  <div style="margin-bottom:20px; color:#EEE;">{{{region|}}}</div>
 
  
  <div style="color:#DC7; font-size:1.2em; margin-bottom:10px; font-weight:bold;">Location:</div>
+
'''Email:''' {{{dst_email|}}}
  <div style="margin-bottom:20px; color:#EEE;">{{{city|}}}, {{{state|}}}</div>
 
  
  <div style="color:#DC7; font-size:1.2em; margin-bottom:10px; font-weight:bold;">Domain Storyteller (DST):</div>
+
'''Domain Coordinator:''' {{{dc_name|}}}
  <div style="margin-bottom:20px; color:#EEE;">{{{dst_name|}}} ({{{dst_email|}}})</div>
 
  
  <div style="color:#DC7; font-size:1.2em; margin-bottom:10px; font-weight:bold;">Domain Coordinator (DC):</div>
+
'''Email:''' {{{dc_email|}}}
  <div style="margin-bottom:20px; color:#EEE;">{{{dc_name|}}} ({{{dc_email|}}})</div>
 
  
  <div style="color:#DC7; font-size:1.2em; margin-bottom:10px; font-weight:bold;">Notes:</div>
+
{{#if: {{{notes|}}}|
  <div style="margin-bottom:20px; color:#EEE;">{{{notes|}}}</div>
+
== Notes ==
  
</div>
+
{{{notes}}}
 +
}}
  
<!-- Auto-categorization -->
 
 
[[Category:Domain]]
 
[[Category:Domain]]
[[Category:{{{region|}}}]]
+
{{#if: {{{region|}}}|[[Category:{{{region}}}]]}}
 +
{{#css:
 +
.mw-body h1.firstHeading {
 +
  font-family: "Limelight", cursive;
 +
  color: #DC7;
 +
  font-weight: bold;
 +
  font-size: 22px;
 +
}
 +
#mw-content-text {
 +
  padding: 5px;
 +
  background-color: #000;
 +
  border-style: double;
 +
  border-color: #DC7;
 +
  border-width: thick;
 +
}
 +
#domain-title {
 +
  font-family: "Limelight", cursive;
 +
  color: #DC7;
 +
  font-size: 4em;
 +
  text-align: center;
 +
}
 +
div#bodyContent.mw-body-content h2, .my-h2 {
 +
  font-family: "Poiret One", cursive;
 +
  color: #DC7;
 +
  font-weight: bold;
 +
  size: 18px;
 +
}
 +
div#bodyContent.mw-body-content h3, .my-h3 {
 +
  font-family: "Poiret One", cursive;
 +
  color: #DC7;
 +
  font-weight: bold;
 +
  size: 16px;
 +
}
 +
div#bodyContent.mw-body-content p, div#bodyContent.mw-body-content td, div#bodyContent.mw-body-content th, div#bodyContent.mw-body-content ul {
 +
  font-size: 16px;
 +
  font-family: 'Belleza', 'Avant Garde', sans-serif;
 +
  color: #DC7;
 +
  vertical-align:top;
 +
  text-align:left;
 +
  list-style:none;
 +
}
 +
#domain-title-image {
 +
  max-width: 100%;
 +
}
 +
#domain-title-image img {
 +
  height: auto;
 +
  max-width: 80%;
 +
}
 +
div#domain-info {
 +
  max-width: 80%;
 +
  margin: auto;
 +
  margin-top: 20px;
 +
}
 +
table#domain-info-table {
 +
  vertical-align: top;
 +
  text-align:left;
 +
  margin: auto;
 +
}
 +
div#content.mw-body {
 +
  background-color: #030303;
 +
}
 +
div#catlinks.catlinks {
 +
  background-color: #000;
 +
  border-color: #DC7;
 +
  font-family: 'Belleza', 'Avant Garde', sans-serif;
 +
}
 +
div#catlinks.catlinks a {
 +
  vertical-align: bottom;
 +
}
 +
div#bodyContent.mw-body-content img {
 +
  max-width: 100%
 +
}
 +
div#bodyContent.mw-body-content a:link, div#bodyContent.mw-body-content a.external:link {
 +
  color: #FFF;
 +
}
 +
div#bodyContent.mw-body-content a:visited, div#bodyContent.mw-body-content a.external:visited {
 +
  color: #FFC;
 +
}
 +
div#bodyContent.mw-body-content a:hover, div#bodyContent.mw-body-content a.external:hover {
 +
  color: #FF9;
 +
}
 +
div#bodyContent.mw-body-content a:active, div#bodyContent.mw-body-content a.external:active {
 +
  color: #FFD;
 +
}
 +
a.mw-helplink {
 +
  font-size: 16px;
 +
  font-family: 'Belleza', 'Avant Garde', sans-serif;
 +
  color: #DC7;
 +
}
 +
.clearfix::after {
 +
  content: "";
 +
  clear: both;
 +
  display: table;
 +
}
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 19:22, 4 October 2025

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

{{Domain
|titlepic=
|region=
|city=
|state=
|dst_name=
|dst_email=
|dc_name=
|dc_email=
|notes=
}}