Jump to content

Template:Relic: Difference between revisions

From Doom Relics
No edit summary
Tag: Reverted
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- DOOM RELIC TEMPLATE (CLEAN & SAFE) -->
<includeonly>
<div class="relic-card">


{| class="wikitable"
  <div class="relic-header">
style="width:100%; max-width:720px; margin:0 auto 16px auto; background:rgba(0,0,0,0.55); border:1px solid rgba(255,120,0,0.30); border-radius:12px; overflow:hidden;"
    <div class="relic-title">{{PAGENAME}}</div>
|-
    <div class="relic-chip">{{{rarity|Unknown}}}</div>
! colspan="2"
  </div>
style="text-align:center; font-size:140%; letter-spacing:.14em; text-transform:uppercase;"
| {{{name|Relic}}}


|-
  <div class="relic-body">
| colspan="2" style="text-align:center; padding:12px;"
| {{{image|}}}


|-
    <!-- LEFT: IMAGE -->
| style="width:35%; font-weight:bold;" | Game
    <div class="relic-media">
| {{{game|}}}
      {{#if: {{{img1|}}}
        | [[File:{{{img1}}}|frameless|360px|link=File:{{{img1}}}]]
        | <div class="relic-noimg">No image uploaded</div>
      }}
    </div>


|-
    <!-- RIGHT: META / FIELDS -->
| style="font-weight:bold;" | Type
    <div class="relic-meta">
| {{{type|}}}
      <div class="relic-row"><span class="k">Category</span><span class="v">{{{category|}}}</span></div>
      <div class="relic-row"><span class="k">Subcategory</span><span class="v">{{{subcat|}}}</span></div>
      <div class="relic-row"><span class="k">Manufacturer</span><span class="v">{{{manufacturer|}}}</span></div>
      <div class="relic-row"><span class="k">Year</span><span class="v">{{{year|}}}</span></div>
      <div class="relic-row"><span class="k">Platform</span><span class="v">{{{platform|}}}</span></div>
    </div>


|-
  </div>
| style="font-weight:bold;" | Manufacturer
| {{{manufacturer|}}}


|-
  <!-- FULL WIDTH DESCRIPTION (below image + meta) -->
| style="font-weight:bold;" | Year
  {{#if: {{{description|}}}
| {{{year|}}}
    | <div class="relic-desc relic-desc--full">
        <div class="k">Description</div>
        <div class="desc">{{{description}}}</div>
      </div>
    |
  }}


|-
[[Category:Relics]]
| style="font-weight:bold;" | Region
{{#if: {{{category|}}} | [[Category:{{{category}}}]] }}
| {{{region|}}}
{{#if: {{{category|}}}{{{subcat|}}} | [[Category:{{{category}}} – {{{subcat}}}]] }}


|-
| style="font-weight:bold;" | Rarity
| {{{rarity|}}}


|-
</div>
| style="font-weight:bold;" | Notes
</includeonly>
| {{{notes|}}}
|}

Latest revision as of 11:14, 26 December 2025