Difference between revisions of "Issuepedia:Code/lib/links"
< Issuepedia:Code | lib
Jump to navigation
Jump to search
(ShowLinkData(): code is obsolete, but a lot of pages still use it, so let's make it a bit more... functional. [rimshot]) |
(fixed SMW, added visible comment) |
||
Line 1: | Line 1: | ||
===ShowLinkData()=== | ===ShowLinkData()=== | ||
+ | This is a functionalized version of the code in [[Issuepedia:Code/show/link]]. Don't use that anymore; use this. | ||
<func ShowLinkData> | <func ShowLinkData> | ||
Line 8: | Line 9: | ||
<let name=wtDate append>}}</let> | <let name=wtDate append>}}</let> | ||
<if flag=$data[Author]> | <if flag=$data[Author]> | ||
− | |||
<let name=wtAuth>[[</let> | <let name=wtAuth>[[</let> | ||
− | |||
<let name=wtAuth append copy=data[Author] /> | <let name=wtAuth append copy=data[Author] /> | ||
− | |||
<let name=wtAuth append>]] ([[</let> | <let name=wtAuth append>]] ([[</let> | ||
<let name=wtAuth append copy=data[Author] /> | <let name=wtAuth append copy=data[Author] /> | ||
Line 143: | Line 141: | ||
| align=right | '''Categories''': || <get name=wtCatgs /> | | align=right | '''Categories''': || <get name=wtCatgs /> | ||
|} | |} | ||
− | |||
</let> | </let> | ||
<echo> | <echo> | ||
+ | {{#set:page type=link}} | ||
+ | {{#set:format version=2.1}} | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
==Specs== | ==Specs== |
Revision as of 22:16, 2 August 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() <= ()