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

From blackwiki
Jump to navigation Jump to search
imported>Christian75
imported>DMacks
(border was removed from the styling)
Line 8: Line 8:
 
* It gives <kbd>special</kbd> priority over <kbd>text</kbd> rather than the other way around.
 
* It gives <kbd>special</kbd> priority over <kbd>text</kbd> rather than the other way around.
  
The spanned content is displayed <span class="cleanup-needed-content" style="border:1px solid #ffdcdc;background:#fff9f9;color:DarkSlateGray;">like this</span>.
+
The spanned content is displayed <span class="cleanup-needed-content" style="background:#fff9f9;color:DarkSlateGray;">like this</span>.
  
 
This is a separate template for now because this is an idea imported from the Italian Wikipedia ([[:it:template:cn|{{lang|la|{{abbr|q.v.|quod vide}}}}]]). Eventually, if this idea takes off, this mechanism could be folded into {{tl|fix}}.
 
This is a separate template for now because this is an idea imported from the Italian Wikipedia ([[:it:template:cn|{{lang|la|{{abbr|q.v.|quod vide}}}}]]). Eventually, if this idea takes off, this mechanism could be folded into {{tl|fix}}.

Revision as of 17:50, 4 January 2016

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