Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(16 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 97: Line 98:
 
   height: auto;
 
   height: auto;
 
   max-width: 80%;
 
   max-width: 80%;
  float: center;
 
 
}
 
}
#domain-info-table, th {
+
div#domain-info {
 +
  max-width: 80%;
 +
  margin: auto;
 +
  margin-top: 20px;
 +
}
 +
table#domain-info-table {
 
   vertical-align: top;
 
   vertical-align: top;
 
   text-align:left;
 
   text-align:left;
   margins: auto;
+
   margin: auto;
 
}
 
}
 
div#content.mw-body {
 
div#content.mw-body {
Line 114: Line 119:
 
div#catlinks.catlinks a {
 
div#catlinks.catlinks a {
 
   vertical-align: bottom;
 
   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 {
 
div#bodyContent.mw-body-content a:link, div#bodyContent.mw-body-content a.external:link {
Line 128: Line 136:
 
}
 
}
 
div#bodyContent.mw-body-content a.new, div#bodyContent.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.