Difference between revisions of "Template:Domain"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
<div id="domain-container">
 
<div id="domain-container">
 
<div id="domain-title" class="clearfix">{{PAGENAME}}</div>
 
<div id="domain-title" class="clearfix">{{PAGENAME}}</div>
<div id="domain-title-image">{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|300px]]
+
<div id="domain-title-image">
   |{{#ifexist: {{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|300px]]
+
{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|300px]]
     |{{#ifexist: {{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|300px]]
+
   |{{#ifexist: File:{{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|300px]]
       |{{#ifexist: {{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|300px]]
+
     |{{#ifexist: File:{{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|300px]]
         |{{#ifexist: {{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|300px]]
+
       |{{#ifexist: File:{{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|300px]]
          |[[File:Portrait_Placeholder.png|300px]]
+
         |{{#ifexist: File:{{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|300px]]
 
         }}
 
         }}
 
       }}
 
       }}

Revision as of 23:11, 14 August 2020

This is the "Domain" template. It should be called in the following format:

{{Domain
|region=
|dst=
|dstemail=
|dc=
|dcemail=
}}

Edit the page to see the template text.