Difference between revisions of "Template:Lib/data/pairs"
Jump to navigation
Jump to search
m (removed dump) |
(adding func DataShow) |
||
Line 3: | Line 3: | ||
<let name="$PairName" copy="PairVal" /> | <let name="$PairName" copy="PairVal" /> | ||
<let name="PairList" append pre>\<get name="PairName" /></let> | <let name="PairList" append pre>\<get name="PairName" /></let> | ||
+ | </func> | ||
+ | |||
+ | <func DataShow> | ||
+ | <xploop list="$Topics" repl=$s$>[[category:$s$]]</xploop> | ||
+ | <xploop list="$PairList" repl="$s$"> | ||
+ | * '''$s$''': <get name="$s$.disp" /> | ||
+ | </xploop> | ||
+ | * '''Topic pages''':<xploop list="$Topics" repl=$s$> [[$s$]]</xploop> | ||
+ | * '''Topic categories''':<xploop list="$Topics"> [[:category:$s$|$s$]]</xploop> | ||
</func> | </func> |
Revision as of 20:44, 22 August 2008
> function datapair() <= ()
> function datashow() <= ()