Jump to content

Template:Relic: Difference between revisions

From Doom Relics
Created page with "<!-- ===== RELIC TEMPLATE ===== --> <div style="text-align:center; margin-bottom:14px;"> {{#if:{{{image|}}}|{{{image}}}|}} </div> {| class="wikitable" style=" width:100%; max-width:720px; margin:auto; background: rgba(0,0,0,0.55); border:1px solid rgba(255,120,0,0.30); border-radius:12px; overflow:hidden; " |- ! colspan="2" style=" text-align:center; font-size:140%; letter-spacing:.14em; text-transform:uppercase; " | {{{name|Relic}}} |- | style="width:35%; font-weight..."
 
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- ===== RELIC TEMPLATE ===== -->
<includeonly>
<div class="relic-card">


<div style="text-align:center; margin-bottom:14px;">
  <div class="relic-header">
{{#if:{{{image|}}}|{{{image}}}|}}
    <div class="relic-title">{{PAGENAME}}</div>
</div>
    <div class="relic-chip">{{{rarity|Unknown}}}</div>
  </div>


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


|-
    <!-- 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;" | Category
    <div class="relic-meta">
| {{{category|}}}
      <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;" | Type
| {{{type|}}}


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


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


|-
| style="font-weight:bold;" | Region
| {{{region|}}}


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

Latest revision as of 11:14, 26 December 2025