Template:Editor-Note: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
m Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB
meta>DannyS712
fix nowiki code for an example, to both work and correspond to the displayed result
Line 5: Line 5:
*<kbd><nowiki>{{Editor-Note|s}}</nowiki></kbd> produces {{Editor-Note|s}}
*<kbd><nowiki>{{Editor-Note|s}}</nowiki></kbd> produces {{Editor-Note|s}}
*<kbd><nowiki>{{Editor-Note|2=}}</nowiki></kbd> will hide the : after note, {{Editor-Note|2=}}
*<kbd><nowiki>{{Editor-Note|2=}}</nowiki></kbd> will hide the : after note, {{Editor-Note|2=}}
*<kbd><nowiki>{{-Note|s|&mdash;}}</nowiki></kbd> will produce {{Editor-Note|s|–}}
*<kbd><nowiki>{{Editor-Note|s|}}</nowiki></kbd> will produce {{Editor-Note|s|–}}


Et cetera. Note, if you're using parameter 2 (the part that changes the colon) and ''not'' parameter 1 (to change note to notes, or whatnot), you need to include 2= before it, or it will count it as parameter 1.
Et cetera. Note, if you're using parameter 2 (the part that changes the colon) and ''not'' parameter 1 (to change note to notes, or whatnot), you need to include 2= before it, or it will count it as parameter 1.

Revision as of 08:41, 26 May 2019

Editor note: