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

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(→‎top: two significant figures is quite sufficient)
imported>Paine Ellsworth
m (update /doc)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE -->
{{high-use|40000}}
+
{{high-use| 41252 }}
  
 
This meta-template is just like {{tl|fix}} with three exceptions:
 
This meta-template is just like {{tl|fix}} with three exceptions:
Line 20: Line 20:
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Wikipedia metatemplates]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 +
 
}}</includeonly>
 
}}</includeonly>

Revision as of 17:20, 28 October 2018

This meta-template is just like {{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