Difference between revisions of "User:Sanhard/Sandbox2"

From Artifact: The Dota Card Game Wiki
Jump to: navigation, search
(Replaced content with "{{User:Sanhard/Sandbox}} {{#var:test}}")
Tag: Replaced
Line 1: Line 1:
  +
{{User:Sanhard/Sandbox}}
{| class="infoboxtable"
 
  +
{{#var:test}}
|-
 
! colspan="2" class="infoboxname" | {{#ifeq: {{{type|}}} | Hero | {{H|{{{name}}}}} | {{{name|Test}}} }}
 
|-
 
{{#if: {{{image|}}} | ! colspan="2" style="position: relative;" {{!}} [[{{{image}}}{{!}}{{{size|300x300px}}}{{!}}link={{{name}}}]]<span style="font-size:48%; line-height: 1.3em;position: absolute;top:0.5px;right:7px;">[[Media:{{#replace:{{{image}}}|File:|}}|v]] - [[:{{{image}}}|e]]</span>| ! colspan="2" {{!}} ''No image yet'' }}
 
|-
 
! colspan="2" class="infoboxdetails"| Details
 
|-
 
{{#if: {{{hero|}}} | {{!}} class="infoboxlabel" style="width:40%" {{!}} <div>Signature Card of:</div> {{!!}} {{H|{{{hero}}} }} }}
 
|-
 
{{#if: {{{color|}}} | {{!}} class="infoboxlabel" style="width:40%" {{!}} <div>Color:</div> {{!!}} {{{{{color}}}}} }}
 
|-
 
{{#if: {{{type|}}} | {{!}} class="infoboxlabel" style="width:40%" {{!}} <div>Type:</div> {{!!}} {{#if: {{{subtype|}}} | [[{{{type}}} ({{{subtype|}}})]] | [[{{{type}}}]] }} }}
 
|-
 
{{#if: {{{goldcost|}}} | {{!}} class="infoboxlabel" {{!}} <div>Gold Cost:</div> {{!!}} {{{goldcost}}} {{Symbol|Gold}}}}
 
|-
 
{{#if: {{{manacost|}}} | {{!}} class="infoboxlabel" {{!}} <div>Mana Cost:</div> {{!!}} {{{manacost}}} }}
 
|-
 
{{#ifeq: {{{attack|0}}} | 0 | | {{!}} class="infoboxlabel" {{!}} <div>Attack:</div> {{!!}} {{{attack}}} }}
 
|-
 
{{#if: {{{armor|}}} | {{!}} class="infoboxlabel" {{!}} <div>Armor:</div> {{!!}} {{{armor}}} }}
 
|-
 
{{#ifeq: {{{attack|0}}} | 0 | | {{!}} class="infoboxlabel" {{!}} <div>Health:</div>{{!!}} {{{health}}} }}
 
|-
 
{{!}} class="infoboxlabel" {{!}} <div>Rarity:</div> {{!!}} {{#if: {{{rarity|}}} | {{{rarity}}} | Basic}}
 
|-
 
{{#if: {{{illustrator|}}} | {{!}} class="infoboxlabel" {{!}} <div>Illustrator:</div>{{!!}} {{{illustrator}}} }}
 
{{#if: {{{text|}}} |{{!}}-
 
! colspan="2" class="infoboxdetails" {{!}} Text
 
{{!}}-
 
! colspan="2" {{!}} <div style="text-align: center;">{{{text}}}</div> }}
 
|}<!-- This is a parser function that fixes description summary being returned in sites like Google being just a bunch of infobox text which is pretty unreadable. -->{{#description2:{{{name}}} is a {{{rarity|}}} {{{color|}}} {{{type|}}} card in Artifact: The DOTA Card Game. {{{text|}}} }}
 
{{#ifeq: {{{type|}}} | Hero | {{H|{{{name}}}}} | {{{name|Test}}} }} is a {{lcfirst:{{{rarity|}}}}} {{{{{color|}}}}} {{{type|}}} card.
 

Revision as of 15:02, 11 January 2019

Artifact {{{notes}}} {{{param}}}