Template:Data/pair: Difference between revisions

From HypertWiki
i can has working code now?
m +catg: tests (so I can delete/cleanup later)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[category:W3TPL]]<hide>
[[category:tests]]<hide>[[category:W3TPL]]
<func DataPair PairName PairVal>
</hide>{{#tag:hide|<func DataPair PairName PairVal>
     <let name="DummyName" namer="PairName" copy="PairVal" />
     <let namer="PairName" copy="PairVal" /><hide>SETTING [<get name="PairName" />] FROM [<get name="PairVal" />]</hide>
</func>
    <let name="PairList" append pre>\<get name="PairName" /></let>
</func>}}
<!-- invoke like this:
<!-- invoke like this:
<call DataPair>
<call DataPair>
Line 9: Line 10:
</call>
</call>
-->
-->
</hide>
{{#tag:call | | DataPair="" |  PairName="{{{1}}}" |  PairVal="{{{2}}}" }}<!--
<call DataPair PairName="AName" PairVal="A value" />
<call DataPair PairName="AnotherName" PairVal="A diffrint value" />
{{#tag:call | | DataPair="" |  PairName="YetAnotherName" |  PairVal="something completely different" }}
DUMP FROM #TAG: {{#tag:dump}}
-->

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>