Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
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]]|
  {{#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]]
+
         |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|center]]
           |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|frameless|center]]
+
           |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|center]]
             |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|frameless|center]]
+
             |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|center]]
 
             }}
 
             }}
 
           }}
 
           }}

Revision as of 20:58, 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.