Template:Test: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="article-table" style="text-align:center; border-spacing: 2px; border: 1px solid rgb(51,51,51);"
<includeonly>
{| class="infobox"
|-
|-
! colspan="6" style="width:90px; text-align:center; border: 1px solid rgb(51,51,51);" | [[{{{Name}}}]]
! Title
|-
| {{PAGENAME}}
! colspan="2" style="width:90px; text-align:center; border: 1px solid rgb(51,51,51);" | Upgrade
{{#if: {{{image_equipped|}}} | |- |-
! colspan="2" style="width:90px; text-align:center; border: 1px solid rgb(51,51,51);" | Class
! Image (Equipped)
! colspan="2" style="width:90px; text-align:center; border: 1px solid rgb(51,51,51);" | Special Features
| {{{image_equipped}}}}}
|-
{{#if: {{{caption_equipped|}}} | |- |-
| colspan="2" style="width:75px;border: 1px solid rgb(51,51,51);" | {{#if:{{{Upgrade|}}}|[[{{{Upgrade}}}]]|[[File:NoUpgrades.png|30x30px]] [[Upgrades]]}}
! Caption (Equipped)
| colspan="2" style="max-width:90px; padding-bottom: 20px; border: 1px solid rgb(51,51,51);" |
| {{{caption_equipped}}}}}
{{#switch: {{lc:{{{class|}}}}}
{{#if: {{{image_inv|}}} | |- |-
| magic = [[File:Magic.png]] [[Magic]]
! Image (Inventory)
| melee = [[File:Attack.png]] [[Melee]]
| {{{image_inv}}}}}
| ranged = [[File:Ranged.png]] [[Ranged]]
{{#if: {{{caption_inv|}}} | |- |-
| tribrid = [[File:CombatSwords.png]] [[Gear{{!}}Tribrid]]
! Caption (Inventory)
| {{{caption_inv}}}}}
{{#if: {{{category|}}} | |- |-
! Category
| {{{category}}}}}
{{#if: {{{upgrade|}}} | |- |-
! Upgrade
| {{{upgrade}}}}}
{{#if: {{{trade|}}} | |- |-
! Tradeability
| {{{trade}}}}}
{{#if: {{{black_market|}}} | |- |-
! Black Market
| {{{black_market}}}}}
{{#if: {{{karma_statue|}}} | |- |-
! Karma Statue
| {{{karma_statue}}}}}
{{#if: {{{karma_exp|}}} | |- |-
! Karma Exp
| {{{karma_exp}}}}}
{{#if: {{{item_grinder|}}} | |- |-
! Item Grinder
| {{{item_grinder}}}}}
{{#if: {{{advanced_grinder|}}} | |- |-
! Advanced Grinder
| {{{advanced_grinder}}}}}
{{#if: {{{salvage_table|}}} | |- |-
! Salvage Table
| {{{salvage_table}}}}}
|}
}}
</includeonly>
<noinclude>
Example usage:
<pre>
{{Item
  | title1=
  | image_equipped=
  | caption_equipped=
  | image_inv=
  | caption_inv=
  | category=
  | upgrade=
  | trade= <span style="color:#FF2D00;">Not Tradeable</span> <span style="color:#70FF00;">Tradeable</span>
  | black_market=
  | karma_statue=
  | karma_exp=
  | item_grinder=
  | advanced_grinder=
  | salvage_table=
}}
}}
| colspan="2" style="max-width:310px; border: 1px solid rgb(51,51,51);" | {{{Bonuses}}}
</pre>
|-
<templatedata>
! colspan="2" style="width:125px; text-align:center; border: 1px solid rgb(51,51,51);" | [[{{{Name|}}}]][[File:{{{Name}}}.png|center|125px|link={{{Name}}}]]
{"params":{"title1":{"suggested":true},"image_equipped":{"suggested":true},"caption_equipped":{"suggested":true},"image_inv":{"suggested":true},"caption_inv":{"suggested":true},"category":{"suggested":true},"upgrade":{"suggested":true},"trade":{"suggested":true},"black_market":{"suggested":true},"karma_statue":{"suggested":true},"karma_exp":{"suggested":true},"item_grinder":{"suggested":true},"advanced_grinder":{"suggested":true},"salvage_table":{"suggested":true}},"sets":[],"maps":{}}
!
</templatedata>
! style="width:125px; text-align:center;" |
</noinclude>
{| style="padding: 5px; border: 1px #AAA solid; width: 1%; border: 1px solid #AAA !important; margin: 10px;"
! colspan="3" style="border-bottom:1px solid #aaa; color:#00D9FF; text-align:center" {{!}} [[Combat|Combat Stats]]
{{!}}-
! width="111" style="text-align:left" {{!}} Bonus
! width="62" {{!}} Attack
! width="62" {{!}} Defence
{{!}}-
{{!}} class="iCSbox" {{!}} Stab
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Stab Attack Bonus" {{!}} {{#if:{{{Stabatk|}}}|{{{Stabatk}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Stab Defence Bonus" {{!}} {{#if:{{{Stabdef|}}}|{{{Stabdef}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Slash
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Slash Attack Bonus" {{!}} {{#if:{{{Slashatk|}}}|{{{Slashatk}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Slash Defence Bonus" {{!}} {{#if:{{{Slashdef|}}}|{{{Slashdef}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Crush
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Crush Attack Bonus" {{!}} {{#if:{{{Crushatk|}}}|{{{Crushatk}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Crush Defence Bonus" {{!}} {{#if:{{{Crushdef|}}}|{{{Crushdef}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Magic
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Magic Attack Bonus" {{!}} {{#if:{{{Magicatk|}}}|{{{Magicatk}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Magic Defence Bonus" {{!}} {{#if:{{{Magicdef|}}}|{{{Magicdef}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Range
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Range Attack Bonus" {{!}} {{#if:{{{Rangeatk|}}}|{{{Rangeatk}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Range Defence Bonus" {{!}} {{#if:{{{Rangedef|}}}|{{{Rangedef}}}|+0}}
{{!}}-
! colspan="3" style="border-bottom:1px solid #aaa; color:#00D9FF; text-align:center" {{!}} Other Bonuses
{{!}}-
{{!}} class="iCSbox" {{!}} Range
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Range Strength" {{!}} {{#if:{{{Rangestr|}}}|{{{Rangestr}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Range Tribrid" {{!}} {{#if:{{{Rangetri|}}}|{{{Rangetri}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Melee
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Melee Strength" {{!}} {{#if:{{{Meleestr|}}}|{{{Meleestr}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Melee Tribrid" {{!}} {{#if:{{{Meleetri|}}}|{{{Meleetri}}}|+0}}
{{!}}-
{{!}} class="iCSbox" {{!}} Magic
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Magic Strength" {{!}} {{#if:{{{Magestr|}}}|{{{Magestr}}}|+0}}
{{!}} class="iCSbox" style="text-align:center; font-weight: normal;" title="Magic Tribrid" {{!}} {{#if:{{{Magetri|}}}|{{{Magetri}}}|+0}}
|}
| colspan="2" style="width:310px; border: 1px solid rgb(51,51,51);" | {{{Description}}}
|}

Latest revision as of 22:11, 27 November 2023


Example usage:

{{Item
  | title1=
  | image_equipped=
  | caption_equipped=
  | image_inv=
  | caption_inv=
  | category=
  | upgrade=
  | trade= <span style="color:#FF2D00;">Not Tradeable</span> <span style="color:#70FF00;">Tradeable</span>
  | black_market=
  | karma_statue=
  | karma_exp=
  | item_grinder=
  | advanced_grinder=
  | salvage_table=
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image_equippedimage_equipped

no description

Unknownsuggested
caption_equippedcaption_equipped

no description

Unknownsuggested
image_invimage_inv

no description

Unknownsuggested
caption_invcaption_inv

no description

Unknownsuggested
categorycategory

no description

Unknownsuggested
upgradeupgrade

no description

Unknownsuggested
tradetrade

no description

Unknownsuggested
black_marketblack_market

no description

Unknownsuggested
karma_statuekarma_statue

no description

Unknownsuggested
karma_expkarma_exp

no description

Unknownsuggested
item_grinderitem_grinder

no description

Unknownsuggested
advanced_grinderadvanced_grinder

no description

Unknownsuggested
salvage_tablesalvage_table

no description

Unknownsuggested