HTYP:W3TPL/lib/places: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
colon not ok either; re-saving original to make sure something isn't broken elsewhere |
can use quotes around attribute? |
||
| Line 1: | Line 1: | ||
* function '''pagetown'''(country, state, town) | * function '''pagetown'''(country, state, town) | ||
<func pagetown country state town> | <func "pagetown" country state town> | ||
<let name=cs copy=country /> | <let name=cs copy=country /> | ||
<let name=cs append>/</let> | <let name=cs append>/</let> | ||
Revision as of 14:27, 25 July 2011
- function pagetown(country, state, town)
<func "pagetown" country state town>
<let name=cs copy=country /> <let name=cs append>/</let> <let name=cs copy=state append />
<let name=smw>{{#show:</let>
<let name=smw append copy=cs />
<let name=smw append>|?name}}</let>
<let name=statelong copy=smw />
<let name=out></let>
<let name=out append>{{#set:location=</let>
<let name=out append copy=cs />
<let name=out append>}}</let>
<let name=out append>[[name::</let> <let name=out append copy=town /> <let name=out append>]]</let> <let name=out append>[[category:</let> <let name=out append copy=cs /> <let name=out append>]]</let>
<let name=out append>
{{#set:page type=directory}} {{#set:thing type=town}}
</let> <get name=out />
</func>
