Editing Template:Infobox Enchantment

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<noinclude>{{Template:Infobox Enchantment/doc}}</noinclude><includeonly>{{Infobox
+
<div class="infobox">
| autoheaders    = y
+
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
| title          = {{{title|{{PAGENAME}}}}}
+
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="130"></div>
|  image        = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="150">|{{img|{{PAGENAME}}|150}}}}
+
<table style="padding: 1em; margin: auto;">
|  label1  = Description
+
{{#if: {{{desc|}}}|
|  data1  = {{{desc|}}}
+
<tr>
| header20 = Scroll
+
    <th colspan="10" style="width: 220px;">Description</th>
|  label21 = {{#if: {{{scroll-img|}}}|<img src="{{{scroll-img}}}" height="auto" width="42">|{{img|{{{scroll-name}}}|42}}}}
+
    <td colspan="20">{{{desc}}}</td>
|  data21 = {{{scroll-name|}}}
+
</tr>
|  label22 = Slot
+
|}}
|  data22 = {{{scroll-slot|}}}
+
{{#if: {{{max-buff|}}}|
|  label23 = Source
+
<tr>
|  data23 = {{{scroll-source|}}}
+
    <th colspan="10">Max Buff</th>
|  label24 = Level
+
    <td colspan="20">{{{max-buff}}}</td>
|  data24 = {{{scroll-level|}}}
+
</tr>
|  label25 = Silver
+
|}}
|  data25 = {{{silver|}}}
+
{{#if: {{{max-effect|}}}|
| label26 = Rune Amount
+
<tr>
|  data26 = {{{rune-amount|}}}
+
    <th colspan="10">Max Effect</th>
|  label27 = Rune Type
+
    <td colspan="20">{{{max-effect}}}</td>
|  data27 = {{{rune-type|}}}
+
</tr>
|  label28 = Experience
+
|}}
|  data28 = {{{experience|}}}
+
</table>
| header40 = Cooking Ingredient
+
{{#if: {{{scroll-name|}}}|
|  label41 = {{#if: {{{food-img|}}}|<img src="{{{food-img}}}" height="auto" width="42">|{{img|{{{food-name}}}|42}}}}
+
<div class="infobox-title">Scroll</div>
|  data41 = {{{food-name|}}}
+
<table style="padding: 1em; margin: auto;">
label42 = Source
+
<tr>
|   data42 = {{{food-source|}}}
+
    <th colspan="10"><img src="{{{scroll-img}}}" height="auto" width="32"></th>
| label43 = Effect
+
    <td colspan="20">{{{scroll-name}}}</td>
|   data43 = {{{food-effect|}}}
+
</tr>
}}</includeonly>
+
 
 +
{{#if: {{{scroll-slot|}}}|
 +
<tr>
 +
<th colspan="10">Slot</th>
 +
<td colspan="20">{{{scroll-slot}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{scroll-source|}}}|
 +
<tr>
 +
<th colspan="10">Source</th>
 +
<td colspan="20">{{{scroll-source}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
|}}
 +
{{#if: {{{food-name|}}}|
 +
<div class="infobox-title">Cooking Ingredient</div>
 +
<table style="padding: 1em; margin: auto;">
 +
<tr>
 +
    <th colspan="10"><img src="{{{food-img}}}" height="auto" width="32"></th>
 +
    <td colspan="20">{{{food-name}}}</td>
 +
</tr>
 +
{{#if: {{{food-source|}}}|
 +
<tr>
 +
<th colspan="10">Source</th>
 +
<td colspan="20">{{{food-source}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
|}}
 +
</div>
 +
<noinclude>
 +
====Usage====
 +
<pre>{{Infobox Equipment
 +
|title = Automatic pagename, only use this if custom name is needed
 +
  |image = Img URL e.g. https://idlescape.com/images/combat/equipment/bronze_med_helm_icon.png
 +
|desc = In game description
 +
|max-buff = Maximum possible buff
 +
|max-effect = Maximum possible effect
 +
|scroll-img = Scroll image URL
 +
|scroll-name = Scroll name
 +
|scroll-slot = Scroll equipment type
 +
|scroll-source = Source of scroll
 +
|food-img = Ingredient image URL
 +
|food-name = Ingredient name
 +
|food-source = Source of ingredient
 +
}}</pre>
 +
 
 +
====Copy pasta code:====
 +
 
 +
<pre>
 +
{{Infobox Equipment
 +
|title =
 +
|image =
 +
|desc =
 +
|max-buff =
 +
|max-effect =
 +
|scroll-img =
 +
|scroll-name =
 +
|scroll-slot =
 +
|scroll-source =  
 +
|food-img =  
 +
|food-name =
 +
|food-source =
 +
}}
 +
</pre>
 +
 
 +
</noinclude>

Please note that all contributions to Idlescape Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see IdleScape Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: