Template:Infobox test: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="wikitable floatright" style="border: 0px solid #fff; margin-left: 10px; border-top-left-radius: 50px;"
<includeonly><infobox accent-color-default="#0091e5">
! colspan="2" style="background:#363477; border: 0px solid #fff; border-top-left-radius: 50px; width:100px; color: #fff; font-size:10pt; background-color: #12153e;" | {{{title}}}
<title source="Name"><default>{{PAGENAME}}</default></title>
|-
<image source="Image"/>
| colspan="2" style="text-align:center; font-size:7pt; background-color: #474c8a;" | {{{image}}}<br />{{{caption}}}
<header>Unit information</header>
|-
<data source="Unit type"><label>Unit type</label></data>
| colspan="2" style="background:#12153e; width:90px; color: #fff; font-size:10pt; text-align:center;" | <small>'''Resource Information'''</small>
<data source="Unit Type"><label>Unit type</label></data>
|-
<data source="Intro"><label>Introduced in</label></data>
| style="font-size:9pt; background:#1c215e;" | '''Icon''' || style="font-size:9pt; background-color: #474c8a;" | {{{icon}}}
    <data source="Civilization"><label>Civilization</label></data>
|-
    <data source="Age/God"><label>Age/God</label></data>
| style="font-size:9pt; background:#1c215e;" | '''Cost''' || style="font-size:9pt; background-color: #474c8a;" | {{{cost}}}
    <data source="Age"><label>Age</label></data>
|-
    <data source="God"><label>God</label></data>
| colspan="2" style="background:#12153e; color: #fff; text-align:center;font-size:10pt" | <small>'''Extra Information'''</small>
    <data source="Gods"><label>Gods</label></data> 
|-
<data source="Train At"><label>Trained at</label></data>
| style="font-size:9pt; background:#1c215e; width:100px;" | '''Used in building?''' || style="font-size:9pt; background-color: #474c8a;" | {{{is_for_building}}}
<data source="Train Time">
|-
    <label>Training time</label>
| style="font-size:9pt; background:#1c215e;" | '''Renewable?''' || style="font-size:9pt; background-color: #474c8a;" | {{{is_renewable}}}
    <format>{{{Train Time}}} seconds</format>
|-
</data>
|}
<data source="Created"><label>Created through</label></data>
[[Category:Infobox page]]
<data source="Upgraded from"><label>Upgraded from</label></data>
<group>
    <header>Cost</header>
    <data source="Cost"><label>Cost</label></data>
    <data source="Wood"><label>[[File:WoodAOM.png]] <span style="color:#850">Wood</span></label></data>
    <data source="Food"><label>[[File:FoodAOM.png]] <span style="color:crimson">Food</span></label></data>
    <data source="Gold"><label>[[File:GoldAOM.png]] <span style="color:darkgoldenrod">Gold</span></label></data>
    <data source="Favor"><label>[[File:FavorAOM.png]] <span style="color:gray">Favor</span></label></data>
    <data source="Population"><label>[[File:PopulationAOM.png]] Population</label></data>
    </group>
<header>Statistics</header>
<data source="HP"><label>[[Hit points]]</label></data>
<data source="Speed">
    <label>Speed</label>
<format>{{{Speed}}} feet/second</format>
</data>
<data source="LOS">
<label>[[Line of Sight]]</label>
<format>{{{LOS}}} feet</format>
</data>
<data source="Garrison"><label>Garrison</label></data>
<data source="Range">
<label>[[File:RangeIcon.png]] Range</label>
<format>{{{Range}}} feet</format>
</data>
<data source="Other"/>
<group layout="horizontal">
<header>Attack</header>
<data source="HAttack">
<label>[[File:HackDamage.png]] Hack</label>
<format>{{{HAttack}}}</format>
</data>
<data source="PAttack">
<label>[[File:PierceDamage.png]] Pierce</label>
<format>{{{PAttack}}}</format>
</data>
<data source="CAttack">
<label>[[File:CrushDamage.png]] Crush</label>
<format>{{{CAttack}}}</format>
</data>
</group>
<group layout="horizontal">
<header>Armor</header>
<data source="HArmour">
<label>[[File:HackArmor.png]] Hack</label>
<format>{{{HArmour}}}%</format>
</data>
<data source="PArmour">
<label>[[File:PierceArmor.png]] Pierce</label>
<format>{{{PArmour}}}%</format>
</data>
<data source="CArmour">
<label>[[File:CrushArmor.png]] Crush</label>
<format>{{{CArmour}}}%</format>
</data>
</group>
 
{{clear}}
{{clear}}
<noinclude>{{Infobox/doc}}
<noinclude>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 23:08, 29 May 2021