Difference between revisions of "Template:Lib/data/pairs"

From Issuepedia
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>
     <echo>'''<get name="Date" />''' /'''[[<get name="PageName" />|L]]'''/'''[[Talk:<get name="PageName" />|D]]'''/ </echo>
+
     <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>
         <echo>[<get name="URL" /> <get name="Title" />]</echo>
+
         <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 />''[[<get name="PageName" />|more...]]''</echo>
+
     <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>

Revision as of 11:08, 25 August 2008