Template:Editor-Note: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AlexiusHoratius
m Protected "Template:Editor-Note": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
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
Line 2: Line 2:
{{documentation|content=
{{documentation|content=
==Usage==
==Usage==
*<tt><nowiki>{{Editor-Note}}</nowiki></tt> produces {{Editor-Note}}
*<kbd><nowiki>{{Editor-Note}}</nowiki></kbd> produces {{Editor-Note}}
*<tt><nowiki>{{Editor-Note|s}}</nowiki></tt> produces {{Editor-Note|s}}
*<kbd><nowiki>{{Editor-Note|s}}</nowiki></kbd> produces {{Editor-Note|s}}
*<tt><nowiki>{{Editor-Note|2=}}</nowiki></tt> will hide the : after note, {{Editor-Note|2=}}
*<kbd><nowiki>{{Editor-Note|2=}}</nowiki></kbd> will hide the : after note, {{Editor-Note|2=}}
*<tt><nowiki>{{-Note|s|&mdash;}}</nowiki></tt> will produce {{Editor-Note|s|–}}
*<kbd><nowiki>{{-Note|s|&mdash;}}</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 15:45, 5 August 2018

Editor note: