Template:Anchor: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
(Fix |=FOO bug where {{anchor|=FOO}} transcludes Template:FOO)
 
(→‎TemplateData: Use {{#invoke:Loops|forNumArgs}})
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:anchor|main}}<noinclude>
<onlyinclude>{{safesubst:<noinclude/>#invoke:Loops|forNumArgs<!--
-->| template = ²{safesubst:#if:$1¦<span class="anchor" id="²{safesubst:anchorencode:$1}²"></span>}²<!--
-->}}</onlyinclude>
{{Documentation}}
{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>

Revision as of 11:21, 22 February 2023