Hm, a code sample might better illustrate my question.
Here's an abbreviated bit of the template:
<?php require_once 'fooversion.inc.php'; ?>
<?php the_content(); ?>
<?php edit_post_link('Edit this entry.' . get_foo_version(), '<p>', '</p>'); ?>
and then the page appears (ignoring the sidebar):
Edit this entry 1.2.3
So I can make the version number appear in the post link. But I want the version number to appear inside the page content like this:
Edit this entry
In other words, I want the version number to appear within the page content and this is where I get stuck.
I am getting the feeling that the only way to get this version number into the page content is with a php plugin or at least something like the Enzymes plugin.