Template:Companion Infobox: Difference between revisions
From Tiny Rogues Wiki
mNo edit summary |
No edit summary |
||
(18 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{#cargo_declare:_table=Companion_Infobox | {{#cargo_declare:_table=Companion_Infobox | ||
|Equipment_Type = String | |Equipment_Type = String | ||
|Rarity = | |Rarity = String | ||
|Effect = | |Effect = Wikitext | ||
|CompanionWeight = | |CompanionWeight = String | ||
|CompanionAPS = | |CompanionAPS = String | ||
|CompanionDMG = | |CompanionDMG = Wikitext | ||
|CompanionBonus = | |CompanionInflict = Wikitext | ||
|CompanionBonus = Wikitext | |||
|Image = File | |Image = File | ||
}} | }} | ||
Line 23: | Line 24: | ||
| 6 = #00af00 | | 6 = #00af00 | ||
| Grey }}; | | Grey }}; | ||
height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em }};margin-bottom:40px; margin-top:20px" >{{PAGENAME}}</p></center></default> | |||
</title> | </title> | ||
<image source="image"><default>{{PAGENAMEE}}.png</default></image> | <image source="image"><default>{{PAGENAMEE}}.png</default></image> | ||
<group> | <group> | ||
<data source="Equipment_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type:</span></label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]] | |||
<data source="Equipment_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type</span></label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]] | |||
</format></data> | </format></data> | ||
<data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}} |}} | <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data> | ||
<data source="CompanionWeight"><label><span style="color:#82838e; font-weight:bold">Weight</span></label></data> | <data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></format></data> | ||
<data source="CompanionAPS"><label><span style="color:#82838e; font-weight:bold">APS</span></label></data> | <data source="CompanionWeight"><label><span style="color:#82838e; font-weight:bold">Weight:</span></label></data> | ||
<data source="CompanionDMG"><label><span style="color:#82838e; font-weight:bold">DMG</span></label></data> | <data source="CompanionAPS"><label> <span style="color:#82838e; font-weight:bold">APS:</span></label> <format><span style="color:#63a303; font-weight:bold">{{{CompanionAPS}}}</span></format></data> | ||
<data source="CompanionBonus"><label><span style="color:#82838e; font-weight:bold">Grants</span></label></data> | <data source="CompanionDMG"><label><span style="color:#82838e; font-weight:bold">DMG:</span></label></data> | ||
<data source="CompanionInflict"><label><span style="color:#82838e; font-weight:bold">Inflicts:</span></label></data> | |||
<data source="CompanionBonus"><label><span style="color:#82838e; font-weight:bold">Grants:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{CompanionBonus}}}</p></format></data> | |||
</group> | </group> | ||
<image source="Image" class="gifresize"><default>{{Image}}</default></image> | <image source="Image" class="gifresize"><default>{{Image}}</default></image> |
Latest revision as of 21:24, 2 February 2024
This template defines the table "Companion_Infobox". View table.