Template:Data/pair: Difference between revisions

From HypertWiki
trying call with #tag to see if it handles template params
m +catg: tests (so I can delete/cleanup later)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<hide>[[category:W3TPL]]
[[category:tests]]<hide>[[category:W3TPL]]
</hide>{{#tag:hide|<func DataPair PairName PairVal>
</hide>{{#tag:hide|<func DataPair PairName PairVal>
     <let namer="PairName" copy="PairVal" /><hide>SETTING [<get name="PairName" />] FROM [<get name="PairVal" />]</hide>
     <let namer="PairName" copy="PairVal" /><hide>SETTING [<get name="PairName" />] FROM [<get name="PairVal" />]</hide>
    <let name="PairList" append pre>\<get name="PairName" /></let>
</func>}}
</func>}}
<!-- invoke like this:
<!-- invoke like this:
Line 9: Line 10:
</call>
</call>
-->
-->
{{#tag:call | | DataPair="" |  PairName="{{{1}}}" |  PairVal="{{{2}}}" }}
{{#tag:call | | DataPair="" |  PairName="{{{1}}}" |  PairVal="{{{2}}}" }}<!--
<!--
<call DataPair PairName="AName" PairVal="A value" />
<call DataPair PairName="AName" PairVal="A value" />
<call DataPair PairName="AnotherName" PairVal="A diffrint value" />
<call DataPair PairName="AnotherName" PairVal="A diffrint value" />

Latest revision as of 12:34, 24 September 2008

<hide> </hide><hide><func DataPair PairName PairVal>

   <let namer="PairName" copy="PairVal" /><hide>SETTING [<get name="PairName" />] FROM [<get name="PairVal" />]</hide>
   <let name="PairList" append pre>\<get name="PairName" /></let>

</func></hide> <call DataPair="" PairName="{{{1}}}" PairVal="{{{2}}}"> </call>