Difference between revisions of "User:T burnout/IFfunctionTEST"

From Hobowars Wiki
Jump to: navigation, search
m (test)
m (test)
Line 1: Line 1:
below pulls the template. there are 5 params:<br>
+
= expected results =
'''supercat:''' omitted (should not show up on article)<br>
+
'''subcat1:''' unfilled (should not show up on article)<br>
'''cat:''' filled "fakecat111" (should only show link in categories section at bottom)<br>
+
'''subcat2:''' filled "fakecat222" (should only show link in category section at bottom)<br>
'''subcat:''' unfilled (should not show up on article)<br>
+
'''subcat3:''' filled "wharggle" (should show up as a single word '''true''')<br>
'''subcat2:''' filled "fakecat333" (should only show link in categories section at bottom)<br>
+
'''subcat4:''' omitted (should show up as a single word '''false''')<br>
'''subcat3:''' omitted (should show up as a single word '''false''')<br>
+
= actual results =
'''subcat4:''' filled (should show up as a single word '''true''')<br>
+
{{User:T_burnout/infotest
 
+
|subcat1=
= template results below =
+
|subcat2= fakecat222
 
+
|subcat3= wharggle
{{User:T burnout/infotest
+
 
+
 
}}
 
}}
 +
= markup in above section =
 +
<nowiki>{{User:T_burnout/infotest</nowiki><br>
 +
<nowiki>|subcat1=</nowiki><br>
 +
<nowiki>|subcat2= fakecat222</nowiki><br>
 +
<nowiki>subcat3= wharggle</nowiki><br>
 +
<nowiki>}}</nowiki>
 +
= template used =
 +
[[User:T_burnout/infotest]]

Revision as of 06:35, 12 July 2014

expected results

subcat1: unfilled (should not show up on article)
subcat2: filled "fakecat222" (should only show link in category section at bottom)
subcat3: filled "wharggle" (should show up as a single word true)
subcat4: omitted (should show up as a single word false)

actual results

true false


markup in above section

{{User:T_burnout/infotest
|subcat1=
|subcat2= fakecat222
subcat3= wharggle
}}

template used

User:T_burnout/infotest