|
|
(15 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <hide> | + | <includeonly><call ShowLinkData /></includeonly> |
− | <let name=wtDate>[[</let> | |
− | <let name=wtDate append copy=data[Date] />
| |
− | <let name=wtDate append>]] ([[:category:</let>
| |
− | <let name=wtDate append copy=data[Date] />
| |
− | <let name=wtDate append>|category]])</let>
| |
− | | |
− | <if flag=data[Author]>
| |
− | <let name=wtAuth>[[</let>
| |
− | <let name=wtAuth append copy=data[Author] />
| |
− | <let name=wtAuth append>]] ([[</let>
| |
− | <let name=wtAuth append copy=data[Author] />
| |
− | <let name=wtAuth append>/writings|writings]]<sub>[[:category:</let>
| |
− | <let name=wtAuth append copy=data[Author] />
| |
− | <let name=wtAuth append>/writings|cat]]</sub>)</let>
| |
− | </if>
| |
− | | |
− | <if flag=data[Source]>
| |
− | <let name=wtSource>[[</let>
| |
− | <let name=wtSource append copy=data[Source] />
| |
− | <let name=wtSource append>]] ([[</let>
| |
− | <let name=wtSource append copy=data[Source] />
| |
− | <let name=wtSource append>/articles|articles]]<sub>[[:category:</let>
| |
− | <let name=wtSource append copy=data[Source] />
| |
− | <let name=wtSource append>/articles|cat]]</sub>)</let>
| |
− | </if>
| |
− | | |
− | <if flag=docat>
| |
− | <let name=wtDate append>[[category:</let>
| |
− | <let name=wtDate append copy=data[Date] />
| |
− | <let name=wtDate append>]]</let>
| |
− | | |
− | <let name=wtAuth append>[[category:</let>
| |
− | <let name=wtAuth append copy=data[Author] />
| |
− | <let name=wtAuth append>/writings]]</let>
| |
− | | |
− | <let name=wtSource append>[[category:</let>
| |
− | <let name=wtSource append copy=data[Source] />
| |
− | <let name=wtSource append>/articles]]</let>
| |
− | </if>
| |
− | | |
− | <let name=wtTitle>__NOEDITSECTION__
| |
− | ==</let>
| |
− | <let name=wtTitle append copy=data[Title] />
| |
− | <let name=wtTitle append>==</let>
| |
− | <if flag=data[TextShort]>
| |
− | <let name=wtTitle append>
| |
− | ===longer text===</let>
| |
− | <let name=wtTextShort>
| |
− | ===shorter text===
| |
− | </let>
| |
− | <let name=wtTextShort append copy=data[TextShort] />
| |
− | </if><else>
| |
− | <let name=wtTextShort />
| |
− | </else>
| |
− | | |
− | <if flag=data[wpage]>
| |
− | <let name=wtLink>[[</let>
| |
− | <let name=wtLink append copy=data[wpage] />
| |
− | <let name=wtLink append>]]</let>
| |
− | </if><else>
| |
− | <let name=wtLink append copy=data[URL] />
| |
− | </else>
| |
− | <let name=topics copy=data[Topics] />
| |
− | <xploop list=$topics var=topic>
| |
− | <let name=wtTopics append> [[</let>
| |
− | <let name=wtTopics append copy=topic />
| |
− | <let name=wtTopics append>]]</let>
| |
− | | |
− | <let name=wtCatgs append> [[:category:</let>
| |
− | <let name=wtCatgs append copy=topic />
| |
− | <let name=wtCatgs append>|</let>
| |
− | <let name=wtCatgs append copy=topic />
| |
− | <let name=wtCatgs append>]]</let>
| |
− | | |
− | <if flag=docat>
| |
− | <let name=wtCatgs append> [[category:</let>
| |
− | <let name=wtCatgs append copy=topic />
| |
− | <let name=wtCatgs append>]]</let>
| |
− | </if>
| |
− | </xploop>
| |
− | | |
− | | |
− | <if flag=data[TitlePlain]>
| |
− | <let name=TitleSort copy=data[TitlePlain] />
| |
− | </if><else>
| |
− | <let name=TitleSort copy=data[Title] />
| |
− | </else>
| |
− | <if flag=docat>
| |
− | <let name=cattag>[[category:data/links|</let>
| |
− | <let name=cattag append copy=TitleSort />
| |
− | <let name=cattag append>]]</let>
| |
− | </if>
| |
− | | |
− | <let name=display>
| |
− | {|
| |
− | |-
| |
− | | align=right | '''Date''': || <get name=wtDate />
| |
− | |-
| |
− | | align=right | '''Link''': || <get name=wtLink />
| |
− | </let>
| |
− | | |
− | <if flag=wtAuth>
| |
− | <let name=display append>
| |
− | |-
| |
− | | align=right | '''Author''': || <get name=wtAuth /></let>
| |
− | </if>
| |
− | <if flag=wtSource>
| |
− | <let name=display append>
| |
− | |-
| |
− | | align=right | '''Source''': || <get name=wtSource /></let>
| |
− | </if>
| |
− | <let name=display append>
| |
− | |-
| |
− | | align=right | '''Topics''': || <get name=wtTopics />
| |
− | |-
| |
− | | align=right | '''Categories''': || <get name=wtCatgs />
| |
− | |}
| |
− | </let>
| |
− | </hide>__NOEDITSECTION__
| |
− | ==Specs==
| |
− | <get name=display />
| |
− | <get name=wtTitle />
| |
− | <get name=data index=Text /><get name=wtTextShort /><get name=cattag /><hide>
| |
− | <let name=wtDate null />
| |
− | <let name=wtAuth null />
| |
− | <let name=wtSource null />
| |
− | <let name=wtTopics null />
| |
− | <let name=wtCatgs null />
| |
− | </hide> | |