def METHOD_NAME(self, context):
    output = self.nodelist.METHOD_NAME(context)
    if isinstance(self.url, template.Variable):
        url = self.url.resolve(context)
    else:
        url = self.url
    if 'request' in context:
        request = context['request']
        url = request.build_absolute_uri(url)
    linkstyle = context.get(self.linkstyle_context_variable, '')
    return render_to_string(self.template_name, {
        'url': url,
        'label': output.strip(),
        'linkstyle': linkstyle
    }).strip()