Anything Output Template
[[#startoutput]] (:table border=0 width=100%:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:if [ ( equal "{{$$location}$:perpage}" "4" || equal "{{$$location}$:perpage}" "6" || equal "{{$$location}$:perpage}" "8" || equal "{{$$location}$:perpage}" "10" || equal "{{$$location}$:perpage}" "12" ) || ( equal "{$$type}" "potion" && ( equal "{{$$location}$:potionperpage}" "4" || equal "{{$$location}$:potionperpage}" "6" || equal "{{$$location}$:potionperpage}" "8" || equal "{{$$location}$:potionperpage}" "10" || equal "{{$$location}$:potionperpage}" "12" ) ) ]:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:ifend:) (:if false:) Disable the next two lines to disable printing more than 4 per page. (:ifend:) (:if [ ( equal "{{$$location}$:perpage}" "6" || equal "{{$$location}$:perpage}" "8" || equal "{{$$location}$:perpage}" "10" || equal "{{$$location}$:perpage}" "12" ) || ( equal "{$$type}" "potion" && ( equal "{{$$location}$:potionperpage}" "6" || equal "{{$$location}$:potionperpage}" "8" || equal "{{$$location}$:potionperpage}" "10" || equal "{{$$location}$:potionperpage}" "12" ) ) ]:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:ifend:) (:if [ ( equal "{{$$location}$:perpage}" "8" || equal "{{$$location}$:perpage}" "10" || equal "{{$$location}$:perpage}" "12" ) || ( equal "{$$type}" "potion" && ( equal "{{$$location}$:potionperpage}" "8" || equal "{{$$location}$:potionperpage}" "10" || equal "{{$$location}$:potionperpage}" "12" ) ) ]:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:ifend:) (:if [ ( equal "{{$$location}$:perpage}" "10" || equal "{{$$location}$:perpage}" "12" ) || ( equal "{$$type}" "potion" && ( equal "{{$$location}$:potionperpage}" "10" || equal "{{$$location}$:potionperpage}" "12" ) ) ]:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:ifend:) (:if [ ( equal "{{$$location}$:perpage}" "12" ) || ( equal "{$$type}" "potion" && equal "{{$$location}$:potionperpage}" "12" ) ]:) (:include templates.logisticsoutput#startrow#endrow type="{$$type}" location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:ifend:) (:tableend:) [[#endoutput]]
Output row template
[[#startrow]] (:cellnr:) (:include templates.print{$$type}#start{$$type}#end{$$type} location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) (:cell cellpadding=10px:) (:cell:) (:include templates.print{$$type}#start{$$type}#end{$$type} location="{$$location}" incantation="{$$incantation}" incant="{$$incant}" bound="{$$bound}":) [[#endrow]]
Categories: Templates | Printing Templates | Form Templates
Page last modified on August 25, 2022, at 04:33 PM
Powered by
PmWiki