Template:Infobox/Terrain: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
(Attempt to change the infobox to the newer type.)
Line 1: Line 1:
<includeonly>!colspan="2"| {{igs|{{{glyph|.}}}|{{{color|c_brown}}}}} {{{name|{{PAGENAME}}}}}
<includeonly>{{Infobox
|- style="background-color:white"
|bodystyle = width: 220px; background:#ffffff; color:#000000; border-color: #0084B0;
!Movement Cost
|titlestyle = text-align:center;
| {{{movement|100}}}
|labelstyle = color:#000000; background:#0084B0; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space: nowrap;
|- style="background-color:white"
|datastyle = background-color:#DCE3E5; width: 70%;
!Trap
|headerstyle = color:#000000;
| {{#ifeq:{{{trap|tr_null}}}|tr_null|none|{{{trap}}}}}
 
|- style="background-color:white"
|title={{igs|{{{glyph|.}}}|{{{color|c_brown}}}}} {{{name|{{PAGENAME}}}}}
!Action
| {{{action|}}}
|label1=Movement
|- style="background-color:white"
|data1={{#if:{{{movement|}}}|{{{movement}}}|100}}
![[Terrain_types#Flags|Flags]]
 
| {{{flags|}}}</includeonly>
|label2=Trap
|data2={{#ifeq:{{{trap|tr_null}}}|tr_null|none|{{{trap}}}}}
 
|label3=Action
|data3={{{action|}}}
 
|label4=[[Terrain_types#Flags|Flags]]
|data4={{{flags|}}}
 
}}</includeonly>
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 10:59, 3 September 2016