Legality of Cannabis by U.S. Jurisdiction

Content deleted Content added
SineBot (talk | contribs)
Lemondoge (talk | contribs)
Line 8: Line 8:
: {{tl|mono}}: {{tquote|This template ''should'' be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.<br><br>It ''should not'' be used to indicate source code, nor for variables or variable input (use {{tl|code}} or {{tag|code}} for code and {{tl|var}} or {{tag|var}} for variables). For keyboard or samples, use {{tag|kbd}} or {{tag|samp}} respectively.}}
: {{tl|mono}}: {{tquote|This template ''should'' be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.<br><br>It ''should not'' be used to indicate source code, nor for variables or variable input (use {{tl|code}} or {{tag|code}} for code and {{tl|var}} or {{tag|var}} for variables). For keyboard or samples, use {{tag|kbd}} or {{tag|samp}} respectively.}}
: 19:55, 22 August 2020 (UTC) <!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Paradoctor|Paradoctor]] ([[User talk:Paradoctor#top|talk]] • [[Special:Contributions/Paradoctor|contribs]]) </small> <!--Autosigned by SineBot-->
: 19:55, 22 August 2020 (UTC) <!-- Template:Unsigned --><small class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Paradoctor|Paradoctor]] ([[User talk:Paradoctor#top|talk]] • [[Special:Contributions/Paradoctor|contribs]]) </small> <!--Autosigned by SineBot-->
:: But also note: {{tquote|It is a replacement for {{tag|tt}}, which is an obsolete element under HTML5.}} Both this template and Mono exist for approximately the same purpose. Someone reading an article usually won't be able to tell the difference between codett and mono, so if you don't use the <code>lang=</code> parameter in codett, it'd be reasonable for it to share the same use case of mono (stylistic). But in this case, if someone is editing the article, the title "codett" doesn't make sense, because it isn't referring to code. Thus, Mono should be prioritized over Codett if they are in the same territory.
:: In the case of where it codett actually being used for code: '''{{tl|mono}}''': {{tquote|It ''should not'' be used to indicate source code, nor for variables or variable input (use {{tl|code}} or {{tag|code}} for code...}}; If we still aren't using the <code>lang=</code> parameter, then we're in the wrong territory &mdash; Mono isn't meant for use for code, so this should also apply to language-less codett. Thus, Code should be prioritized over Codett if they're in the same territory and the lang= parameter is not set.
:: This leaves with one last spot for codett - when the <code>lang=</code> parameter ''is'' set. The one niche use case I was talking about was '''formatting.''' You can use it to create pseudo-<code><nowiki><syntaxhighlight></nowiki></code> tags and still format the text inside it, which is how it is used in [[OCaml]] and [[SAMPL]]. ''But,'' the name still doesn't really make sense; here, the "tt" in "codett" doesn't fit, because we're not using it to imitate {{tag|tt}} anymore. So, if this isn't going to be merged with {{tl|Mono}}, then perhaps it should be moved somewhere where the name makes a bit more sense contextually. {&#123;'''[[User:Lemondoge|Lemondoge]]'''&#124;[[User talk:Lemondoge|Talk]]&#124;[[Special:Contributions/Lemondoge|Contributions]]&#125;} 21:50, 22 August 2020 (UTC)

Revision as of 21:51, 22 August 2020

Template isn't necessary, suggesting redirect to Template:Mono

I don't think this template is very necessary. {{mono}} already does most of what this template does, and the one advantage it has over {{mono}}, being able to set a lang parameter for syntax highlighting, is incredibly niche; there are very few cases where you would want to use {{codett}} for syntax highlighting instead of {{code}} or <syntaxhighlight inline="1">.

Because of this, I suggest that this be redirected to Template:Mono. As of right now, all that would need to be done to support the change would be to find an alternative for it in OCaml (if <syntaxhighlight> can't be used instead), and decide on whether to sacrifice the formatting on SAMPL or to find an alternative to keep the formatting. {{Lemondoge|Talk|Contributions}} 17:39, 22 August 2020 (UTC)[reply]

Absolutely not.
{{mono}}: This template should be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.

It should not be used to indicate source code, nor for variables or variable input (use {{code}} or <code>...</code> for code and {{var}} or <var>...</var> for variables). For keyboard or samples, use <kbd>...</kbd> or <samp>...</samp> respectively.
19:55, 22 August 2020 (UTC) — Preceding unsigned comment added by Paradoctor (talk • contribs)
But also note: It is a replacement for <tt>...</tt>, which is an obsolete element under HTML5. Both this template and Mono exist for approximately the same purpose. Someone reading an article usually won't be able to tell the difference between codett and mono, so if you don't use the lang= parameter in codett, it'd be reasonable for it to share the same use case of mono (stylistic). But in this case, if someone is editing the article, the title "codett" doesn't make sense, because it isn't referring to code. Thus, Mono should be prioritized over Codett if they are in the same territory.
In the case of where it codett actually being used for code: {{mono}}: It should not be used to indicate source code, nor for variables or variable input (use {{code}} or <code>...</code> for code...; If we still aren't using the lang= parameter, then we're in the wrong territory — Mono isn't meant for use for code, so this should also apply to language-less codett. Thus, Code should be prioritized over Codett if they're in the same territory and the lang= parameter is not set.
This leaves with one last spot for codett - when the lang= parameter is set. The one niche use case I was talking about was formatting. You can use it to create pseudo-<syntaxhighlight> tags and still format the text inside it, which is how it is used in OCaml and SAMPL. But, the name still doesn't really make sense; here, the "tt" in "codett" doesn't fit, because we're not using it to imitate <tt>...</tt> anymore. So, if this isn't going to be merged with {{Mono}}, then perhaps it should be moved somewhere where the name makes a bit more sense contextually. {{Lemondoge|Talk|Contributions}} 21:50, 22 August 2020 (UTC)[reply]