Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 12: 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 59: Line 59:
 
   font-size: 22px;
 
   font-size: 22px;
 
}
 
}
#domain-container {
+
#mw-content-text {
 
   padding: 5px;
 
   padding: 5px;
 
   background-color: #000;
 
   background-color: #000;
Line 72: Line 72:
 
   text-align: center;
 
   text-align: center;
 
}
 
}
#domain-container h2, .my-h2 {
+
div#bodyContent.mw-body-content h2, .my-h2 {
 
   font-family: "Poiret One", cursive;
 
   font-family: "Poiret One", cursive;
 
   color: #DC7;
 
   color: #DC7;
Line 78: Line 78:
 
   size: 18px;
 
   size: 18px;
 
}
 
}
#domain-container h3, .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 84: Line 84:
 
   size: 16px;
 
   size: 16px;
 
}
 
}
#domain-container p, #domain-container td, #domain-container th, #domain-container ul {
+
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 120: Line 120:
 
   vertical-align: bottom;
 
   vertical-align: bottom;
 
}
 
}
#domain-container a:link, #domain-container a.external:link {
+
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;
 
   color: #FFF;
 
}
 
}
#domain-container a:visited, #domain-container a.external:visited {
+
div#bodyContent.mw-body-content a:visited, div#bodyContent.mw-body-content a.external:visited {
 
   color: #FFC;
 
   color: #FFC;
 
}
 
}
#domain-container a:hover, #domain-container a.external:hover {
+
div#bodyContent.mw-body-content a:hover, div#bodyContent.mw-body-content a.external:hover {
 
   color: #FF9;
 
   color: #FF9;
 
}
 
}
#domain-container a:active, #domain-container a.external:active {
+
div#bodyContent.mw-body-content a:active, div#bodyContent.mw-body-content a.external:active {
 
   color: #FFD;
 
   color: #FFD;
 
}
 
}
#domain-container a.new, #domain-container a.new:visited {
+
div#bodyContent.mw-body-content a.new, div#bodyContent.mw-body-content a.new:visited {
 
}
 
}
 
a.mw-helplink {
 
a.mw-helplink {

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.