Difference between revisions of "Template:Lib/data/pairs"
Jump to navigation
Jump to search
(NoShow flag for "Data" header too also) |
(revised DataBrief so it works now) |
||
Line 40: | Line 40: | ||
<func DataBrief PageName> | <func DataBrief PageName> | ||
− | < | + | <let name="out">'''</let> |
+ | <let name="out" append copy="Date" /> | ||
+ | <let name="out" append>''' /'''[[</let> | ||
+ | <let name="out" append copy="PageName" /> | ||
+ | <let name="out" append>|L]]'''/'''[[Talk:</let> | ||
+ | <let name="out" append copy="PageName" /> | ||
+ | <let name="out" append>|D]]'''/ </let> | ||
+ | <echo><get name="out" /></echo> | ||
<if flag="wpage> | <if flag="wpage> | ||
<echo>[[<get name="wpage" />|<get name="Title" />]]</echo> | <echo>[[<get name="wpage" />|<get name="Title" />]]</echo> | ||
</if><else> | </if><else> | ||
− | < | + | <let name="out">[</let> |
+ | <let name="out" append copy="URL" /> | ||
+ | <let name="out" append> </let> | ||
+ | <let name="out" append copy="Title" /> | ||
+ | <let name="out" append>]</let> | ||
+ | <echo><get name="out" /></echo> | ||
</else> | </else> | ||
− | <echo> <get name="Text" len=200 />''[[< | + | <echo> <get name="Text" len=200 /> </echo> |
+ | <let name="out">''[[</let> | ||
+ | <let name="out" append copy="PageName" /> | ||
+ | <let name="out" append>|more...]]''</let> | ||
+ | <echo><get name="out" /></echo> | ||
</func> | </func> | ||
</hide> | </hide> |