Difference between revisions of "Template:Sclass/core"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
(rm all code for deprecaded Sclass/Sclass2 (now elsewhere); cleanup code; rm unwanted nbsp after class, use Preview warning; only categorise in mainspace.)
blackwiki>DePiep
Line 14: Line 14:
 
  -->{{#invoke:Preview warning|main|[[Template:{{{format|}}}|Template {{ucfirst:{{{format|}}}}}]], invalid format code: {{{3|}}}. Should be 1&ndash;5, or blank.}}{{main other|[[Category:WPSHIPS: sclass invalid option]]}}<!--
 
  -->{{#invoke:Preview warning|main|[[Template:{{{format|}}}|Template {{ucfirst:{{{format|}}}}}]], invalid format code: {{{3|}}}. Should be 1&ndash;5, or blank.}}{{main other|[[Category:WPSHIPS: sclass invalid option]]}}<!--
 
-->}}<!-- eo switch
 
-->}}<!-- eo switch
 +
 +
Check if unhypened link is blue:
 +
  -->{{main other|{{Yesno|1={{#invoke:Page|exists|{{{1}}} class {{{2}}} {{#if:{{{5|}}}|({{{5|}}})}}}}|def=
 +
|yes={{Yesno|1={{#invoke:Page|exists|{{{1}}}-class {{{2}}} {{#if:{{{5|}}}|({{{5|}}})}}}}|def=
 +
|yes=|no=[[Category:WPSHIPS: sclass hyphenated red link|*]]{{#invoke:Preview warning|main|The non-hyphened link name is blue. Suggest moving that to the hyphened version, to turn it into blue here. [[{{{1|}}} class {{{2|}}}{{#if:{{{5|}}}|&#x20;({{{5|}}})}}]] &rarr;  [[{{{1|}}}-class {{{2|}}}{{#if:{{{5|}}}|&#x20;({{{5|}}})}}]].}}}}<!--
 +
-->}}}}<!-- eo red/blue check, ns0
  
 
--></includeonly><noinclude>{{documentation}}</noinclude>
 
--></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 04:21, 22 March 2018

Template documentation[create]