Hi!
This can be achieved with the $:/tags/ViewTemplate tag. Make a tiddler tagged with '$:/tags/ViewTemplate'. This will make the contents of this tiddler appear on any tiddler in your wiki. Then copy the following inside the tiddler:
<$list filter="[all[current]has:field[published] ]">
{{!!published}}
</$list>
The list acts like an if statement. If the current tiddler you are looking at has the field published, it will show the contents of the published field.
You can adjust the position of the contents with list-after and list-before fields.
Hope that helps!