Difference between revisions of "Template:Class doclink"

odd #if syntax because of the irritating phab:T14974 bug. {{#if:{{{anchor|}}}|#{{{anchor}}}}} won't work here
>Ciencia Al Poder
(fixing anchor, and adding {{{text}}} to override default text)
>Ciencia Al Poder
(odd #if syntax because of the irritating phab:T14974 bug. {{#if:{{{anchor|}}}|#{{{anchor}}}}} won't work here)
Line 1: Line 1:
<span class=plainlinks>[https://doc.wikimedia.org/mediawiki-core/master/php/html/{{{type|class}}}{{urlencode:{{{class|{{{1}}}}}}|PATH}}.html#{{{anchor|}}} {{{text|{{{2|{{{class|{{{1}}}}}}}}}}}}]</span><noinclude>
<span class=plainlinks>[https://doc.wikimedia.org/mediawiki-core/master/php/html/{{{type|class}}}{{urlencode:{{{class|{{{1}}}}}}|PATH}}.{{#if:{{{anchor|}}}|html#{{{anchor}}}|html}} {{{text|{{{2|{{{class|{{{1}}}}}}}}}}}}]</span><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>
Anonymous user