Template:StripFormatting

From OpenMedia
Revision as of 22:22, 18 September 2013 by Andreas Plank (Talk | contribs) (Created page with "<noinclude> {{Multilingual switch |de= Löscht Formatierungen aus Text heraus, um ''Nur-Text'' zu bekommen, z.B. bei Linkformatierung oder dem Speichern von {{Abk.|SMW}}-Attri...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Convert a formatted text, including at present bold, italic and underline (other formats to be added as needed) into a link-usable text. Assumming the author indicates accents with underline and uses both wiki and HTML code for italics this template works as following:

''Genus sp<u>e</u>cies'' ssp. <i>subspecies</i> → Genus species ssp. subspecies

Technical Note:
following tags are removed: <i>, <u>, <sub>, <sup>, ' and <span style="font-variant:small-caps"> (s. Template:Smallcaps)