Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(8 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 83: Line 84:
 
   size: 16px;
 
   size: 16px;
 
}
 
}
div#Content.mw-body p, div#Content.mw-body td, div#Content.mw-body th, div#Content.mw-body 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 119: Line 120:
 
   vertical-align: bottom;
 
   vertical-align: bottom;
 
}
 
}
div#Content.mw-body a:link, div#Content.mw-body 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;
 
}
 
}
div#Content.mw-body a:visited, div#Content.mw-body a.external:visited {
+
div#bodyContent.mw-body-content a:visited, div#bodyContent.mw-body-content a.external:visited {
 
   color: #FFC;
 
   color: #FFC;
 
}
 
}
div#Content.mw-body a:hover, div#Content.mw-body a.external:hover {
+
div#bodyContent.mw-body-content a:hover, div#bodyContent.mw-body-content a.external:hover {
 
   color: #FF9;
 
   color: #FF9;
 
}
 
}
div#Content.mw-body a:active, div#Content.mw-body a.external:active {
+
div#bodyContent.mw-body-content a:active, div#bodyContent.mw-body-content a.external:active {
 
   color: #FFD;
 
   color: #FFD;
 
}
 
}
div#Content.mw-body a.new, div#Content.mw-body 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.