Is_template how to add one more template [closed]

Here’s an example using the default WordPress is_page_template function:

<?php
if ( is_page_template( 'base-gallery-rail.php' ) ) {
    wp_enqueue_style('ztheme-gallery-style'); 
} else if ( is_page_template( 'other-template.php' ) ) {
    wp_enqueue_style('other-style'); 
} else { // the last else is only required if you want to have a default
    wp_enqueue_style('default'); 
}

You can add as many else if ( blah ){ //do stuff } as you need. If you get above four or five, consider using a switch statement.