Just because I prefer transclusion to macros:
Create a template tiddler (say "tTwDoc") with the following content:
```
```
(I don't know enough about encodeuri and why it wasn't enough, requiring me to replace any occurence of %20 with %2520.)
In whatever other tiddler, enter the following:
```
{{Tables in WikiText||tTwDoc}}
```