Difference between revisions of "HTYP:W3TPL/lib/places"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(can use quotes around attribute?)
(decided "is in" makes more sense than "location"; not sure what "location" is good for.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* function '''pagetown'''(country, state, town)
 
* function '''pagetown'''(country, state, town)
<func "pagetown" country state town>
+
<func name="page.town" country state town>
 
   <let name=cs copy=country />
 
   <let name=cs copy=country />
 
   <let name=cs append>/</let>
 
   <let name=cs append>/</let>
Line 16: Line 16:
 
   <let name=out append>}}</let>
 
   <let name=out append>}}</let>
  
   <let name=out append>{{#set:location=</let>
+
   <let name=out append>{{#set:is in=</let>
 
   <let name=out append copy=cs />
 
   <let name=out append copy=cs />
 
   <let name=out append>}}</let>
 
   <let name=out append>}}</let>

Latest revision as of 14:39, 25 July 2011

  • function pagetown(country, state, town)


> function page.town() <= ()