Difference between revisions of "Template:Sclass/core"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
blackwiki>DePiep
(rm check for blue/red links pairs, too expensive)
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|{{trim|1={{{1}}}}} class {{{2}}} {{#if:{{{5|}}}|({{{5}}})}}}}|def=
 
|yes={{Yesno|1={{#invoke:Page|exists|{{trim|1={{{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. [[{{trim|1={{{1}}}}} class {{{2}}} {{#if:{{{5|}}}|({{{5}}})}}]] &rarr;  [[{{trim|1={{{1}}}}}-class {{{2}}} {{#if:{{{5|}}}|({{{5}}})}}]].}}}}<!--
 
-->}}}}<!-- eo red/blue check, ns0
 
  
 
--></includeonly><noinclude>{{documentation}}</noinclude>
 
--></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 16:39, 22 March 2018

Template documentation[create]