Template:Infobox/Terrain: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(Attempt to change the infobox to the newer type.)
(Fixed trap header.)
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
|bodystyle = width: 220px; background:#ffffff; color:#000000; border-color: #0084B0;
|bodystyle = width: 220px; background:#ffffff; color:#000000; border-color: #0084B0;
|titlestyle = text-align:center;
|titlestyle = text-align:center;
|labelstyle = color:#000000; background:#0084B0; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space: nowrap;
|labelstyle = color:#000000; background-color:#666666 ; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space: nowrap;
|datastyle = background-color:#DCE3E5; width: 70%;
|datastyle = background-color:#eeeeee; width: 70%;
|headerstyle = color:#000000;
|headerstyle = color:#000000;


Line 11: Line 11:
|data1={{#if:{{{movement|}}}|{{{movement}}}|100}}
|data1={{#if:{{{movement|}}}|{{{movement}}}|100}}


|label2=Trap
|label2=Action
|data2={{#ifeq:{{{trap|tr_null}}}|tr_null|none|{{{trap}}}}}
|data2={{{action|}}}


|label3=Action
|label3=[[Terrain_types#Flags|Flags]]
|data3={{{action|}}}
|data3={{{flags|}}}
 
|header4={{#ifeq:{{{trap|tr_null}}}|tr_null||{{#if:{{{trap|}}}|Trap values|}} }}
 
|label4=Trap
|data4={{#ifeq:{{{trap|tr_null}}}|tr_null||{{{trap|}}}}}
 
|label5=Visibility
|data5={{{visibility|}}}
 
|label6=Avoidance
|data6={{{avoidance|}}}
 
|label7=Difficulty
|data7={{{difficulty|}}}


|label4=[[Terrain_types#Flags|Flags]]
|data4={{{flags|}}}


}}</includeonly>
}}</includeonly>

Latest revision as of 11:30, 3 September 2016