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">{{#switch: {{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|300px]]}}|{{#ifexist: {{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|300px]]}}|{{#ifexist: {{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|300px]]}}|{{#ifexist: {{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|300px]]}}|{{#ifexist: {{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|300px]]}}|}}</div>
+
<div id="domain-title-image">{{#ifexist: File:{{PAGENAME}}.png|[[File:{{PAGENAME}}.png|300px]]
 +
  |{{#ifexist: {{PAGENAME}}.jpg|[[File:{{PAGENAME}}.jpg|300px]]
 +
    |{{#ifexist: {{PAGENAME}}.jpeg|[[File:{{PAGENAME}}.jpeg|300px]]
 +
      |{{#ifexist: {{PAGENAME}}.gif|[[File:{{PAGENAME}}.gif|300px]]
 +
        |{{#ifexist: {{PAGENAME}}.webp|[[File:{{PAGENAME}}.webp|300px]]
 +
          |[[File:Portrait_Placeholder.png|300px]]
 +
        }}
 +
      }}
 +
    }}
 +
  }}
 +
}}
 +
</div>
 
<div id="domain-info">
 
<div id="domain-info">
 
{| id="domain-info-table"
 
{| id="domain-info-table"

Revision as of 22:07, 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.