Difference between revisions of "Template:Fix-span/doc"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (update /doc)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{high-use| 41252 }}
 
{{high-use| 41252 }}
  
This meta-template is just like {{tl|fix}} with three exceptions:
+
This meta-template for inline cleanup/dispute template has the same purpose and parameters as {{tl|fix}}. with three exceptions:
 
* It takes a <kbd>content</kbd> parameter containing wikitext to be placed within a {{tag|span}} element before the superscripted notice.
 
* It takes a <kbd>content</kbd> parameter containing wikitext to be placed within a {{tag|span}} element before the superscripted notice.
 
* It takes a <kbd>span-class</kbd> parameter specifying the [[HTML]] class name for the [[Span element in HTML|{{tag|span|o}} element]].
 
* It takes a <kbd>span-class</kbd> parameter specifying the [[HTML]] class name for the [[Span element in HTML|{{tag|span|o}} element]].
Line 15: Line 15:
 
* [[Wikipedia:Cleanup process]]
 
* [[Wikipedia:Cleanup process]]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
+
<includeonly>{{Sandbox other|
 
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
 
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Inline cleanup templates]]
+
[[Category:Inline cleanup templates| ]]
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:48, 25 April 2020

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 (q.v.). Eventually, if this idea takes off, this mechanism could be folded into {{fix}}.

See also