Template:Term: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
(force complete LC on link; why was it useful to LC just the first?)
en>SMcCandlish
(New |id= code to handle some error conditions (links, double quote marks); tested in userspace sandbox)
Line 1: Line 1:
<dt class="glossary {{{class|}}}" id="{{lc:{{{id|{{{term|{{{1}}}}}}}}}}}" style="{{#if:{{{multi|}}}|margin-top: -0.2em;|margin-top: 0.4em; {{{style|}}}}}">{{#if:{{{nondefining|}}}||<dfn class="glossary">}}{{{content|{{{2|{{{term|{{{1}}}}}}}}}}}}{{#if:{{{nondefining|}}}||</dfn>}}</dt><noinclude>
<dt class="glossary {{{class|}}}" id="{{#invoke:delink|delink|{{#invoke:String|replace|source={{lc:{{{id|{{{term|{{{1}}}}}}}}}}}|"|<!--blank to strip out double quote mark-->}}}}" style="{{#if:{{{multi|}}}|margin-top: -0.2em;|margin-top: 0.4em; {{{style|}}}}}">{{#if:{{{nondefining|}}}||<dfn class="glossary">}}{{{content|{{{2|{{{term|{{{1}}}}}}}}}}}}{{#if:{{{nondefining|}}}||</dfn>}}</dt><noinclude>


{{Documentation}}<!--Categories go in the /doc subpage; interwikis go to WikiData.-->
{{Documentation}}<!--Categories go in the /doc subpage; interwikis go to WikiData.-->


</noinclude>
</noinclude>
{{replace|{{{title|{{{link|Wikipedia:Cleanup}}}}}}
{{{1}}}|{{{2}}}|{{{3}}}|count={{{count|}}}}}

Revision as of 20:13, 16 October 2017

{{{1}}}


Template:Replace