Template:Debate argument: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
(Created page with "<noinclude>{{doc}}Category:Templates<!-- ### Cargo Declare -->{{#cargo_declare:_table=StageArgument |stage=String |quote=String |attribute=String |hp=Integer |atk=Intege...")
 
imported>Elaeagnifolia
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
### Cargo Store
### Cargo Store


-->{{#cargo_store:_table=StageArgument
-->{{#ifeq:{{{noCargo|}}} | 1 | <nowiki/> | {{#cargo_store:_table=StageArgument
|stage={{BASEPAGENAME}}
|stage={{BASEPAGENAME}}
|wave={{#var:wave}}
|quote={{{quote|}}}
|quote={{{quote|}}}
|attribute={{{attribute|}}}
|attribute={{{attribute|}}}
Line 51: Line 52:
|skill5Name={{{skill5Name|}}}
|skill5Name={{{skill5Name|}}}
|skill5Description={{{skill5Description|}}}
|skill5Description={{{skill5Description|}}}
}}
}}<!--
}}<!--


Line 76: Line 78:
### Template Display
### Template Display


--><div class="argument-container" style="background-color: {{#var:color}}; border: 2px solid {{#var:borderColor}}">
--><div class="argument-container" style="background-color: {{#var:bgColor}}; border: 2px solid {{#var:borderColor}}">
<div class="argument-header" style="background-color: {{#var:headerBgColor}}">
<div class="argument-header" style="background-color: {{#var:headerBgColor}}">
<div class="argument-header-attribute">{{Attribute icon|{{{attribute|}}}|size=44px}}<br/>{{{attribute|}}}</div>
<div class="argument-header-attribute">{{Attribute icon|{{{attribute|}}}|size=44px}}<br/>{{{attribute|}}}</div>
Line 85: Line 87:
</div>
</div>
{{#if:{{{skill1Name|}}} | <nowiki/>
{{#if:{{{skill1Name|}}} | <nowiki/>
<div class="argument-content" style="border: 1px solid {{#var:borderColor}}">
<div class="argument-content" style="border-top: 1px solid {{#var:borderColor}}">
{{Skill display
{{Skill display
|icon={{{skill1Icon|}}}
|icon={{{skill1Icon|}}}
Line 95: Line 97:
|name={{{skill2Name|}}}
|name={{{skill2Name|}}}
|description={{{skill2Description|}}}
|description={{{skill2Description|}}}
| <nowiki/>
}}
}}
}}<!--
}}<!--
Line 102: Line 105:
|description={{{skill3Description|}}}
|description={{{skill3Description|}}}
}}
}}
| <nowiki/>
}}<!--
}}<!--
-->{{#if:{{{skill4Name|}}} | {{Skill display
-->{{#if:{{{skill4Name|}}} | {{Skill display
Line 108: Line 112:
|description={{{skill4Description|}}}
|description={{{skill4Description|}}}
}}
}}
| <nowiki/>
}}<!--
}}<!--
-->{{#if:{{{skill5Name|}}} | {{Skill display
-->{{#if:{{{skill5Name|}}} | {{Skill display
Line 114: Line 119:
|description={{{skill5Description|}}}
|description={{{skill5Description|}}}
}}
}}
| <nowiki/>
}}
}}
</div>
</div>
}}</div>
}}</div></includeonly>
</includeonly>

Latest revision as of 03:49, 26 August 2021

==Description==

For displaying debate stage enemy details. To be used in conjunction with Template:Debate wave

Usage[edit source]

{{Debate wave
|arguments=
{{Debate argument
|quote=
|attribute=
|hp=
|atk=
|def=
<!-- Optional, do not include if there are no skills -->
|skill1Icon=
|skill1Name=
|skill1Description=
...
|skill5Icon=
|skill5Name=
|skill5Description=
}}

}}

Example[edit source]

{{Debate wave
|arguments=
{{Debate argument
|quote=Testing the argument template
|attribute=Logic
|hp=123
|atk=456
|def=789
|skill1Icon=Layer by Layer
|skill1Name=Layer by Layer
|skill1Description=Lorem ipsum skill description
}}

{{Debate argument
|quote=Testing the argument template
|attribute=Null
|hp=987
|atk=654
|def=321
}}

}}

Wave 1[edit source]

Logic card type icon
Logic
"Testing the argument template"
HP: 123
ATK: 456
DEF: 789

Layer by Layer icon.png
Layer by Layer
Lorem ipsum skill description

No type card icon
Null
"Testing the argument template"
HP: 987
ATK: 654
DEF: 321

This template defines the table "StageArgument". View table.