Without the Snippets plugin (ie, straight on the template itself):
With the Snippets plugin (ie, included in a seperate template that gets pulled into all other templates):
And use this to include the editlink template:
{if member_group == "1"} <a href="/system/index.php?C=edit&M=edit_entry&weblog_id={weblog_id}&entry_id={entry_id}" title="Edit Entry">Edit Thisa> {/if}
With the Snippets plugin (ie, included in a seperate template that gets pulled into all other templates):
{if member_group == "1"} <a href="/system/index.php?C=edit&M=edit_entry&weblog_id=%editweblog%&entry_id=%editweblog2%" title="Edit Entry">Edit Thisa> {/if}
And use this to include the editlink template:
{exp:snippets template="static/editlink"} {editweblog}{weblog_id}{/editweblog} {editweblog2}{entry_id}{/editweblog2} {/exp:snippets}