Difference between revisions of "Talk:WikiDB/Repeat tag syntax"
From TestWiki
(Link to archive, don't redirect.) |
|||
Line 1: | Line 1: | ||
<small style="border: 1px solid #CCCCCC; padding: 0.2em; background-color: #F0F0F0;">See [[Talk:WikiDB/Repeat tag syntax/Archive]] for old development discussion.</small> | <small style="border: 1px solid #CCCCCC; padding: 0.2em; background-color: #F0F0F0;">See [[Talk:WikiDB/Repeat tag syntax/Archive]] for old development discussion.</small> | ||
+ | |||
+ | I have a template that uses <nowiki><repeat></nowiki> and works fine: <pre> | ||
+ | <repeat table="Locations" criteria="Code={{{1}}}">{{{Code}}} ({{{Nickname}}}) {{#if:{{{Address|}}}|[https://www.google.com/maps/search/{{urlencode:{{{Address}}}}}?hl=en&source=opensearch {{{Address}}}]|''No Address''}}</repeat> | ||
+ | </pre> | ||
+ | But when I try to add internal wiki links: <tt><nowiki><repeat table="Locations" criteria="Code={{{1}}}">[[Location/{{{Code}}}|{{{Code}}}]]</repeat></nowiki></tt>, it shows the brackets instead of making a link. Single brackets work for external links, but double brackets don't work for internal links. Suggestions? [[Special:Contributions/72.1.73.217|72.1.73.217]] 14:57, 29 December 2017 (GMT) |
Revision as of 14:59, 29 December 2017
See Talk:WikiDB/Repeat tag syntax/Archive for old development discussion.
I have a template that uses <repeat> and works fine:<repeat table="Locations" criteria="Code={{{1}}}">{{{Code}}} ({{{Nickname}}}) {{#if:{{{Address|}}}|[https://www.google.com/maps/search/{{urlencode:{{{Address}}}}}?hl=en&source=opensearch {{{Address}}}]|''No Address''}}</repeat>
But when I try to add internal wiki links: <repeat table="Locations" criteria="Code={{{1}}}">[[Location/{{{Code}}}|{{{Code}}}]]</repeat>, it shows the brackets instead of making a link. Single brackets work for external links, but double brackets don't work for internal links. Suggestions? 72.1.73.217 14:57, 29 December 2017 (GMT)