Difference between revisions of "Template:asic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (clarifying proper formatting)
Line 13: Line 13:
 
--><!--{{#ifeq:{{{1|}}}|?|{{#if:{{NAMESPACE}}||}}}}--></includeonly><noinclude>
 
--><!--{{#ifeq:{{{1|}}}|?|{{#if:{{NAMESPACE}}||}}}}--></includeonly><noinclude>
 
Prints an actual {{asic}} indicator. Taken from {{w|Template:sic}}.
 
Prints an actual {{asic}} indicator. Taken from {{w|Template:sic}}.
The abbreviation "asic" for "Actual SIC", like "acn" for the "actual citation needed" template.
+
The abbreviation "asic" is for "Actual SIC", like {{template|acn}} is an abbreviated alias of the {{template|Actual citation needed}} template.<!-- Though, unlike that example, there is no equivalent to the {{template|Citation needed}} humorous version that requires a distinct serious version.-->
  
It can take two parameters that are word fragments to obfuscate the text from automated correction systems.
+
It can normally take two parameters that are word fragments to obfuscate the text from automated correction systems. <!-- Looks like it also needs to be explained how the "?" and "nolink=..." options work (as demonstrated per examples, though note that "nolink=y" can clearly be "nolink=n" or "nolink=anythingYouDarnWish", almost, and do the same thing), and "hide=...whatever..." (obvious enough from inspecting the code, clearly for marking only at the editing level, but a completely undocumented feature at this point and might be better also with a "reason=", unless intendd to be like "FooBaz{{asic|hide=Do *not* 'correct' this to FooBar, this is how Randall wrote it!}}"). Also, perhaps make it very clear that {{asic}} is entirely sufficient on its own. -->
  
If the template is to be embedded within italicized text (<nowiki>'' quote ''</nowiki>), the way to make it display properly with the brackets non-italicized and the sic italicized is to add a parameter that just has <nowiki>''</nowiki> in it, or add <nowiki>''</nowiki> to the last parameter if two are already given, and place <nowiki>''</nowiki> after the template call.
+
If the template is to be embedded within italicized text (<nowiki>'' quote ''</nowiki>), the way to make it display properly with the brackets non-italicized and the sic italicized is to add a parameter that just has <nowiki>''</nowiki> in it, or add <nowiki>''</nowiki> to the last parameter if two are already given, and place <nowiki>''</nowiki> after the template call. <!-- *That* sounds like a complex explanation I can see why (the inclusion of the pre-[sic] param(s), so that "<i>...italics FRAG-MENTS</i> [<i>Sic</i>]<i> more-itals</i> flips out-and-in/in-and-out accordingly) but it perhaps looks like far more trouble than it is worth, as currently suggested it be used. -->
 +
 
 +
<!-- But, expanding upon that 'unitalicising' need, had you considered something a bit more non-user-dependent? Try the following out, in 'open Preview':
 +
  '''''This is some <span style="font-style: normal">normal</span> text...'''''
 +
Notice, when you try it, that it 'de-italicises' an external section of bold+italicised text but doesn't unbold (unless you also add "font-weight: normal", I think), and also wouldn't de-underline/de-overline/de-strikethrough without "text-decoration: none", nor de-colour/de-funnyFont/etc without all *other* aspects being disabled...
 +
But, as you're primarily concerned with "''within a quote''" scenarios, maybe it'll be good enough to just "<span {back to some subset of 'normal' styling}>[''sic'']</span>" (not tested it, myself, but I suspect it *should* work as required, regardless of containing markup blocks) and (apart from tidying up now unnecessary 'explicit exterior de-italicisings') just let it sort itself out under ''most'' circumstances that you're going to have to work with... --->
  
 
==Examples==
 
==Examples==

Revision as of 21:15, 10 February 2025

Prints an actual [sic] indicator. Taken from Template:sic. The abbreviation "asic" is for "Actual SIC", like {{acn}} is an abbreviated alias of the {{Actual citation needed}} template.

It can normally take two parameters that are word fragments to obfuscate the text from automated correction systems.

If the template is to be embedded within italicized text ('' quote ''), the way to make it display properly with the brackets non-italicized and the sic italicized is to add a parameter that just has '' in it, or add '' to the last parameter if two are already given, and place '' after the template call.


Examples

  • ''Lorem ipsum dolor sit amet{{asic|''}}'', consectetur adipiscing elit''
produces
Lorem ipsum dolor sit amet [sic], consectetur adipiscing elit
  • ''Lorem ipsum dolor sit {{asic|am|et''}}'', consectetur adipiscing elit''
produces
Lorem ipsum dolor sit amet [sic], consectetur adipiscing elit
  • ''Lorem ipsum dolor sit {{asic|?|am|et''}}'', consectetur adipiscing elit''
produces
Lorem ipsum dolor sit amet [sic?], consectetur adipiscing elit
  • ''Lorem ipsum dolor sit {{asic|am|et''|nolink=y}}'', consectetur adipiscing elit''
produces
Lorem ipsum dolor sit amet [sic], consectetur adipiscing elit