##### SUMMARY
The [`with_sequence` documentation](https://docs.ansible.com/ansible/latest/plugins/lookup/sequence.html) does not have enough examples to clarify.

The "Edit on GitHub" link is also broken, so it's hard to fix.

1. How to use non-inline variables:
How do you write this:
```yaml
- name: Example
  debug:
    msg: "{{ item }}"
  with_sequence: start=1 end=10
```

Like this?:
```yaml
- name: Example
  debug:
    msg: "{{ item }}"
  with_sequence:
    start: 1
    end: 10
```
(The second example doesn't actually work. What is the correct syntax without using one-liner equals statements?)

2. Show an example like this:
```yaml
- name: Example
  debug:
    msg: "{{ item }}"
  with_sequence: start=1 end="{{ number_of_things }}"
```
(It references a variable for the `end` parameter.)

##### ISSUE TYPE
- Documentation Report

##### COMPONENT NAME
sequence
if self.stride >= 0:
            adjust = 1
        else:
            adjust = -1
        numbers = xrange(self.start, self.end + adjust, self.stride)
        for i in numbers:
            try:
                formatted = self.format % i
                yield formatted
            except (ValueError, TypeError):
                raise AnsibleError(
                    "problem formatting %r with %r" % (i, self.format)
                )
    def run(self, terms, variables, **kwargs):