Difference between revisions of "Template:asic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(this should make it work in italicised text blocks)
m
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
  
 
--><!--{{#ifeq:{{{1|}}}|?|{{#if:{{NAMESPACE}}||}}}}--></includeonly><noinclude>
 
--><!--{{#ifeq:{{{1|}}}|?|{{#if:{{NAMESPACE}}||}}}}--></includeonly><noinclude>
 +
{{distinguish|Template:sic}}
 +
 
Prints an actual {{asic}} indicator. Taken from {{w|Template:sic}}.
 
Prints an actual {{asic}} indicator. Taken from {{w|Template:sic}}.
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.-->
+
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. The is a {{sic}} template used for indicating usage of xkcd all capitalized in the comics, which is not the preferred formatting by Randall-->
  
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. -->
 
  
The first parameter can be set to a "?" to append a "?" within the
+
==Syntax==
 
+
<code><nowiki>{{asic}}</nowiki></code><br/>
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. -->
+
<code><nowiki>{{{asic|fragment1|fragment2}}</nowiki></code><br/>
 
+
<code><nowiki>{{asic|?}}</nowiki></code><br/>
<!-- But, expanding upon that 'unitalicising' need, had you considered something a bit more non-user-dependent? Try the following out, in 'open Preview':
+
<code><nowiki>{{asic|?|fragment1|fragment2}}</nowiki></code><br/>
  '''''This is some <span style="font-style: normal">normal</span> text...'''''
+
<code><nowiki>{{asic|nolink=y}}</nowiki></code><br/>
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...
+
<code><nowiki>{{asic|hide=y}}</nowiki></code><br/>
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... --->
+
<code><nowiki>{{asic|hide=y|fragment1|fragment2}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|fragment1|fragment2|nolink=y}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|?|nolink=y}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|?|fragment1|fragment2|nolink=y}}</nowiki></code><br/>
 +
<!-- some of these could be removed, but I don't want to assume that everyone can draw a conclusion that these formats can be mixed and matched. I will leave the call to someone else -->
 +
*It can normally take two parameters that are word fragments to obfuscate the text from automated correction systems. However, these parameters are not necessary, as they simply print back out the fragments combined, displaying the equivalent to the template called with no parameters after the combined word.
 +
*The first parameter can be set to a "?" to append a "?" within the brackets, to mark that it can not be easily determined whether the error was copied directly from the source or was added during transcription. If used with the obfuscation feature, the "?" must come first and the word fragments are simply shifted over by a parameter.<!-- using this would also have removed the category addition, but i removed that part -->
 +
*a named parameter <code>nolink</code> can be specified to remove the hyperlink to {{w|sic|sic article on wikipedia}}.
 +
*a named parameter <code>hide</code> can be specified to disable the display on the displayed page, but still benefit from the obfuscation of the error.<!-- and a also category that I did not create that was used on wikipedia (Category:Articles containing possible transcription errors). it would have gone in the namespace if block --> If using this option, the <code>|?</code> option and the <code>nolink=y</code> option have no effect as they only effect the display, which would be hidden.
 +
*a named parameter can be added that can be called anything not above, usually <code>expected</code>, that will not effect how it is displayed and can be used as a note to future editors to indicate what the expected word would have been.
  
 
==Examples==
 
==Examples==
*<nowiki>''Lorem ipsum dolor sit amet{{asic|''}}'', consectetur adipiscing elit''</nowiki>
 
::produces
 
:''Lorem ipsum dolor sit amet{{asic|''}}'', consectetur adipiscing elit''
 
 
*<nowiki>''Lorem ipsum dolor sit amet{{asic}}, consectetur adipiscing elit''</nowiki>
 
*<nowiki>''Lorem ipsum dolor sit amet{{asic}}, consectetur adipiscing elit''</nowiki>
 
::produces
 
::produces
 
:''Lorem ipsum dolor sit amet{{asic}}, consectetur adipiscing elit''
 
:''Lorem ipsum dolor sit amet{{asic}}, consectetur adipiscing elit''
*<nowiki>''Lorem ipsum dolor sit {{asic|am|et''}}'', consectetur adipiscing elit''</nowiki>
+
*<nowiki>''Lorem ipsum dolor sit {{asic|am|et}}, consectetur adipiscing elit''</nowiki>
 +
::produces
 +
:''Lorem ipsum dolor sit {{asic|am|et}}, consectetur adipiscing elit''
 +
*<nowiki>''Lorem ipsum dolor sit {{asic|?|am|et}}, consectetur adipiscing elit''</nowiki>
 
::produces
 
::produces
:''Lorem ipsum dolor sit {{asic|am|et''}}'', consectetur adipiscing elit''
+
:''Lorem ipsum dolor sit {{asic|?|am|et}}, consectetur adipiscing elit''
*<nowiki>''Lorem ipsum dolor sit {{asic|?|am|et''}}'', consectetur adipiscing elit''</nowiki>
+
*<nowiki>''Lorem ipsum dolor sit {{asic|am|et|nolink=y}}, consectetur adipiscing elit''</nowiki>
 
::produces
 
::produces
:''Lorem ipsum dolor sit {{asic|?|am|et''}}'', consectetur adipiscing elit''
+
:''Lorem ipsum dolor sit {{asic|am|et|nolink=y}}, consectetur adipiscing elit''
*<nowiki>''Lorem ipsum dolor sit {{asic|am|et''|nolink=y}}'', consectetur adipiscing elit''</nowiki>
+
*<nowiki>''Lorem ipsum dolor sit {{asic|hide=y|am|et}}, consectetur adipiscing elit''</nowiki>
 
::produces
 
::produces
:''Lorem ipsum dolor sit {{asic|am|et''|nolink=y}}'', consectetur adipiscing elit''
+
:''Lorem ipsum dolor sit {{asic|hide=y|am|et}}, consectetur adipiscing elit''
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:07, 11 February 2025

Not to be confused with Template:sic.

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.


Syntax[edit]

{{asic}}
{{{asic|fragment1|fragment2}}
{{asic|?}}
{{asic|?|fragment1|fragment2}}
{{asic|nolink=y}}
{{asic|hide=y}}
{{asic|hide=y|fragment1|fragment2}}
{{asic|fragment1|fragment2|nolink=y}}
{{asic|?|nolink=y}}
{{asic|?|fragment1|fragment2|nolink=y}}

  • It can normally take two parameters that are word fragments to obfuscate the text from automated correction systems. However, these parameters are not necessary, as they simply print back out the fragments combined, displaying the equivalent to the template called with no parameters after the combined word.
  • The first parameter can be set to a "?" to append a "?" within the brackets, to mark that it can not be easily determined whether the error was copied directly from the source or was added during transcription. If used with the obfuscation feature, the "?" must come first and the word fragments are simply shifted over by a parameter.
  • a named parameter nolink can be specified to remove the hyperlink to sic article on wikipedia.
  • a named parameter hide can be specified to disable the display on the displayed page, but still benefit from the obfuscation of the error. If using this option, the |? option and the nolink=y option have no effect as they only effect the display, which would be hidden.
  • a named parameter can be added that can be called anything not above, usually expected, that will not effect how it is displayed and can be used as a note to future editors to indicate what the expected word would have been.

Examples[edit]

  • ''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
  • ''Lorem ipsum dolor sit {{asic|hide=y|am|et}}, consectetur adipiscing elit''
produces
Lorem ipsum dolor sit amet, consectetur adipiscing elit