Wikia

WoWWiki

Template:TextSan

101,546pages on
this wiki

Forum page

Forums: Index WoWWiki technical Template:TextSan

I leave it to whoever will oversee the implementation to come up with a workable name (HTML2txt?). However, I very strongly feel that this snippet of wiki code needs to be made its own template:

{{#replace:

        {{#replace:
        {{#replace:
            {{{param}}}
            |"
            |" (replace HTML double quote marks with text)
        }}
        |' (replace single quote marks)
        |'
    }}
    |& (replace ampersands)
    |&

}}

Cut-and-paste form included as a comment.

While I doubt {{Tooltip}} is the only template using this particular code fragment, the fact that that one template repeats it 4 or 5 times makes it a valid candidate for being a template. The only issue might be the template unwinding issue we had with recipe pages.

It would be much better, of course, to have a built-in facility/function of mediawiki do this task. --Eirik Ratcatcher (talk) 19:55, July 30, 2010 (UTC)

Around Wikia's network

Random Wiki