Difference between revisions of "Issuepedia:Code/lib/links"

From Issuepedia
Jump to navigation Jump to search
(fixed SMW, added visible comment)
(→‎ShowRecent(): updated w3tpl syntax)
Line 204: Line 204:
 
     <let name=pg_title val="@row.page_title" />
 
     <let name=pg_title val="@row.page_title" />
 
     <let name=idx inc />
 
     <let name=idx inc />
     <if not flag=noLoad>
+
     <if not flag=$noLoad>
 
       <load page=$pg_title nocat />
 
       <load page=$pg_title nocat />
 
     </if>
 
     </if>
     <if flag=data[Title]>
+
     <if flag=$data[Title]>
 
       <call GetBrief />
 
       <call GetBrief />
 
     </if><else>
 
     </if><else>
Line 221: Line 221:
 
   </for>
 
   </for>
 
</func>
 
</func>
 +
 
===ShowTopic_old(iTopic,iMax)===
 
===ShowTopic_old(iTopic,iMax)===
 
<func ShowTopic_old iTopic iMax>
 
<func ShowTopic_old iTopic iMax>

Revision as of 01:51, 13 September 2012

ShowLinkData()

This is a functionalized version of the code in Issuepedia:Code/show/link. Don't use that anymore; use this.
> function showlinkdata() <= ()

GetBrief()


> function getbrief() <= ()

ShowRecent()


> function showrecent() <= ()

ShowTopic_old(iTopic,iMax)


> function showtopic_old() <= ()

ShowTopic_old(topic,max)

This can be deleted if there are no problems with new ShowTopic().
> function showtopic_old() <= ()

ShowTopic(topic,max)


> function showtopic() <= ()