Difference between revisions of "Template:Artifact"
From Emperor's Hammer Encyclopaedia Imperia
(New Artifact Template) |
m |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
| − | {| class=" | + | {{#switch: {{{rarity|Common}}} |
| + | |Common = {{#vardefine:bordercolor|#bfbfbf}} | ||
| + | |Uncommon = {{#vardefine:bordercolor|#3cb371}} | ||
| + | |Rare = {{#vardefine:bordercolor|#3b6bdc}} | ||
| + | |Epic = {{#vardefine:bordercolor|#7b3bdc}} | ||
| + | |Legendary = {{#vardefine:bordercolor|#d48a00}} | ||
| + | |Mythic = {{#vardefine:bordercolor|#b80000}} | ||
| + | |#default = {{#vardefine:bordercolor|#bfbfbf}} | ||
| + | }} | ||
| + | |||
| + | {| width="250" align="right" cellpadding="3" cellspacing="0" class="sidebar" | ||
| + | style="float:right; clear:right; font-size:smaller; border:2px solid {{#var:bordercolor}};" | ||
| + | |||
|- | |- | ||
| − | ! colspan="2" | + | {{#if: {{{image|}}}| |
| + | {{!}} colspan="2" class="sidebar-heading-image" {{!}} {{{image}}} | ||
| + | }} | ||
| + | |||
| + | <!-- ===== HEADER (COLOR BY RARITY) ===== --> | ||
|- | |- | ||
| − | | colspan="2" style="text-align:center; background:# | + | {{#switch: {{{rarity|Common}}} |
| + | |Common = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#bfbfbf; color:black;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |Uncommon = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#3cb371; color:white;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |Rare = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#3b6bdc; color:white;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |Epic = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#7b3bdc; color:white;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |Legendary = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#d48a00; color:white;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |Mythic = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#b80000; color:white;" {{!}} '''{{{name|N/A}}}''' | ||
| + | |default = {{!}} colspan="2" class="sidebar-heading-heading" style="text-align:center; font-variant:small-caps; background-color:#bfbfbf; color:black;" {{!}} '''{{{name|N/A}}}''' | ||
| + | }} | ||
| − | <!-- | + | <!-- ===== BASIC INFORMATION ===== --> |
|- | |- | ||
| − | ! colspan="2" style=" | + | {{!}} colspan="2" class="sidebar-heading-subheading" style="text-align:center;" {{!}} '''Basic Information''' |
|- | |- | ||
| − | ! Type | + | {{!}} class="sidebar-label" {{!}} Type: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{type|N/A}}} | |
|- | |- | ||
| − | ! Rarity | + | {{!}} class="sidebar-label" {{!}} Rarity: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{rarity|N/A}}} | |
|- | |- | ||
| − | ! Origin / Event | + | {{!}} class="sidebar-label" {{!}} Origin / Event: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{origin|N/A}}} | |
|- | |- | ||
| − | ! Owner / Winner | + | {{!}} class="sidebar-label" {{!}} Owner / Winner: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{owner|N/A}}} | |
| − | <!-- | + | <!-- ===== ATTRIBUTES ===== --> |
|- | |- | ||
| − | ! colspan="2" style=" | + | {{!}} colspan="2" class="sidebar-heading-subheading" style="text-align:center;" {{!}} '''Attributes''' |
|- | |- | ||
| − | ! Effect | + | {{!}} class="sidebar-label" {{!}} Effect: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{effect|N/A}}} | |
|- | |- | ||
| − | ! Passive | + | {{!}} class="sidebar-label" {{!}} Passive: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{passiv|N/A}}} | |
|- | |- | ||
| − | ! Active | + | {{!}} class="sidebar-label" {{!}} Active: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{activ|N/A}}} | |
|- | |- | ||
| − | ! Limitation | + | {{!}} class="sidebar-label" {{!}} Limitation: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{limit|N/A}}} | |
| − | <!-- | + | <!-- ===== STATUS / GAME DATA ===== --> |
|- | |- | ||
| − | ! colspan="2" style=" | + | {{!}} colspan="2" class="sidebar-heading-subheading" style="text-align:center;" {{!}} '''Status / Game Data''' |
|- | |- | ||
| − | ! Status | + | {{!}} class="sidebar-label" {{!}} Status: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{status|N/A}}} | |
|- | |- | ||
| − | ! | + | {{!}} class="sidebar-label" {{!}} ID: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{ID|N/A}}} | |
|- | |- | ||
| − | ! Version / Patch | + | {{!}} class="sidebar-label" {{!}} Version / Patch: |
| − | + | {{!}} class="sidebar-value" {{!}} {{{version|N/A}}} | |
|} | |} | ||
</includeonly> | </includeonly> | ||
| Line 55: | Line 79: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
| − | |||
| − | |||
<pre> | <pre> | ||
{{Artifact | {{Artifact | ||
| Line 74: | Line 96: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | [[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | + | ==Example== |
| + | <pre> | ||
| + | {{Artifact | ||
| + | |image=[[File:Your_Picture.png|250px|center]] | ||
| + | |name= Names have Power | ||
| + | |type= Weapon/Amulett/Material | ||
| + | |rarity= Pick one (Common/Uncommon/Rare/Epic/Legendary/Mythic) | ||
| + | |origin= Event this Artifact was won in | ||
| + | |owner= House/Member | ||
| + | |effect= Short Description of what the artifact does | ||
| + | |passiv= Any ongoing or always-on effect | ||
| + | |activ= How to use it, cooldowns, or conditions | ||
| + | |limit= Limitations the artifact has | ||
| + | |status= (Active/Lost/Buried/In Storage) | ||
| + | |ID= Assigned Library Number (the DC will assign) | ||
| + | |version= 0.0 (first number changes if artifact changes owner/second number after a major wiki update) | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | ==Rarity Colors== | ||
| + | * '''Common''' – Gray (#bfbfbf) | ||
| + | * '''Uncommon''' – Green (#3cb371) | ||
| + | * '''Rare''' – Blue (#3b6bdc) | ||
| + | * '''Epic''' – Purple (#7b3bdc) | ||
| + | * '''Legendary''' – Orange (#d48a00) | ||
| + | * '''Mythic''' – Red-Gold (#b80000) | ||
| + | |||
| + | [[Category:Infobox templates|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
Revision as of 12:20, 30 October 2025
Usage
{{Artifact
|image=
|name=
|type=
|rarity=
|origin=
|owner=
|effect=
|passiv=
|activ=
|limit=
|status=
|ID=
|version=
}}
Example
{{Artifact
|image=[[File:Your_Picture.png|250px|center]]
|name= Names have Power
|type= Weapon/Amulett/Material
|rarity= Pick one (Common/Uncommon/Rare/Epic/Legendary/Mythic)
|origin= Event this Artifact was won in
|owner= House/Member
|effect= Short Description of what the artifact does
|passiv= Any ongoing or always-on effect
|activ= How to use it, cooldowns, or conditions
|limit= Limitations the artifact has
|status= (Active/Lost/Buried/In Storage)
|ID= Assigned Library Number (the DC will assign)
|version= 0.0 (first number changes if artifact changes owner/second number after a major wiki update)
}}
Rarity Colors
- Common – Gray (#bfbfbf)
- Uncommon – Green (#3cb371)
- Rare – Blue (#3b6bdc)
- Epic – Purple (#7b3bdc)
- Legendary – Orange (#d48a00)
- Mythic – Red-Gold (#b80000)