Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Domain
 
{{Domain
 +
|titlepic=
 
|region=
 
|region=
 
}}
 
}}
Line 11: Line 12:
 
<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}}}]]|
+
<div id="domain-title-image">{{#if: {{{titlepic|}}}|[[File:{{{titlepic}}}|center]]|
 
   {{#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]]
       |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|frameless|center|500px]]
+
       |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|center]]
         |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|frameless|center|500px]]
+
         |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|center]]
           |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|frameless|center|500px]]
+
           |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|center]]
 
           }}
 
           }}
 
         }}
 
         }}
Line 63: Line 64:
 
   border-style: double;
 
   border-style: double;
 
   border-color: #DC7;
 
   border-color: #DC7;
   border-width: thin;
+
   border-width: thick;
 
}
 
}
.mw-body-content h2, .my-h2 {
+
#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;
 
   font-family: "Poiret One", cursive;
 
   color: #DC7;
 
   color: #DC7;
Line 71: Line 78:
 
   size: 18px;
 
   size: 18px;
 
}
 
}
.my-h3 {
+
div#bodyContent.mw-body-content h3, .my-h3 {
 
   font-family: "Poiret One", cursive;
 
   font-family: "Poiret One", cursive;
 
   color: #DC7;
 
   color: #DC7;
Line 77: Line 84:
 
   size: 16px;
 
   size: 16px;
 
}
 
}
.mw-body-content p, .mw-body-content td, .mw-body-content th, .mw-body-content li {
+
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: 'Belleza', 'Avant Garde', sans-serif;
 
   font-family: 'Belleza', 'Avant Garde', sans-serif;
Line 83: Line 90:
 
   vertical-align:top;
 
   vertical-align:top;
 
   text-align:left;
 
   text-align:left;
 +
  list-style:none;
 
}
 
}
 
#domain-title-image {
 
#domain-title-image {
   max-width: 80%;
+
   max-width: 100%;
  margin-left: 20px;
 
  margin-bottom: 20px;
 
 
}
 
}
 
#domain-title-image img {
 
#domain-title-image img {
 
   height: auto;
 
   height: auto;
   max-width: 100%;
+
   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 {
 
div#content.mw-body {
Line 102: Line 114:
 
div#catlinks.catlinks {
 
div#catlinks.catlinks {
 
   background-color: #000;
 
   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%
 
}
 
}
.mw-body-content a:link, .mw-body-content a.external:link {
+
div#bodyContent.mw-body-content a:link, div#bodyContent.mw-body-content a.external:link {
 
   color: #FFF;
 
   color: #FFF;
 
}
 
}
.mw-body-content a:visited, .mw-body-content a.external:visited {
+
div#bodyContent.mw-body-content a:visited, div#bodyContent.mw-body-content a.external:visited {
 
   color: #FFC;
 
   color: #FFC;
 
}
 
}
.mw-body-content a:hover, .mw-body-content a.external:hover {
+
div#bodyContent.mw-body-content a:hover, div#bodyContent.mw-body-content a.external:hover {
 
   color: #FF9;
 
   color: #FF9;
 
}
 
}
.mw-body-content a:active, .mw-body-content a.external:active {
+
div#bodyContent.mw-body-content a:active, div#bodyContent.mw-body-content a.external:active {
 
   color: #FFD;
 
   color: #FFD;
 
}
 
}
.mw-body-content a.new, .mw-body-content a.new:visited {
+
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 {

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.