Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(54 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Domain
 
{{Domain
 +
|titlepic=
 
|region=
 
|region=
|dst=
 
|dstemail=
 
|dc=
 
|dcemail=
 
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__
 
 
<div id="domain-container">
 
<div id="domain-container">
<div id="domain-title">{{PAGENAME}}
+
<div id="domain-title" class="clearfix">{{PAGENAME}}
<div id="domain-title-image">
+
<div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center]]|
{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png]]
+
  {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|center]]
  |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg]]
+
    |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|center]]
    |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg]]
+
      |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|center]]
      |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif]]
+
        |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|center]]
        |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp]]
+
          |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|center]]
 +
          }}
 
         }}
 
         }}
 
       }}
 
       }}
Line 35: Line 32:
 
|-
 
|-
 
! Domain Storyteller
 
! Domain Storyteller
| {{{dst|}}}
+
| {{:{{PAGENAME}} DST}}
 
| [[{{PAGENAME}} DST|Click here to edit]]
 
| [[{{PAGENAME}} DST|Click here to edit]]
 
|-
 
|-
 
! Domain Storyteller's Email
 
! Domain Storyteller's Email
| {{{dstemail|}}}
+
| [mailto:{{:{{PAGENAME}} DST Email}} {{:{{PAGENAME}} DST Email}}]
 
| [[{{PAGENAME}} DST Email|Click here to edit]]
 
| [[{{PAGENAME}} DST Email|Click here to edit]]
 
|-
 
|-
 
! Domain Coordinator
 
! Domain Coordinator
| {{{dc|}}}
+
| {{:{{PAGENAME}} DC}}
 
| [[{{PAGENAME}} DC|Click here to edit]]
 
| [[{{PAGENAME}} DC|Click here to edit]]
 
|-
 
|-
 
! Domain Coordinator's Email
 
! Domain Coordinator's Email
| {{{dcemail|}}}
+
| [mailto:{{:{{PAGENAME}} DC Email}} {{:{{PAGENAME}} DC Email}}]
 
| [[{{PAGENAME}} DC Email|Click here to edit]]
 
| [[{{PAGENAME}} DC Email|Click here to edit]]
 
|}
 
|}
Line 54: Line 51:
 
[[Category:Domain]]
 
[[Category:Domain]]
 
{{#if: {{{region}}}|[[Category:{{{region}}}]]}}
 
{{#if: {{{region}}}|[[Category:{{{region}}}]]}}
 +
 
{{#css:
 
{{#css:
 
.mw-body h1.firstHeading {
 
.mw-body h1.firstHeading {
   font-family: serif;
+
   font-family: "Limelight", cursive;
 +
  color: #DC7;
 
   font-weight: bold;
 
   font-weight: bold;
 
   font-size: 22px;
 
   font-size: 22px;
 
}
 
}
#domain-container {
+
#mw-content-text {
   border-style:solid;
+
  padding: 5px;
   border-width:thin;
+
  background-color: #000;
 +
   border-style: double;
 +
  border-color: #DC7;
 +
   border-width: thick;
 
}
 
}
 
#domain-title {
 
#domain-title {
   font-family: serif;
+
   font-family: "Limelight", cursive;
   font-size:2.6em;
+
   color: #DC7;
   line-height:120px;
+
   font-size: 4em;
   text-align:center;
+
   text-align: center;
  font-weight:bolder;
 
  margin:20px 0 10px 0;
 
  vertical-align:middle;
 
 
}
 
}
h2, .my-h2 {
+
div#bodyContent.mw-body-content h2, .my-h2 {
   font-family: serif;
+
   font-family: "Poiret One", cursive;
 +
  color: #DC7;
 
   font-weight: bold;
 
   font-weight: bold;
 
   size: 18px;
 
   size: 18px;
 
}
 
}
.my-h3 {
+
div#bodyContent.mw-body-content h3, .my-h3 {
   font-family: serif;
+
   font-family: "Poiret One", cursive;
 +
  color: #DC7;
 
   font-weight: bold;
 
   font-weight: bold;
   size: 16px
+
   size: 16px;
 
}
 
}
p, td, th {
+
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-size: 16px;
   font-family: sans-serif;
+
   font-family: 'Belleza', 'Avant Garde', sans-serif;
 +
  color: #DC7;
 
   vertical-align:top;
 
   vertical-align:top;
 
   text-align:left;
 
   text-align:left;
 +
  list-style:none;
 
}
 
}
#domain-info {
+
#domain-title-image {
   margin: 20px;
+
   max-width: 100%;
 
}
 
}
#domain-title-image {
+
#domain-title-image img {
   float:right;
+
   height: auto;
   clear:both;
+
   max-width: 80%;
 +
}
 +
div#domain-info {
 +
  max-width: 80%;
 +
  margin: auto;
 +
  margin-top: 20px;
 
}
 
}
#domain-info-table, th {
+
table#domain-info-table {
 
   vertical-align: top;
 
   vertical-align: top;
 
   text-align:left;
 
   text-align:left;
 +
  margin: auto;
 +
}
 +
div#content.mw-body {
 +
  background-color: #030303;
 
}
 
}
a:link, a.external:link {
+
div#catlinks.catlinks {
 +
  background-color: #000;
 +
  border-color: #DC7;
 +
  font-family: 'Belleza', 'Avant Garde', sans-serif;
 
}
 
}
a:visited, a.external:visited {
+
div#catlinks.catlinks a {
 +
  vertical-align: bottom;
 
}
 
}
a:hover, a.external:hover {
+
div#bodyContent.mw-body-content img {
 +
  max-width: 100%
 
}
 
}
a:active, a.external:active {
+
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;
 +
}
 +
div#bodyContent.mw-body-content a.new, div#bodyContent.mw-body-content a.new:visited {
 +
}
 +
a.mw-helplink {
 +
  font-size: 16px;
 +
  font-family: 'Belleza', 'Avant Garde', sans-serif;
 +
  color: #DC7;
 
}
 
}
 
.clearfix::after {
 
.clearfix::after {
Line 113: Line 147:
 
   display: table;
 
   display: table;
 
}
 
}
}}
+
}}</includeonly>
</includeonly>
 

Latest revision as of 20:59, 7 November 2020

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

{{Domain
|titlepic=
|region=
}}

Edit the page to see the template text.