Template:Fix-span: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported: Template for journal ) |
imported>GKFX m (Use Module:DecodeEncode rather than manual escaping.) |
||
Line 21: | Line 21: | ||
|<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | |<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | ||
|{{{pre-text}}}  | |{{{pre-text}}}  | ||
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{ | }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:decodeEncode|encode|s={{{title|{{{link|Wikipedia:Cleanup}}}}}} {{#if:{{{date|}}}|({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} | ||
| {{{post-text}}} | | {{{post-text}}} | ||
}}</i>]</sup> | }}</i>]</sup> |
Latest revision as of 22:40, 9 January 2023
This template is used on approximately 54,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This meta-template for inline cleanup/dispute template has the same purpose and parameters as {{fix}}. with three exceptions:
- It takes a content parameter containing wikitext to be placed within a
<span>...</span>
element before the superscripted notice. - It takes a span-class parameter specifying the HTML class name for the
<span>
element. - It gives special priority over text rather than the other way around.
The spanned content is displayed like this.
This is a separate template for now because this is an idea imported from the Italian Wikipedia (
). Eventually, if this idea takes off, this mechanism could be folded into {{fix}}.