Difference between revisions of "Template:asic"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(copied this template from wikipedia)
 
m
 
(6 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
Display options for [sic] linked, unlinked(default) or hidden.
 
Display options for [sic] linked, unlinked(default) or hidden.
  
โˆ’
-->{{#if:{{{hide|}}}||&#32;&#91;''{{#if:{{{nolink|}}}|sic|{{w|sic}}}}{{#ifeq:{{{1|}}}|?|?}}''&#93;}}<!--
+
-->{{#if:{{{hide|}}}||<span style="font-style:normal">&#32;&#91;<i>{{#if:{{{nolink|}}}|sic|{{w|sic}}}}{{#ifeq:{{{1|}}}|?|?}}</i>&#93;</span>}}<!--
  
 
Categorisation options. Currently disabled - see [[Help talk:CS1 errors/Archive 1#%7B%7Bsic%7C?%7Cnolink=y%7D%7D]]
 
Categorisation options. Currently disabled - see [[Help talk:CS1 errors/Archive 1#%7B%7Bsic%7C?%7Cnolink=y%7D%7D]]
  
 
--><!--{{#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 is a {{sic}} template used for indicating usage of xkcd all capitalized in the comics, which is not the preferred formatting by Randall-->
 +
 +
 +
==Syntax==
 +
<code><nowiki>{{asic}}</nowiki></code><br/>
 +
<code><nowiki>{{{asic|fragment1|fragment2}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|?}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|?|fragment1|fragment2}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|nolink=y}}</nowiki></code><br/>
 +
<code><nowiki>{{asic|hide=y}}</nowiki></code><br/>
 +
<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==
 +
*<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 {{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
 +
:''Lorem ipsum dolor sit {{asic|?|am|et}}, consectetur adipiscing elit''
 +
*<nowiki>''Lorem ipsum dolor sit {{asic|am|et|nolink=y}}, consectetur adipiscing elit''</nowiki>
 +
::produces
 +
:''Lorem ipsum dolor sit {{asic|am|et|nolink=y}}, consectetur adipiscing elit''
 +
*<nowiki>''Lorem ipsum dolor sit {{asic|hide=y|am|et}}, consectetur adipiscing elit''</nowiki>
 +
::produces
 +
:''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