Question: I created a content type which has some fields and i want this fields to only be displayed as block. I tried to renaming a block in my 'theme/template' as block--[machine-name].tpl.php but is of now use.

And

How to name a block which is generated from a view.

Answer: 
Go to your views page, click edit on the view you want to theme.

Open up the advanced options and click on `Theme: information`.

This should bring up the following popup that explains **exactly** what to name your template.

![enter image description here](https://i.stack.imgur.com/JrXR5.jpg)
To the second question "How to name a block which is generated from a view."

from Drupal 7 official documentation here: [Theming Blocks](https://www.drupal.org/docs/7/theming/theming-blocks)

`block--[module]--[delta].tpl.php`

so your views block tpl would be:

```
block--views--views-machine-name-display-name.tpl.php

```

Also same question asked here:
<https://drupal.stackexchange.com/questions/11468/create-template-file-for-views-block>