Create **node--articles.html.twig** and place it in your theme's templates folder.
{{ content|without('field_name', 'field_name_other') }}
{% if content.field_name.0 is empty %}
<div class="something">{{ content.field_name_other }}</div>
{% else %}
<div class="something">{{ content.field_name }}</div>
{% endif %}
**Note:**
- `content.field_name.0` gets the [raw value][1]
- `content|without()` this is so your [cache tags bubble up to the page cache](https://www.previousnext.com.au/blog/ensuring-drupal-8-block-cache-tags-bubble-page)
[1]: https://drupal.stackexchange.com/questions/228388/how-to-get-the-raw-field-value-in-a-twig-template/228393